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.001401/0.001401, allocations: 81.09 kB / 20.67 MB, free: 3.824 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.001359/0.001359, allocations: 177 kB / 24.08 MB, free: 432 kB / 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 1.026/1.026, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.07035/0.07035, allocations: 18.15 MB / 279.2 MB, free: 11.16 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 1.653e-06/1.653e-06, allocations: 0 / 357.8 MB, free: 7.512 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.984e-05/2.149e-05, allocations: 2.312 kB / 357.8 MB, free: 7.508 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim): time 0.005759/0.00578, allocations: 4.323 MB / 362.1 MB, free: 3.16 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002908/0.008688, allocations: 1.282 MB / 363.4 MB, free: 1.871 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004241/0.009112, allocations: 27.75 kB / 363.4 MB, free: 1.844 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000387/0.009499, allocations: 174.5 kB / 363.6 MB, free: 1.672 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008687/0.01037, allocations: 476.8 kB / 364 MB, free: 1.203 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008815/0.01125, allocations: 323.4 kB / 364.4 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002456/0.01371, allocations: 2.247 MB / 366.6 MB, free: 14.64 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001785/0.01549, allocations: 1.212 MB / 367.8 MB, free: 13.38 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001651/0.01714, allocations: 0.846 MB / 368.7 MB, free: 12.54 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00152/0.01866, allocations: 0.9315 MB / 369.6 MB, free: 11.6 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004264/0.01909, allocations: 228 kB / 369.8 MB, free: 11.38 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003698/0.01946, allocations: 235.9 kB / 370.1 MB, free: 11.15 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005968/0.02005, allocations: 0.7211 MB / 370.8 MB, free: 10.43 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008512/0.02091, allocations: 0.6979 MB / 371.5 MB, free: 9.727 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001545/0.02245, allocations: 1.515 MB / 373 MB, free: 8.207 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.02245, allocations: 3.938 kB / 373 MB, free: 8.203 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.02245, allocations: 0 / 373 MB, free: 8.203 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.484e-05/0.02247, allocations: 0 / 373 MB, free: 8.203 MB / 298.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.003248/0.02572, allocations: 1.918 MB / 374.9 MB, free: 6.242 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.02576, allocations: 8.922 kB / 374.9 MB, free: 6.234 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003895/0.02615, allocations: 252 kB / 375.2 MB, free: 5.988 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001031/0.02718, allocations: 0.7128 MB / 375.9 MB, free: 5.242 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001176/0.0273, allocations: 116.6 kB / 376 MB, free: 5.121 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002291/0.02753, allocations: 144.2 kB / 376.1 MB, free: 4.98 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001414/0.02894, allocations: 0.7565 MB / 376.9 MB, free: 4.188 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.682e-05/0.02897, allocations: 192 / 376.9 MB, free: 4.188 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001308/0.0291, allocations: 48.12 kB / 376.9 MB, free: 4.141 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.778e-05/0.02913, allocations: 32 kB / 377 MB, free: 4.109 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009729/0.0301, allocations: 409.7 kB / 377.4 MB, free: 3.691 MB / 298.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.006585/0.03668, allocations: 3.563 MB / 380.9 MB, free: 64 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002932/0.03962, allocations: 0.995 MB / 381.9 MB, free: 15.05 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005006/0.04012, allocations: 230.5 kB / 382.2 MB, free: 14.82 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.498e-05/0.04018, allocations: 21 kB / 382.2 MB, free: 14.8 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.594e-05/0.04022, allocations: 46.33 kB / 382.2 MB, free: 14.75 MB / 314.7 MB Notification: Performance of pre-optimization done (n=105): time 3.056e-06/0.04022, allocations: 0 / 382.2 MB, free: 14.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=106): time 0.005446/0.04567, allocations: 2.26 MB / 384.5 MB, free: 12.4 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.04571, allocations: 60.41 kB / 384.5 MB, free: 12.33 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006628/0.04637, allocations: 0.6084 MB / 385.1 MB, free: 11.7 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.286e-05/0.04645, allocations: 49.7 kB / 385.2 MB, free: 11.65 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003888/0.04684, allocations: 0.5735 MB / 385.8 MB, free: 11.07 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004104/0.04725, allocations: 468.1 kB / 386.2 MB, free: 10.61 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004629/0.04771, allocations: 253.1 kB / 386.5 MB, free: 10.35 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002984/0.04801, allocations: 0.6131 MB / 387.1 MB, free: 9.727 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005829/0.04859, allocations: 274.1 kB / 387.4 MB, free: 9.453 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007088/0.0493, allocations: 0.5053 MB / 387.9 MB, free: 8.848 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001726/0.05103, allocations: 0.9679 MB / 388.8 MB, free: 7.777 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.05104, allocations: 7.984 kB / 388.8 MB, free: 7.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.002461/0.0535, allocations: 1.226 MB / 390.1 MB, free: 6.473 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.05352, allocations: 8 kB / 390.1 MB, free: 6.465 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/0.05353, allocations: 8 kB / 390.1 MB, free: 6.457 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00191/0.05544, allocations: 0.5495 MB / 390.6 MB, free: 5.844 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001428/0.05687, allocations: 375.6 kB / 391 MB, free: 5.477 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1917/0.2486, allocations: 26.34 MB / 417.3 MB, free: 51.92 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007995/0.2494, allocations: 43.56 kB / 417.4 MB, free: 51.92 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.517e-05/0.2494, allocations: 41.58 kB / 417.4 MB, free: 51.92 MB / 330.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.0004351/0.2499, allocations: 244.8 kB / 417.6 MB, free: 51.76 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000166/0.25, allocations: 125.6 kB / 417.8 MB, free: 51.76 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001394/0.2514, allocations: 1.058 MB / 418.8 MB, free: 51.52 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.2514, allocations: 11.19 kB / 418.8 MB, free: 51.52 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.2514, allocations: 4.344 kB / 418.8 MB, free: 51.52 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.168e-06/0.2514, allocations: 5.531 kB / 418.9 MB, free: 51.52 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002709/0.2542, allocations: 2.131 MB / 421 MB, free: 50.9 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.2542, allocations: 3.406 kB / 421 MB, free: 50.9 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009819/0.2551, allocations: 314.3 kB / 421.3 MB, free: 50.9 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001063/0.2562, allocations: 0.5067 MB / 421.8 MB, free: 50.73 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001244/0.2563, allocations: 62.66 kB / 421.9 MB, free: 50.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005417/0.2617, allocations: 25.82 MB / 447.7 MB, free: 25.26 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.2617, allocations: 6.875 kB / 447.7 MB, free: 25.26 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001749/0.2635, allocations: 1.5 MB / 449.2 MB, free: 24.63 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001367/0.2636, allocations: 101.1 kB / 449.3 MB, free: 24.62 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/0.2637, allocations: 58.12 kB / 449.3 MB, free: 24.59 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003157/0.2641, allocations: 25.5 kB / 449.4 MB, free: 24.57 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001994/0.2643, allocations: 101.8 kB / 449.5 MB, free: 24.55 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.185e-05/0.2643, allocations: 28.06 kB / 449.5 MB, free: 24.55 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002473/0.2646, allocations: 376.3 kB / 449.9 MB, free: 24.4 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.2646, allocations: 0 / 449.9 MB, free: 24.4 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001133/0.2657, allocations: 447.1 kB / 450.3 MB, free: 24.36 MB / 330.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.0002225/0.2659, allocations: 189.8 kB / 450.5 MB, free: 24.23 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001699/0.2676, allocations: 3.244 MB / 453.7 MB, free: 21.52 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.2676, allocations: 8.062 kB / 453.7 MB, free: 21.52 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000987/0.2686, allocations: 2.858 MB / 456.6 MB, free: 18.86 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007496/0.2694, allocations: 298.9 kB / 456.9 MB, free: 18.75 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004717/0.2741, allocations: 4.025 MB / 460.9 MB, free: 16.34 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002805/0.2744, allocations: 342 kB / 461.2 MB, free: 16.22 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.00048/0.2748, allocations: 131.9 kB / 461.4 MB, free: 16.18 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005451/0.2754, allocations: 349.5 kB / 461.7 MB, free: 16.1 MB / 330.7 MB Notification: Performance of SimCode: time 1.724e-06/0.2754, allocations: 0 / 461.7 MB, free: 16.1 MB / 330.7 MB Notification: Performance of Templates: time 0.03148/0.3069, allocations: 26.84 MB / 488.5 MB, free: 6.062 MB / 346.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: 4.024310218170285]