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.001698/0.001698, allocations: 105.1 kB / 18.99 MB, free: 2.469 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.002225/0.002225, allocations: 222.3 kB / 22.3 MB, free: 5.414 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.538/1.538, allocations: 230.6 MB / 256.1 MB, free: 7.789 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.1084/0.1084, allocations: 24.04 MB / 336.5 MB, free: 11.3 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) 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.002895/0.002895, allocations: 67.89 kB / 474.5 MB, free: 5.031 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4514/0.4543, allocations: 59.57 MB / 0.5215 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Keep_below_limit): time 0.003328/0.4576, allocations: 1.803 MB / 0.5233 GB, free: 9.723 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001174/0.4588, allocations: 0.595 MB / 0.5239 GB, free: 9.324 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001114/0.4589, allocations: 7.344 kB / 0.5239 GB, free: 9.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003212/0.4592, allocations: 39.83 kB / 0.5239 GB, free: 9.293 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000169/0.4594, allocations: 33.91 kB / 0.5239 GB, free: 9.273 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003089/0.4597, allocations: 121.8 kB / 0.5241 GB, free: 9.211 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003395/0.4601, allocations: 235.9 kB / 0.5243 GB, free: 9.113 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001536/0.4602, allocations: 46.03 kB / 0.5243 GB, free: 9.086 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001496/0.4604, allocations: 92.97 kB / 0.5244 GB, free: 9.043 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001753/0.4605, allocations: 90.75 kB / 0.5245 GB, free: 9.008 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.041e-05/0.4606, allocations: 16.22 kB / 0.5245 GB, free: 9.008 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.715e-05/0.4606, allocations: 21.5 kB / 0.5245 GB, free: 9.004 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.744e-05/0.4607, allocations: 58.62 kB / 0.5246 GB, free: 8.973 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.347e-05/0.4608, allocations: 64.88 kB / 0.5246 GB, free: 8.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000271/0.4611, allocations: 184.4 kB / 0.5248 GB, free: 8.855 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.4611, allocations: 0.5156 kB / 0.5248 GB, free: 8.855 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4611, allocations: 0 / 0.5248 GB, free: 8.855 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.4611, allocations: 0 / 0.5248 GB, free: 8.855 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.001046/0.4621, allocations: 461.7 kB / 0.5253 GB, free: 8.508 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.4622, allocations: 10.03 kB / 0.5253 GB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.084e-05/0.4622, allocations: 25.45 kB / 0.5253 GB, free: 8.492 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000486/0.4627, allocations: 218.1 kB / 0.5255 GB, free: 8.316 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.4627, allocations: 13.14 kB / 0.5255 GB, free: 8.309 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.506e-05/0.4628, allocations: 13.03 kB / 0.5255 GB, free: 8.305 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003509/0.4631, allocations: 196 kB / 0.5257 GB, free: 8.184 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.4631, allocations: 1.094 kB / 0.5257 GB, free: 8.184 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.96e-05/0.4632, allocations: 5.062 kB / 0.5257 GB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.4632, allocations: 3.047 kB / 0.5257 GB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002778/0.4634, allocations: 119.9 kB / 0.5258 GB, free: 8.148 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008807/0.4643, allocations: 445.2 kB / 0.5263 GB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005721/0.4649, allocations: 189.8 kB / 0.5264 GB, free: 7.777 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000134/0.465, allocations: 67.62 kB / 0.5265 GB, free: 7.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.4651, allocations: 5.188 kB / 0.5265 GB, free: 7.746 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.908e-05/0.4651, allocations: 33.28 kB / 0.5265 GB, free: 7.707 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.383e-06/0.4651, allocations: 0 / 0.5265 GB, free: 7.707 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001565/0.4666, allocations: 457.7 kB / 0.527 GB, free: 7.586 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/0.4667, allocations: 88.36 kB / 0.5271 GB, free: 7.484 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003617/0.467, allocations: 216.6 kB / 0.5273 GB, free: 7.355 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.4671, allocations: 30.89 kB / 0.5273 GB, free: 7.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.862e-05/0.4671, allocations: 139.3 kB / 0.5274 GB, free: 7.195 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.694e-05/0.4672, allocations: 44.55 kB / 0.5275 GB, free: 7.16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.205e-05/0.4672, allocations: 39.75 kB / 0.5275 GB, free: 7.129 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.298e-05/0.4673, allocations: 333.4 kB / 0.5278 GB, free: 6.805 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.4675, allocations: 66.67 kB / 0.5279 GB, free: 6.777 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001634/0.4676, allocations: 111.1 kB / 0.528 GB, free: 6.703 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000267/0.4679, allocations: 140.4 kB / 0.5281 GB, free: 6.645 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.4679, allocations: 0 / 0.5281 GB, free: 6.645 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003519/0.4682, allocations: 198.7 kB / 0.5283 GB, free: 6.551 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.4683, allocations: 4.5 kB / 0.5283 GB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.4683, allocations: 1.891 kB / 0.5283 GB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.4683, allocations: 1.094 kB / 0.5283 GB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002636/0.4685, allocations: 43.7 kB / 0.5284 GB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.4686, allocations: 1.984 kB / 0.5284 GB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00019/0.4687, allocations: 27.78 kB / 0.5284 GB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.456e-05/0.4688, allocations: 3.344 kB / 0.5284 GB, free: 6.539 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001373/0.4689, allocations: 150.1 kB / 0.5286 GB, free: 6.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001083/0.469, allocations: 107.5 kB / 0.5287 GB, free: 6.348 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001748/0.4692, allocations: 118.5 kB / 0.5288 GB, free: 6.293 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.583e-06/0.4692, allocations: 1.094 kB / 0.5288 GB, free: 6.293 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization_lambda0): time 0.0002482/0.4694, allocations: 165 kB / 0.5289 GB, free: 6.211 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.516e-06/0.4694, allocations: 6.438 kB / 0.5289 GB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-06/0.4694, allocations: 1.219 kB / 0.5289 GB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.655e-06/0.4694, allocations: 1.312 kB / 0.5289 GB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002244/0.4697, allocations: 43.11 kB / 0.529 GB, free: 6.203 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.125e-06/0.4697, allocations: 1.719 kB / 0.529 GB, free: 6.203 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001746/0.4698, allocations: 33.78 kB / 0.529 GB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.4699, allocations: 2.562 kB / 0.529 GB, free: 6.188 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 6.919e-05/0.4699, allocations: 188 kB / 0.5292 GB, free: 6 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.118e-05/0.47, allocations: 14.41 kB / 0.5292 GB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007059/0.4707, allocations: 284.3 kB / 0.5295 GB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.4707, allocations: 2.344 kB / 0.5295 GB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.4707, allocations: 0 / 0.5295 GB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.4707, allocations: 0 / 0.5295 GB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000238/0.4709, allocations: 186.9 kB / 0.5297 GB, free: 5.719 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.4709, allocations: 5.312 kB / 0.5297 GB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.471, allocations: 15.28 kB / 0.5297 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003912/0.4714, allocations: 88.94 kB / 0.5298 GB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.933e-05/0.4714, allocations: 9.75 kB / 0.5298 GB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001865/0.4733, allocations: 1.694 MB / 0.5314 GB, free: 4.277 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.4733, allocations: 0 / 0.5314 GB, free: 4.277 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008488/0.4742, allocations: 437.5 kB / 0.5318 GB, free: 4.043 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.67e-05/0.4742, allocations: 19.64 kB / 0.5319 GB, free: 4.031 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.007e-05/0.4742, allocations: 11 kB / 0.5319 GB, free: 4.023 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002228/0.4744, allocations: 18.64 kB / 0.5319 GB, free: 4.023 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.62e-05/0.4745, allocations: 23.52 kB / 0.5319 GB, free: 4.012 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.4745, allocations: 6.188 kB / 0.5319 GB, free: 4.008 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003147/0.4748, allocations: 171.3 kB / 0.5321 GB, free: 3.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4748, allocations: 0 / 0.5321 GB, free: 3.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003887/0.4752, allocations: 53.73 kB / 0.5321 GB, free: 3.898 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.0001191/0.4753, allocations: 105.5 kB / 0.5322 GB, free: 3.805 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000505/0.4759, allocations: 197.7 kB / 0.5324 GB, free: 3.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4759, allocations: 4.125 kB / 0.5324 GB, free: 3.746 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00036/0.4762, allocations: 205.7 kB / 0.5326 GB, free: 3.605 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003617/0.4766, allocations: 29.67 kB / 0.5327 GB, free: 3.594 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007865/0.4774, allocations: 403.2 kB / 0.533 GB, free: 3.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001261/0.4775, allocations: 128.1 kB / 0.5332 GB, free: 3.262 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001274/0.4776, allocations: 30.06 kB / 0.5332 GB, free: 3.258 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.558e-05/0.4777, allocations: 16.36 kB / 0.5332 GB, free: 3.25 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.4777, allocations: 1.188 kB / 0.5332 GB, free: 3.25 MB / 382.1 MB Notification: Performance of Templates: time 0.007506/0.4852, allocations: 2.469 MB / 0.5356 GB, free: 2.977 MB / 382.1 MB " [Timeout remaining time 660] 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 -variableFilter=.* -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.394468750804663] Failed to read output from testmodel.py, exit status != 0: 0.4964301250874996 0.5084371870000001 0.044266959 Calling exit ...