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.001353/0.001353, allocations: 104.3 kB / 19.73 MB, free: 2.043 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.001484/0.001484, allocations: 209.8 kB / 23.01 MB, free: 4.859 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.568/1.568, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.1115/0.1115, allocations: 24.04 MB / 337.2 MB, free: 11.35 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.00218/0.00218, allocations: 67.89 kB / 475.1 MB, free: 5.121 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4224/0.4246, allocations: 59.58 MB / 0.5222 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Keep_below_limit): time 0.003213/0.4278, allocations: 1.805 MB / 0.5239 GB, free: 9.711 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001155/0.4289, allocations: 0.5978 MB / 0.5245 GB, free: 9.309 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001118/0.429, allocations: 6.656 kB / 0.5245 GB, free: 9.305 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002975/0.4293, allocations: 27.52 kB / 0.5245 GB, free: 9.289 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001553/0.4295, allocations: 40.97 kB / 0.5246 GB, free: 9.266 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003023/0.4298, allocations: 118.8 kB / 0.5247 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003125/0.4301, allocations: 242.1 kB / 0.5249 GB, free: 9.102 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.4303, allocations: 48.97 kB / 0.525 GB, free: 9.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001339/0.4304, allocations: 84.3 kB / 0.525 GB, free: 9.035 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001729/0.4306, allocations: 95.41 kB / 0.5251 GB, free: 8.996 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.331e-05/0.4306, allocations: 17.12 kB / 0.5252 GB, free: 8.996 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.567e-05/0.4306, allocations: 16.81 kB / 0.5252 GB, free: 8.996 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.779e-05/0.4307, allocations: 57.2 kB / 0.5252 GB, free: 8.965 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.818e-05/0.4308, allocations: 62.11 kB / 0.5253 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002641/0.4311, allocations: 191.8 kB / 0.5255 GB, free: 8.844 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.4311, allocations: 1.094 kB / 0.5255 GB, free: 8.844 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.4311, allocations: 0 / 0.5255 GB, free: 8.844 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.4311, allocations: 3.938 kB / 0.5255 GB, free: 8.84 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.001005/0.4321, allocations: 454.1 kB / 0.5259 GB, free: 8.496 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.4321, allocations: 10.34 kB / 0.5259 GB, free: 8.496 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.197e-05/0.4322, allocations: 22.05 kB / 0.5259 GB, free: 8.484 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004602/0.4327, allocations: 225.1 kB / 0.5261 GB, free: 8.301 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.4327, allocations: 5.891 kB / 0.5262 GB, free: 8.301 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.101e-05/0.4327, allocations: 17.44 kB / 0.5262 GB, free: 8.293 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003383/0.433, allocations: 196.4 kB / 0.5264 GB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.4331, allocations: 0 / 0.5264 GB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.905e-05/0.4331, allocations: 5.344 kB / 0.5264 GB, free: 8.168 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.4331, allocations: 3.281 kB / 0.5264 GB, free: 8.168 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002748/0.4334, allocations: 121.2 kB / 0.5265 GB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008841/0.4342, allocations: 444 kB / 0.5269 GB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005931/0.4348, allocations: 189.3 kB / 0.5271 GB, free: 7.766 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001434/0.435, allocations: 65.52 kB / 0.5271 GB, free: 7.738 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.83e-05/0.435, allocations: 2.766 kB / 0.5272 GB, free: 7.738 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.435, allocations: 32.09 kB / 0.5272 GB, free: 7.699 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.292e-06/0.435, allocations: 1.938 kB / 0.5272 GB, free: 7.699 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001614/0.4367, allocations: 466.3 kB / 0.5276 GB, free: 7.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.937e-05/0.4367, allocations: 79.8 kB / 0.5277 GB, free: 7.477 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003509/0.437, allocations: 216.4 kB / 0.5279 GB, free: 7.348 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.4371, allocations: 31.17 kB / 0.5279 GB, free: 7.312 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.798e-05/0.4372, allocations: 134.6 kB / 0.5281 GB, free: 7.191 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.904e-05/0.4372, allocations: 48 kB / 0.5281 GB, free: 7.152 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.703e-05/0.4373, allocations: 34.25 kB / 0.5281 GB, free: 7.129 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.4374, allocations: 331.6 kB / 0.5285 GB, free: 6.805 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000181/0.4376, allocations: 62.5 kB / 0.5285 GB, free: 6.781 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002031/0.4378, allocations: 118.7 kB / 0.5286 GB, free: 6.703 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003383/0.4381, allocations: 141.2 kB / 0.5288 GB, free: 6.641 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.4381, allocations: 1.406 kB / 0.5288 GB, free: 6.641 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004042/0.4386, allocations: 194.2 kB / 0.529 GB, free: 6.551 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.4386, allocations: 5.312 kB / 0.529 GB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.896e-06/0.4386, allocations: 1.125 kB / 0.529 GB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.541e-05/0.4386, allocations: 1.156 kB / 0.529 GB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002634/0.4389, allocations: 39.89 kB / 0.529 GB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/0.4389, allocations: 1.062 kB / 0.529 GB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000217/0.4391, allocations: 32.08 kB / 0.529 GB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/0.4391, allocations: 3.781 kB / 0.529 GB, free: 6.539 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001799/0.4393, allocations: 151.2 kB / 0.5292 GB, free: 6.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001273/0.4394, allocations: 106.2 kB / 0.5293 GB, free: 6.352 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000194/0.4396, allocations: 126 kB / 0.5294 GB, free: 6.285 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.31e-07/0.4396, allocations: 0 / 0.5294 GB, free: 6.285 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization_lambda0): time 0.0003153/0.4399, allocations: 167 kB / 0.5296 GB, free: 6.203 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.4399, allocations: 4.5 kB / 0.5296 GB, free: 6.203 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-06/0.4399, allocations: 5.125 kB / 0.5296 GB, free: 6.199 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.799e-06/0.44, allocations: 2.516 kB / 0.5296 GB, free: 6.199 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002312/0.4402, allocations: 34.56 kB / 0.5296 GB, free: 6.199 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.4402, allocations: 1.125 kB / 0.5296 GB, free: 6.199 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001759/0.4404, allocations: 28.7 kB / 0.5296 GB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.4404, allocations: 4.156 kB / 0.5296 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 0.0001176/0.4405, allocations: 191.3 kB / 0.5298 GB, free: 5.996 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.805e-05/0.4405, allocations: 16.72 kB / 0.5298 GB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008762/0.4414, allocations: 281.9 kB / 0.5301 GB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/0.4414, allocations: 2.062 kB / 0.5301 GB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/0.4414, allocations: 5.094 kB / 0.5301 GB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.4414, allocations: 0.8906 kB / 0.5301 GB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000382/0.4418, allocations: 187.6 kB / 0.5303 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.4418, allocations: 4 kB / 0.5303 GB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.4419, allocations: 12.12 kB / 0.5303 GB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004428/0.4424, allocations: 83.38 kB / 0.5304 GB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.447e-05/0.4424, allocations: 11.47 kB / 0.5304 GB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00205/0.4445, allocations: 1.696 MB / 0.5321 GB, free: 4.277 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.4445, allocations: 1.562 kB / 0.5321 GB, free: 4.277 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008787/0.4453, allocations: 435.7 kB / 0.5325 GB, free: 4.047 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.847e-05/0.4454, allocations: 19.52 kB / 0.5325 GB, free: 4.035 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.037e-05/0.4454, allocations: 14.34 kB / 0.5325 GB, free: 4.023 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002059/0.4456, allocations: 23.73 kB / 0.5325 GB, free: 4.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.24e-05/0.4457, allocations: 18.56 kB / 0.5325 GB, free: 4.012 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.4457, allocations: 2.5 kB / 0.5325 GB, free: 4.012 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003102/0.446, allocations: 166.4 kB / 0.5327 GB, free: 3.918 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.446, allocations: 0 / 0.5327 GB, free: 3.918 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004276/0.4464, allocations: 54.61 kB / 0.5328 GB, free: 3.906 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.0001276/0.4465, allocations: 115.2 kB / 0.5329 GB, free: 3.805 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005388/0.4471, allocations: 201 kB / 0.5331 GB, free: 3.746 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.4471, allocations: 0.8125 kB / 0.5331 GB, free: 3.746 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003827/0.4475, allocations: 205.7 kB / 0.5333 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.0003491/0.4478, allocations: 32.47 kB / 0.5333 GB, free: 3.594 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007443/0.4486, allocations: 406.1 kB / 0.5337 GB, free: 3.336 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001285/0.4487, allocations: 117.6 kB / 0.5338 GB, free: 3.266 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001296/0.4488, allocations: 36.55 kB / 0.5338 GB, free: 3.254 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.986e-05/0.4489, allocations: 19.02 kB / 0.5338 GB, free: 3.246 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4489, allocations: 0 / 0.5338 GB, free: 3.246 MB / 382.1 MB Notification: Performance of Templates: time 0.00742/0.4563, allocations: 2.588 MB / 0.5364 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.352259196341038] Failed to read output from testmodel.py, exit status != 0: 0.46647167205810547 0.48028303000000006 0.045646527000000006 Calling exit ...