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.001414/0.001414, allocations: 100.3 kB / 19.74 MB, free: 2.07 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.00152/0.00152, allocations: 212.7 kB / 23.04 MB, free: 4.871 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.557/1.557, allocations: 230.7 MB / 256.8 MB, free: 7.781 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.1093/0.1093, allocations: 24.04 MB / 337.3 MB, free: 11.32 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.003575/0.003575, allocations: 67.91 kB / 475.2 MB, free: 5.051 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4288/0.4324, allocations: 59.57 MB / 0.5222 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Keep_below_limit): time 0.003568/0.436, allocations: 1.813 MB / 0.524 GB, free: 9.688 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001242/0.4372, allocations: 0.5935 MB / 0.5246 GB, free: 9.289 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.4373, allocations: 2.531 kB / 0.5246 GB, free: 9.289 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003227/0.4376, allocations: 40.28 kB / 0.5246 GB, free: 9.262 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000165/0.4378, allocations: 39.48 kB / 0.5247 GB, free: 9.238 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000331/0.4381, allocations: 115.1 kB / 0.5248 GB, free: 9.176 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003458/0.4385, allocations: 239.1 kB / 0.525 GB, free: 9.078 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.4386, allocations: 46.45 kB / 0.5251 GB, free: 9.051 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001361/0.4388, allocations: 98.28 kB / 0.5252 GB, free: 9.004 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002002/0.439, allocations: 83.42 kB / 0.5252 GB, free: 8.973 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.636e-05/0.439, allocations: 16.78 kB / 0.5252 GB, free: 8.973 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.766e-05/0.439, allocations: 18.31 kB / 0.5253 GB, free: 8.973 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.917e-05/0.4391, allocations: 61.84 kB / 0.5253 GB, free: 8.938 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.24e-05/0.4392, allocations: 64.06 kB / 0.5254 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002793/0.4395, allocations: 189 kB / 0.5256 GB, free: 8.816 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.4395, allocations: 1.125 kB / 0.5256 GB, free: 8.816 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.4395, allocations: 0 / 0.5256 GB, free: 8.816 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.4395, allocations: 0 / 0.5256 GB, free: 8.816 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.001049/0.4406, allocations: 461.7 kB / 0.526 GB, free: 8.465 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.4406, allocations: 9.594 kB / 0.526 GB, free: 8.465 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.53e-05/0.4407, allocations: 26.98 kB / 0.526 GB, free: 8.449 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004571/0.4411, allocations: 210 kB / 0.5262 GB, free: 8.281 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.4411, allocations: 9.078 kB / 0.5262 GB, free: 8.277 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.221e-05/0.4412, allocations: 16.78 kB / 0.5263 GB, free: 8.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003514/0.4415, allocations: 193 kB / 0.5264 GB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.4416, allocations: 3.984 kB / 0.5265 GB, free: 8.148 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.006e-05/0.4416, allocations: 5.797 kB / 0.5265 GB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.4416, allocations: 2.969 kB / 0.5265 GB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002955/0.4419, allocations: 121.6 kB / 0.5266 GB, free: 8.109 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009153/0.4428, allocations: 449.9 kB / 0.527 GB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005992/0.4434, allocations: 179.2 kB / 0.5272 GB, free: 7.746 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001547/0.4435, allocations: 68.33 kB / 0.5272 GB, free: 7.719 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.016e-05/0.4436, allocations: 5.031 kB / 0.5272 GB, free: 7.715 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.781e-05/0.4436, allocations: 36.72 kB / 0.5273 GB, free: 7.672 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.293e-06/0.4436, allocations: 0 / 0.5273 GB, free: 7.672 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001693/0.4453, allocations: 468.8 kB / 0.5277 GB, free: 7.543 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/0.4453, allocations: 82.17 kB / 0.5278 GB, free: 7.445 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003569/0.4457, allocations: 221.7 kB / 0.528 GB, free: 7.312 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.4457, allocations: 26.8 kB / 0.528 GB, free: 7.281 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.014e-05/0.4458, allocations: 128.6 kB / 0.5282 GB, free: 7.164 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.199e-05/0.4458, allocations: 49.39 kB / 0.5282 GB, free: 7.125 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.338e-05/0.4459, allocations: 32.2 kB / 0.5282 GB, free: 7.102 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.81e-05/0.446, allocations: 336.8 kB / 0.5286 GB, free: 6.773 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001413/0.4461, allocations: 62.53 kB / 0.5286 GB, free: 6.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000169/0.4463, allocations: 114.5 kB / 0.5287 GB, free: 6.672 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002844/0.4466, allocations: 142 kB / 0.5289 GB, free: 6.609 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.4466, allocations: 0 / 0.5289 GB, free: 6.609 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003756/0.4469, allocations: 193.4 kB / 0.5291 GB, free: 6.523 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.447, allocations: 9.719 kB / 0.5291 GB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.447, allocations: 1.125 kB / 0.5291 GB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.447, allocations: 1.062 kB / 0.5291 GB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002594/0.4472, allocations: 52.59 kB / 0.5291 GB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.4473, allocations: 1.594 kB / 0.5291 GB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001778/0.4474, allocations: 22.7 kB / 0.5291 GB, free: 6.504 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.4474, allocations: 9.281 kB / 0.5291 GB, free: 6.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001456/0.4476, allocations: 149.1 kB / 0.5293 GB, free: 6.391 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000109/0.4477, allocations: 108.2 kB / 0.5294 GB, free: 6.309 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001773/0.4479, allocations: 118 kB / 0.5295 GB, free: 6.254 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.41e-07/0.4479, allocations: 1.312 kB / 0.5295 GB, free: 6.254 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization_lambda0): time 0.0002545/0.4481, allocations: 165 kB / 0.5297 GB, free: 6.172 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.4481, allocations: 6.547 kB / 0.5297 GB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-06/0.4481, allocations: 3.938 kB / 0.5297 GB, free: 6.168 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-06/0.4481, allocations: 1.344 kB / 0.5297 GB, free: 6.168 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002176/0.4484, allocations: 43.67 kB / 0.5297 GB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.853e-06/0.4484, allocations: 1.094 kB / 0.5297 GB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001612/0.4485, allocations: 28.97 kB / 0.5297 GB, free: 6.148 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.4485, allocations: 4.234 kB / 0.5298 GB, free: 6.148 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 8.474e-05/0.4486, allocations: 187.5 kB / 0.5299 GB, free: 5.961 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.345e-05/0.4487, allocations: 16.41 kB / 0.5299 GB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007093/0.4494, allocations: 283.2 kB / 0.5302 GB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.4494, allocations: 0.9062 kB / 0.5302 GB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.4494, allocations: 1.125 kB / 0.5302 GB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.4494, allocations: 1.031 kB / 0.5302 GB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002473/0.4496, allocations: 187.8 kB / 0.5304 GB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.4496, allocations: 0 / 0.5304 GB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.771e-05/0.4497, allocations: 15.7 kB / 0.5304 GB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004626/0.4502, allocations: 92.62 kB / 0.5305 GB, free: 5.645 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.185e-05/0.4502, allocations: 5.953 kB / 0.5305 GB, free: 5.641 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002043/0.4523, allocations: 1.7 MB / 0.5322 GB, free: 4.234 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4523, allocations: 0 / 0.5322 GB, free: 4.234 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008703/0.4531, allocations: 434.8 kB / 0.5326 GB, free: 4.004 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.305e-05/0.4532, allocations: 22.69 kB / 0.5326 GB, free: 3.988 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.829e-05/0.4532, allocations: 6.531 kB / 0.5326 GB, free: 3.984 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002184/0.4534, allocations: 24.81 kB / 0.5326 GB, free: 3.98 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.372e-05/0.4535, allocations: 10.02 kB / 0.5326 GB, free: 3.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.4535, allocations: 2.719 kB / 0.5326 GB, free: 3.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003395/0.4538, allocations: 169.6 kB / 0.5328 GB, free: 3.883 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4538, allocations: 4.531 kB / 0.5328 GB, free: 3.879 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004204/0.4543, allocations: 58.64 kB / 0.5329 GB, free: 3.863 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.0001199/0.4544, allocations: 104.4 kB / 0.533 GB, free: 3.773 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005603/0.4549, allocations: 205.1 kB / 0.5332 GB, free: 3.711 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.4549, allocations: 1.188 kB / 0.5332 GB, free: 3.711 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003515/0.4553, allocations: 212.5 kB / 0.5334 GB, free: 3.566 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003565/0.4556, allocations: 23.92 kB / 0.5334 GB, free: 3.559 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007651/0.4564, allocations: 404.2 kB / 0.5338 GB, free: 3.301 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001381/0.4565, allocations: 125.5 kB / 0.5339 GB, free: 3.223 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001292/0.4567, allocations: 35.5 kB / 0.5339 GB, free: 3.219 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.034e-05/0.4567, allocations: 16.09 kB / 0.5339 GB, free: 3.211 MB / 382.1 MB Notification: Performance of SimCode: time 6.81e-07/0.4567, allocations: 0 / 0.5339 GB, free: 3.211 MB / 382.1 MB Notification: Performance of Templates: time 0.008097/0.4648, allocations: 2.479 MB / 0.5364 GB, free: 2.945 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 -s cvode -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.4374428619630635] Failed to read output from testmodel.py, exit status != 0: 0.476999961072579 0.490906379 0.048017335 Calling exit ...