Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Keep_below_limit.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.002182/0.002182, allocations: 103.5 kB / 16.45 MB, free: 6.449 MB / 14.72 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.002858/0.002858, allocations: 212.9 kB / 19.43 MB, free: 3.637 MB / 14.72 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.541/1.541, allocations: 230.6 MB / 252.8 MB, free: 9.137 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.1058/0.1058, allocations: 24.03 MB / 332.9 MB, free: 12.72 MB / 270.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.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) Ignoring simflag -noemit -variableFilter=.* since it seems broken on HelloWorld Running command: translateModel(AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Keep_below_limit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Keep_below_limit") translateModel(AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Keep_below_limit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Keep_below_limit") [Timeout 660] "Notification: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002194/0.002194, allocations: 76.17 kB / 468.9 MB, free: 7.984 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4662/0.4684, allocations: 59.54 MB / 0.5161 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Keep_below_limit): time 0.003669/0.472, allocations: 1.855 MB / 0.5179 GB, free: 9.188 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001447/0.4735, allocations: 0.6413 MB / 0.5185 GB, free: 8.738 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001395/0.4736, allocations: 2.281 kB / 0.5185 GB, free: 8.738 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000333/0.4739, allocations: 31.5 kB / 0.5185 GB, free: 8.719 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001604/0.4741, allocations: 34.7 kB / 0.5186 GB, free: 8.699 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003284/0.4744, allocations: 112.5 kB / 0.5187 GB, free: 8.637 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003057/0.4747, allocations: 219 kB / 0.5189 GB, free: 8.543 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00016/0.4749, allocations: 49.64 kB / 0.5189 GB, free: 8.516 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001365/0.475, allocations: 87.36 kB / 0.519 GB, free: 8.477 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001922/0.4752, allocations: 104.4 kB / 0.5191 GB, free: 8.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.278e-05/0.4753, allocations: 16.59 kB / 0.5191 GB, free: 8.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.382e-05/0.4753, allocations: 17.09 kB / 0.5191 GB, free: 8.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001029/0.4754, allocations: 57.77 kB / 0.5192 GB, free: 8.398 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.788e-05/0.4755, allocations: 72.14 kB / 0.5193 GB, free: 8.348 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003231/0.4758, allocations: 187.1 kB / 0.5194 GB, free: 8.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.4758, allocations: 6 kB / 0.5195 GB, free: 8.266 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.4758, allocations: 0 / 0.5195 GB, free: 8.266 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.4758, allocations: 0 / 0.5195 GB, free: 8.266 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.00112/0.477, allocations: 0.5258 MB / 0.52 GB, free: 7.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.477, allocations: 9.969 kB / 0.52 GB, free: 7.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.903e-05/0.4771, allocations: 22.89 kB / 0.52 GB, free: 7.809 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004755/0.4776, allocations: 277.7 kB / 0.5203 GB, free: 7.562 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.4776, allocations: 10.05 kB / 0.5203 GB, free: 7.559 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.285e-05/0.4776, allocations: 15.91 kB / 0.5203 GB, free: 7.551 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003576/0.478, allocations: 170.3 kB / 0.5205 GB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.478, allocations: 1.156 kB / 0.5205 GB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.09e-05/0.478, allocations: 5.188 kB / 0.5205 GB, free: 7.457 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.478, allocations: 7.359 kB / 0.5205 GB, free: 7.457 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003066/0.4783, allocations: 118.5 kB / 0.5206 GB, free: 7.426 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/0.4793, allocations: 0.5314 MB / 0.5211 GB, free: 7.051 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006634/0.48, allocations: 185 kB / 0.5213 GB, free: 6.98 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001574/0.4802, allocations: 66.23 kB / 0.5213 GB, free: 6.953 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.055e-05/0.4802, allocations: 2.219 kB / 0.5213 GB, free: 6.953 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.4802, allocations: 38.27 kB / 0.5214 GB, free: 6.91 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.483e-06/0.4802, allocations: 0 / 0.5214 GB, free: 6.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001791/0.482, allocations: 0.5269 MB / 0.5219 GB, free: 6.691 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/0.4821, allocations: 79.62 kB / 0.522 GB, free: 6.598 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003701/0.4824, allocations: 218.8 kB / 0.5222 GB, free: 6.465 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.4825, allocations: 26.77 kB / 0.5222 GB, free: 6.434 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.664e-05/0.4825, allocations: 137.3 kB / 0.5223 GB, free: 6.309 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.904e-05/0.4826, allocations: 44.19 kB / 0.5224 GB, free: 6.273 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.009e-05/0.4827, allocations: 37.34 kB / 0.5224 GB, free: 6.246 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.146e-05/0.4827, allocations: 331.1 kB / 0.5227 GB, free: 5.922 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.4829, allocations: 74.67 kB / 0.5228 GB, free: 5.887 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001587/0.483, allocations: 85.23 kB / 0.5229 GB, free: 5.844 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002794/0.4833, allocations: 136.1 kB / 0.523 GB, free: 5.785 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.4833, allocations: 0 / 0.523 GB, free: 5.785 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000389/0.4837, allocations: 193.8 kB / 0.5232 GB, free: 5.695 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.4837, allocations: 10.09 kB / 0.5232 GB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.4837, allocations: 6.375 kB / 0.5232 GB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.367e-05/0.4838, allocations: 1.312 kB / 0.5232 GB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002694/0.484, allocations: 44.44 kB / 0.5232 GB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.484, allocations: 5 kB / 0.5233 GB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001873/0.4842, allocations: 22.19 kB / 0.5233 GB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.706e-05/0.4842, allocations: 18.95 kB / 0.5233 GB, free: 5.664 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001452/0.4844, allocations: 145 kB / 0.5234 GB, free: 5.559 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001066/0.4845, allocations: 72.61 kB / 0.5235 GB, free: 5.52 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001758/0.4847, allocations: 121.7 kB / 0.5236 GB, free: 5.457 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.12e-07/0.4847, allocations: 0 / 0.5236 GB, free: 5.457 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization_lambda0): time 0.0002776/0.4849, allocations: 170.6 kB / 0.5238 GB, free: 5.375 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.485, allocations: 5.281 kB / 0.5238 GB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-06/0.485, allocations: 4.062 kB / 0.5238 GB, free: 5.371 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.615e-06/0.485, allocations: 1.219 kB / 0.5238 GB, free: 5.371 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002416/0.4852, allocations: 45.88 kB / 0.5238 GB, free: 5.363 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.4852, allocations: 1.188 kB / 0.5238 GB, free: 5.363 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001744/0.4854, allocations: 26.19 kB / 0.5239 GB, free: 5.352 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.4854, allocations: 5.531 kB / 0.5239 GB, free: 5.352 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.742e-05/0.4855, allocations: 188.4 kB / 0.524 GB, free: 5.164 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.689e-05/0.4855, allocations: 14.62 kB / 0.5241 GB, free: 5.156 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007917/0.4863, allocations: 281.9 kB / 0.5243 GB, free: 5.035 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.4863, allocations: 2.281 kB / 0.5243 GB, free: 5.035 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.4863, allocations: 0 / 0.5243 GB, free: 5.035 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.4863, allocations: 0.75 kB / 0.5243 GB, free: 5.035 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000321/0.4867, allocations: 267.8 kB / 0.5246 GB, free: 4.805 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.4867, allocations: 3.938 kB / 0.5246 GB, free: 4.801 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.4868, allocations: 17.23 kB / 0.5246 GB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000423/0.4872, allocations: 83.72 kB / 0.5247 GB, free: 4.773 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.01e-05/0.4872, allocations: 6.719 kB / 0.5247 GB, free: 4.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002087/0.4893, allocations: 1.843 MB / 0.5265 GB, free: 3.195 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.4893, allocations: 0.75 kB / 0.5265 GB, free: 3.195 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008863/0.4902, allocations: 436.3 kB / 0.5269 GB, free: 2.961 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.306e-05/0.4903, allocations: 95.75 kB / 0.527 GB, free: 2.855 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.872e-05/0.4903, allocations: 9.922 kB / 0.527 GB, free: 2.848 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000227/0.4905, allocations: 19.83 kB / 0.527 GB, free: 2.848 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.415e-05/0.4906, allocations: 14.64 kB / 0.527 GB, free: 2.844 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.4906, allocations: 2 kB / 0.527 GB, free: 2.844 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003281/0.4909, allocations: 171.4 kB / 0.5272 GB, free: 2.746 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4909, allocations: 0 / 0.5272 GB, free: 2.746 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004344/0.4914, allocations: 58.83 kB / 0.5273 GB, free: 2.73 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (C.FO.y,P.x_scaled[1],P.x_scaled[2]) * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001292/0.4915, allocations: 103.9 kB / 0.5274 GB, free: 2.641 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005292/0.492, allocations: 212.5 kB / 0.5276 GB, free: 2.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.492, allocations: 1.031 kB / 0.5276 GB, free: 2.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003759/0.4924, allocations: 207.5 kB / 0.5278 GB, free: 2.43 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000367/0.4928, allocations: 36.45 kB / 0.5278 GB, free: 2.414 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007991/0.4936, allocations: 387.9 kB / 0.5282 GB, free: 2.18 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002264/0.4938, allocations: 0.7393 MB / 0.5289 GB, free: 1.473 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001331/0.4939, allocations: 35.14 kB / 0.5289 GB, free: 1.473 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.456e-05/0.494, allocations: 14.5 kB / 0.5289 GB, free: 1.465 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.494, allocations: 0 / 0.5289 GB, free: 1.465 MB / 382.1 MB Notification: Performance of Templates: time 0.00761/0.5016, allocations: 2.523 MB / 0.5314 GB, free: 1.281 MB / 382.1 MB " [Timeout remaining time 659] make -j1 -f AES_AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Keep_below_limit.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Keep_below_limit.pipe ; mkfifo AES_AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Keep_below_limit.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Keep_below_limit.pipe >> ../files/AES_AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Keep_below_limit.sim & ./AES_AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Keep_below_limit -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Keep_below_limit.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.378051026724279] Failed to read output from testmodel.py, exit status != 0: 0.5110872816294432 0.5260125019999999 0.047053896000000005 Calling exit ...