Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_002.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001509/0.001509, allocations: 200.9 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.638/1.638, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] 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.101/0.101, allocations: 22.7 MB / 328.8 MB, free: 2.48 MB / 254.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AES.Coursework.ThermSys_component_models.Controlled_heater_case_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_002") translateModel(AES.Coursework.ThermSys_component_models.Controlled_heater_case_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_002") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002695/0.002695, allocations: 75.89 kB / 462.8 MB, free: 14.79 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1586, allocations: 58.02 MB / 0.5087 GB, free: 4.656 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_heater_case_002): time 0.0058/0.1644, allocations: 3.363 MB / 0.5119 GB, free: 1.266 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002874/0.1673, allocations: 0.9353 MB / 0.5129 GB, free: 332 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003985/0.1677, allocations: 7.938 kB / 0.5129 GB, free: 324 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000413/0.1681, allocations: 107.1 kB / 0.513 GB, free: 216 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.3102/0.4783, allocations: 261.1 kB / 0.5132 GB, free: 12.63 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007683/0.479, allocations: 194.8 kB / 0.5134 GB, free: 12.63 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001532/0.4806, allocations: 1.234 MB / 0.5146 GB, free: 12.63 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008497/0.4814, allocations: 0.6544 MB / 0.5152 GB, free: 12.58 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005723/0.482, allocations: 482 kB / 0.5157 GB, free: 12.54 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000742/0.4827, allocations: 0.5862 MB / 0.5163 GB, free: 12.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000154/0.4829, allocations: 134.7 kB / 0.5164 GB, free: 12.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001919/0.4831, allocations: 132.6 kB / 0.5165 GB, free: 12.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003637/0.4834, allocations: 401.1 kB / 0.5169 GB, free: 12.45 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004917/0.4839, allocations: 0.5297 MB / 0.5174 GB, free: 12.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001659/0.4856, allocations: 1.466 MB / 0.5189 GB, free: 11.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.4856, allocations: 0.6562 kB / 0.5189 GB, free: 11.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4856, allocations: 3.938 kB / 0.5189 GB, free: 11.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.064e-05/0.4856, allocations: 2.844 kB / 0.5189 GB, free: 11.77 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 182 * Number of variables: 182 Notification: Performance of Generate backend data structure: time 0.003634/0.4893, allocations: 1.303 MB / 0.5201 GB, free: 11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/0.4893, allocations: 10.47 kB / 0.5202 GB, free: 11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002756/0.4896, allocations: 96.42 kB / 0.5202 GB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001067/0.4907, allocations: 0.5652 MB / 0.5208 GB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.874e-05/0.4907, allocations: 84.78 kB / 0.5209 GB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001728/0.4909, allocations: 84.84 kB / 0.521 GB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001832/0.4927, allocations: 0.9267 MB / 0.5219 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.445e-05/0.4928, allocations: 0.7969 kB / 0.5219 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.715e-05/0.4929, allocations: 30.75 kB / 0.5219 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.087e-05/0.4929, allocations: 19.97 kB / 0.5219 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001404/0.4943, allocations: 0.8056 MB / 0.5227 GB, free: 9.773 MB / 382.1 MB Notification: The following initial equation is redundant and consistent due to simplifications in RemoveSimpleEquations and therefore removed from the initialization problem: der(pipeline.fluidStream.w) = 0.0 -> 0.0 = 0.0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006201/0.5005, allocations: 3.994 MB / 0.5266 GB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002838/0.5033, allocations: 1.016 MB / 0.5276 GB, free: 6.926 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006835/0.504, allocations: 407.1 kB / 0.528 GB, free: 6.746 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.468e-05/0.5041, allocations: 11.25 kB / 0.528 GB, free: 6.746 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.64e-05/0.5041, allocations: 41.12 kB / 0.528 GB, free: 6.703 MB / 382.1 MB Notification: Performance of pre-optimization done (n=58): time 2.805e-06/0.5041, allocations: 0 / 0.528 GB, free: 6.703 MB / 382.1 MB Notification: Performance of matching and sorting (n=58): time 0.004343/0.5085, allocations: 2.365 MB / 0.5303 GB, free: 5.117 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/0.5085, allocations: 62.11 kB / 0.5304 GB, free: 5.051 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006566/0.5091, allocations: 416.9 kB / 0.5308 GB, free: 4.844 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.111e-05/0.5092, allocations: 35.8 kB / 0.5308 GB, free: 4.805 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002096/0.5094, allocations: 329 kB / 0.5311 GB, free: 4.543 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002694/0.5097, allocations: 241.9 kB / 0.5314 GB, free: 4.359 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002457/0.5099, allocations: 129.8 kB / 0.5315 GB, free: 4.293 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.51, allocations: 369.5 kB / 0.5319 GB, free: 3.957 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006946/0.5107, allocations: 457.5 kB / 0.5323 GB, free: 3.773 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007558/0.5115, allocations: 0.4959 MB / 0.5328 GB, free: 3.535 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007346/0.5188, allocations: 2.36 MB / 0.5351 GB, free: 2.766 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.5188, allocations: 1.344 kB / 0.5351 GB, free: 2.766 MB / 382.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.00265/0.5215, allocations: 1.339 MB / 0.5364 GB, free: 2.16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/0.5215, allocations: 10.97 kB / 0.5364 GB, free: 2.156 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.5215, allocations: 1.219 kB / 0.5364 GB, free: 2.156 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001036/0.5226, allocations: 344.1 kB / 0.5367 GB, free: 2.004 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008783/0.5234, allocations: 184.1 kB / 0.5369 GB, free: 2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01255/0.536, allocations: 15.15 MB / 0.5517 GB, free: 2.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000932/0.5369, allocations: 71.61 kB / 0.5518 GB, free: 2.789 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.247e-05/0.537, allocations: 29.86 kB / 0.5518 GB, free: 2.777 MB / 398.1 MB Warning: Assuming fixed start value for the following 2 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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (79): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 10 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%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006102/0.5376, allocations: 280.6 kB / 0.5521 GB, free: 2.559 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/0.5377, allocations: 52.7 kB / 0.5521 GB, free: 2.531 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002383/0.5401, allocations: 1.139 MB / 0.5532 GB, free: 1.812 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.291e-05/0.5401, allocations: 13.92 kB / 0.5532 GB, free: 1.805 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.5401, allocations: 6.875 kB / 0.5532 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.5402, allocations: 1.531 kB / 0.5532 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00426/0.5444, allocations: 2.138 MB / 0.5553 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.5444, allocations: 1.188 kB / 0.5553 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00103/0.5455, allocations: 167.8 kB / 0.5555 GB, free: 312 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008865/0.5463, allocations: 309.3 kB / 0.5558 GB, free: 108 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.517e-05/0.5464, allocations: 34.61 kB / 0.5558 GB, free: 88 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0127/0.5591, allocations: 14.71 MB / 0.5702 GB, free: 1.137 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/0.5591, allocations: 6.531 kB / 0.5702 GB, free: 1.133 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003241/0.5624, allocations: 1.61 MB / 0.5718 GB, free: 144 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002582/0.5626, allocations: 140.1 kB / 0.5719 GB, free: 0 / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001618/0.5628, allocations: 35.7 kB / 0.5719 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004517/0.5632, allocations: 31.34 kB / 0.572 GB, free: 15.97 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001814/0.5634, allocations: 57.27 kB / 0.572 GB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.396e-05/0.5635, allocations: 20.53 kB / 0.572 GB, free: 15.93 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004023/0.5639, allocations: 293.9 kB / 0.5723 GB, free: 15.75 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5639, allocations: 1.344 kB / 0.5723 GB, free: 15.75 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001256/0.5651, allocations: 298.1 kB / 0.5726 GB, free: 15.69 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 22 (CH.Tfo,CH.Ec,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]) * 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 (49): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 10 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%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002668/0.5654, allocations: 151.9 kB / 0.5727 GB, free: 15.56 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002929/0.5683, allocations: 2.008 MB / 0.5747 GB, free: 13.95 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.064e-05/0.5683, allocations: 4.312 kB / 0.5747 GB, free: 13.95 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001992/0.5703, allocations: 1.543 MB / 0.5762 GB, free: 12.55 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009385/0.5713, allocations: 170 kB / 0.5764 GB, free: 12.47 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005916/0.5772, allocations: 3.081 MB / 0.5794 GB, free: 10.36 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008135/0.578, allocations: 1.013 MB / 0.5804 GB, free: 9.32 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000616/0.5786, allocations: 176.5 kB / 0.5805 GB, free: 9.145 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001779/0.5788, allocations: 39.44 kB / 0.5806 GB, free: 9.105 MB / 430.1 MB Notification: Performance of SimCode: time 1.143e-06/0.5788, allocations: 4 kB / 0.5806 GB, free: 9.102 MB / 430.1 MB Notification: Performance of Templates: time 0.02574/0.6045, allocations: 13.49 MB / 0.5938 GB, free: 11.76 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_002.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_002.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_002.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_002.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_002.sim & ./AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_002 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_002.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.807638010941446] Failed to read output from testmodel.py, exit status != 0: 0.6164007890038192 0.628597564 0.139868649 Calling exit ...