Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 91.56 kB / 20.45 MB, free: 4.117 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 169 kB / 23.82 MB, free: 0.75 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.978/0.978, allocations: 177.1 MB / 204.2 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.06405/0.06405, allocations: 18.14 MB / 278.9 MB, free: 11.33 MB / 266.7 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim") translateModel(AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 357.3 MB, free: 8.859 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.725e-05/2.943e-05, allocations: 2.312 kB / 357.3 MB, free: 8.855 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim): time 0.005832/0.005861, allocations: 4.382 MB / 361.7 MB, free: 4.449 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002268/0.008129, allocations: 1.286 MB / 363 MB, free: 3.156 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002822/0.008412, allocations: 27.75 kB / 363 MB, free: 3.129 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000352/0.008764, allocations: 174.6 kB / 363.2 MB, free: 2.957 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007626/0.009526, allocations: 472.8 kB / 363.6 MB, free: 2.492 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007824/0.01031, allocations: 319.4 kB / 364 MB, free: 2.18 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002109/0.01242, allocations: 2.239 MB / 366.2 MB, free: 15.94 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001446/0.01386, allocations: 1.216 MB / 367.4 MB, free: 14.68 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001079/0.01494, allocations: 0.8537 MB / 368.3 MB, free: 13.82 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001279/0.01622, allocations: 0.9277 MB / 369.2 MB, free: 12.89 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003424/0.01656, allocations: 228 kB / 369.4 MB, free: 12.67 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003385/0.0169, allocations: 232 kB / 369.6 MB, free: 12.45 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005895/0.01749, allocations: 0.7289 MB / 370.4 MB, free: 11.71 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007766/0.01827, allocations: 0.6862 MB / 371.1 MB, free: 11.03 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001351/0.01962, allocations: 1.519 MB / 372.6 MB, free: 9.504 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.01962, allocations: 0 / 372.6 MB, free: 9.504 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.01962, allocations: 0 / 372.6 MB, free: 9.504 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.577e-05/0.01968, allocations: 7.984 kB / 372.6 MB, free: 9.496 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 302 * Number of variables: 302 Notification: Performance of Generate backend data structure: time 0.002815/0.0225, allocations: 2.07 MB / 374.7 MB, free: 7.383 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.02253, allocations: 8.922 kB / 374.7 MB, free: 7.375 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003136/0.02284, allocations: 260 kB / 374.9 MB, free: 7.121 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008145/0.02366, allocations: 0.7636 MB / 375.7 MB, free: 6.324 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.93e-05/0.02375, allocations: 116.6 kB / 375.8 MB, free: 6.203 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001576/0.0239, allocations: 132.3 kB / 375.9 MB, free: 6.074 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001214/0.02512, allocations: 0.8697 MB / 376.8 MB, free: 5.168 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.555e-05/0.02514, allocations: 4.141 kB / 376.8 MB, free: 5.164 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-05/0.02523, allocations: 52.12 kB / 376.9 MB, free: 5.113 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/0.02525, allocations: 28 kB / 376.9 MB, free: 5.086 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008755/0.02612, allocations: 0.5018 MB / 377.4 MB, free: 4.574 MB / 346.7 MB Notification: The following initial equation is redundant and consistent due to simplifications in RemoveSimpleEquations and therefore removed from the initialization problem: der(delivery.fluidStream.w) = 0.0 -> 0.0 = 0.0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005868/0.03199, allocations: 3.731 MB / 381.1 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002892/0.03488, allocations: 1.141 MB / 382.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000566/0.03545, allocations: 270.5 kB / 382.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.133e-05/0.0355, allocations: 21 kB / 382.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/0.03554, allocations: 50.39 kB / 382.6 MB, free: 15.28 MB / 362.7 MB Notification: Performance of pre-optimization done (n=105): time 2.895e-06/0.03554, allocations: 0 / 382.6 MB, free: 15.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=106): time 0.00561/0.04115, allocations: 2.605 MB / 385.2 MB, free: 12.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/0.04118, allocations: 64.41 kB / 385.3 MB, free: 12.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007995/0.04198, allocations: 0.6205 MB / 385.9 MB, free: 11.87 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.26e-05/0.04206, allocations: 41.7 kB / 385.9 MB, free: 11.82 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003228/0.04238, allocations: 0.5697 MB / 386.5 MB, free: 11.24 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003319/0.04271, allocations: 468.2 kB / 386.9 MB, free: 10.78 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003697/0.04308, allocations: 249.2 kB / 387.2 MB, free: 10.53 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002314/0.04331, allocations: 0.5977 MB / 387.8 MB, free: 9.918 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006594/0.04397, allocations: 334.2 kB / 388.1 MB, free: 9.586 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007491/0.04472, allocations: 0.5484 MB / 388.7 MB, free: 8.941 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002377/0.0471, allocations: 1.124 MB / 389.8 MB, free: 7.715 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.845e-06/0.04711, allocations: 0 / 389.8 MB, free: 7.715 MB / 362.7 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.002512/0.04962, allocations: 1.351 MB / 391.1 MB, free: 6.293 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.04964, allocations: 8 kB / 391.1 MB, free: 6.285 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/0.04966, allocations: 4 kB / 391.1 MB, free: 6.281 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001674/0.05133, allocations: 0.5535 MB / 391.7 MB, free: 5.664 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/0.05258, allocations: 411.5 kB / 392.1 MB, free: 5.262 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01362/0.0662, allocations: 26.68 MB / 418.8 MB, free: 8.676 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000726/0.06693, allocations: 75.78 kB / 418.9 MB, free: 8.602 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/0.06703, allocations: 51.98 kB / 418.9 MB, free: 8.551 MB / 394.7 MB Warning: Assuming fixed start value for the following 3 variables: CH.Ec:VARIABLE(flow=false fixed = true ) type: Real CH.Tfo:VARIABLE(min = 0.0 start = CH.Tstart unit = \"K\" fixed = true nominal = 300.0 ) \"outlet fluid temp\" type: Real CH.xpi:VARIABLE(start = 0.0 fixed = true protected = true ) type: Real Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.pipeline.fluidStream.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 1 (Hon.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 15 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004671/0.0675, allocations: 246.9 kB / 419.1 MB, free: 8.301 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002106/0.06771, allocations: 127.4 kB / 419.3 MB, free: 8.176 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001998/0.06971, allocations: 1.138 MB / 420.4 MB, free: 6.965 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/0.06972, allocations: 12 kB / 420.4 MB, free: 6.953 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.06972, allocations: 4 kB / 420.4 MB, free: 6.949 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.06973, allocations: 3.984 kB / 420.4 MB, free: 6.945 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003965/0.0737, allocations: 2.409 MB / 422.8 MB, free: 4.383 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.0737, allocations: 4 kB / 422.8 MB, free: 4.379 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001393/0.0751, allocations: 347.6 kB / 423.2 MB, free: 4.039 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001672/0.07677, allocations: 0.5107 MB / 423.7 MB, free: 3.465 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001431/0.07691, allocations: 63.97 kB / 423.8 MB, free: 3.402 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1526/0.2295, allocations: 26.11 MB / 449.9 MB, free: 106.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.2296, allocations: 5.188 kB / 449.9 MB, free: 106.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002581/0.2321, allocations: 1.599 MB / 451.5 MB, free: 106.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001832/0.2323, allocations: 110.5 kB / 451.6 MB, free: 106.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001515/0.2325, allocations: 57.98 kB / 451.6 MB, free: 106.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000498/0.233, allocations: 51.09 kB / 451.7 MB, free: 106.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002484/0.2332, allocations: 110.1 kB / 451.8 MB, free: 106.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.661e-05/0.2333, allocations: 39.19 kB / 451.8 MB, free: 106.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000336/0.2336, allocations: 412.4 kB / 452.2 MB, free: 106 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2336, allocations: 0 / 452.2 MB, free: 106 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001243/0.2349, allocations: 443.8 kB / 452.7 MB, free: 106 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 43 (CH.Tfo,CH.Ec,CH.xpi,pipeline.fluidStream.T[1],pipeline.fluidStream.T[2],pipeline.fluidStream.T[3],pipeline.fluidStream.T[4],pipeline.fluidStream.T[5],pipeline.wall.wall.T[1,1],pipeline.wall.wall.T[1,2],pipeline.wall.wall.T[1,3],pipeline.wall.wall.T[2,1],pipeline.wall.wall.T[2,2],pipeline.wall.wall.T[2,3],pipeline.wall.wall.T[3,1],pipeline.wall.wall.T[3,2],pipeline.wall.wall.T[3,3],pipeline.wall.wall.T[4,1],pipeline.wall.wall.T[4,2],pipeline.wall.wall.T[4,3],pipeline.wall.wall.T[5,1],pipeline.wall.wall.T[5,2],pipeline.wall.wall.T[5,3],delivery.fluidStream.T[1],delivery.fluidStream.T[2],delivery.fluidStream.T[3],delivery.fluidStream.T[4],delivery.fluidStream.T[5],delivery.wall.wall.T[1,1],delivery.wall.wall.T[1,2],delivery.wall.wall.T[1,3],delivery.wall.wall.T[2,1],delivery.wall.wall.T[2,2],delivery.wall.wall.T[2,3],delivery.wall.wall.T[3,1],delivery.wall.wall.T[3,2],delivery.wall.wall.T[3,3],delivery.wall.wall.T[4,1],delivery.wall.wall.T[4,2],delivery.wall.wall.T[4,3],delivery.wall.wall.T[5,1],delivery.wall.wall.T[5,2],delivery.wall.wall.T[5,3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 15 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001963/0.2351, allocations: 184 kB / 452.8 MB, free: 105.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00208/0.2371, allocations: 3.332 MB / 456.2 MB, free: 103.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.2371, allocations: 0 / 456.2 MB, free: 103.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001233/0.2384, allocations: 2.9 MB / 459.1 MB, free: 100.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009087/0.2393, allocations: 289.9 kB / 459.4 MB, free: 100.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005373/0.2447, allocations: 4.167 MB / 463.5 MB, free: 98.83 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/0.2449, allocations: 334 kB / 463.9 MB, free: 98.73 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006382/0.2456, allocations: 294 kB / 464.1 MB, free: 98.68 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002942/0.2459, allocations: 83.61 kB / 464.2 MB, free: 98.68 MB / 410.7 MB Notification: Performance of SimCode: time 6.31e-07/0.2459, allocations: 0 / 464.2 MB, free: 98.68 MB / 410.7 MB Notification: Performance of Templates: time 0.02902/0.2749, allocations: 25.84 MB / 490.1 MB, free: 94.53 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim.sim & ./AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9474639357067645]