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.001376/0.001376, allocations: 105.1 kB / 19.75 MB, free: 2.062 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.001549/0.001549, allocations: 208.9 kB / 23.05 MB, free: 4.855 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.483/1.483, allocations: 230.7 MB / 256.8 MB, free: 7.727 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.1092/0.1092, allocations: 24.03 MB / 337.3 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.00222/0.00222, allocations: 59.91 kB / 475.2 MB, free: 5.047 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3066/0.3088, allocations: 59.58 MB / 0.5223 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.002766/0.3116, allocations: 1.814 MB / 0.524 GB, free: 9.707 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009651/0.3125, allocations: 0.5909 MB / 0.5246 GB, free: 9.312 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.006e-05/0.3126, allocations: 1.75 kB / 0.5246 GB, free: 9.312 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002499/0.3129, allocations: 31.5 kB / 0.5246 GB, free: 9.293 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001521/0.313, allocations: 43.28 kB / 0.5247 GB, free: 9.266 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000271/0.3133, allocations: 124.1 kB / 0.5248 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002887/0.3136, allocations: 241.6 kB / 0.525 GB, free: 9.098 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.3137, allocations: 41.38 kB / 0.5251 GB, free: 9.074 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001248/0.3138, allocations: 89.45 kB / 0.5252 GB, free: 9.035 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001588/0.314, allocations: 94.69 kB / 0.5252 GB, free: 8.996 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.443e-05/0.314, allocations: 17.03 kB / 0.5253 GB, free: 8.996 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.619e-05/0.3141, allocations: 16.84 kB / 0.5253 GB, free: 8.996 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.714e-05/0.3142, allocations: 54.62 kB / 0.5253 GB, free: 8.969 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.966e-05/0.3142, allocations: 69.25 kB / 0.5254 GB, free: 8.922 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002127/0.3144, allocations: 188.2 kB / 0.5256 GB, free: 8.844 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3144, allocations: 0 / 0.5256 GB, free: 8.844 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3144, allocations: 0 / 0.5256 GB, free: 8.844 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.3144, allocations: 0 / 0.5256 GB, free: 8.844 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.0009518/0.3154, allocations: 458.2 kB / 0.526 GB, free: 8.496 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.3154, allocations: 10.95 kB / 0.526 GB, free: 8.496 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.785e-05/0.3155, allocations: 21.92 kB / 0.526 GB, free: 8.484 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004065/0.3159, allocations: 216.2 kB / 0.5262 GB, free: 8.309 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.3159, allocations: 9.703 kB / 0.5263 GB, free: 8.305 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.347e-05/0.3159, allocations: 14.05 kB / 0.5263 GB, free: 8.301 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003059/0.3163, allocations: 200.4 kB / 0.5265 GB, free: 8.176 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.3163, allocations: 0 / 0.5265 GB, free: 8.176 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/0.3163, allocations: 5.641 kB / 0.5265 GB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.3163, allocations: 3.594 kB / 0.5265 GB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002714/0.3166, allocations: 116.5 kB / 0.5266 GB, free: 8.141 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007847/0.3173, allocations: 444.4 kB / 0.527 GB, free: 7.848 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005239/0.3179, allocations: 185.8 kB / 0.5272 GB, free: 7.777 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001265/0.318, allocations: 65.81 kB / 0.5272 GB, free: 7.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.318, allocations: 7.266 kB / 0.5273 GB, free: 7.746 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.453e-05/0.318, allocations: 33.06 kB / 0.5273 GB, free: 7.707 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.263e-06/0.318, allocations: 4 kB / 0.5273 GB, free: 7.703 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001542/0.3196, allocations: 461.3 kB / 0.5277 GB, free: 7.578 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.359e-05/0.3196, allocations: 79 kB / 0.5278 GB, free: 7.484 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003325/0.3199, allocations: 225.8 kB / 0.528 GB, free: 7.348 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.32, allocations: 30.61 kB / 0.528 GB, free: 7.312 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.058e-05/0.32, allocations: 130.1 kB / 0.5282 GB, free: 7.195 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.259e-05/0.32, allocations: 48.84 kB / 0.5282 GB, free: 7.156 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.56e-05/0.3201, allocations: 37.11 kB / 0.5283 GB, free: 7.129 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.794e-05/0.3201, allocations: 328 kB / 0.5286 GB, free: 6.809 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001365/0.3203, allocations: 71.16 kB / 0.5286 GB, free: 6.777 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001475/0.3204, allocations: 113.7 kB / 0.5287 GB, free: 6.703 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002588/0.3207, allocations: 138.1 kB / 0.5289 GB, free: 6.645 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3207, allocations: 4 kB / 0.5289 GB, free: 6.641 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003194/0.321, allocations: 198.7 kB / 0.5291 GB, free: 6.547 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.321, allocations: 5.688 kB / 0.5291 GB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.321, allocations: 5.156 kB / 0.5291 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.321, allocations: 0.7812 kB / 0.5291 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000258/0.3213, allocations: 44.05 kB / 0.5291 GB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.034e-06/0.3213, allocations: 5.172 kB / 0.5291 GB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000185/0.3215, allocations: 28.31 kB / 0.5292 GB, free: 6.527 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.3215, allocations: 3.172 kB / 0.5292 GB, free: 6.527 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001278/0.3216, allocations: 146.8 kB / 0.5293 GB, free: 6.422 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.889e-05/0.3217, allocations: 105.6 kB / 0.5294 GB, free: 6.344 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001615/0.3219, allocations: 127 kB / 0.5295 GB, free: 6.277 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.92e-07/0.3219, allocations: 1.375 kB / 0.5295 GB, free: 6.277 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization_lambda0): time 0.0002357/0.3221, allocations: 168.6 kB / 0.5297 GB, free: 6.195 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.305e-06/0.3221, allocations: 5.5 kB / 0.5297 GB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-06/0.3221, allocations: 1.094 kB / 0.5297 GB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.996e-06/0.3221, allocations: 1.625 kB / 0.5297 GB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002213/0.3224, allocations: 38.45 kB / 0.5297 GB, free: 6.191 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.976e-06/0.3224, allocations: 2.938 kB / 0.5297 GB, free: 6.191 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001702/0.3225, allocations: 27.52 kB / 0.5298 GB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.3226, allocations: 7.734 kB / 0.5298 GB, free: 6.176 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.177e-05/0.3226, allocations: 189.4 kB / 0.5299 GB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.121e-05/0.3227, allocations: 14.09 kB / 0.53 GB, free: 5.98 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006919/0.3233, allocations: 279.9 kB / 0.5302 GB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.3234, allocations: 0.9375 kB / 0.5302 GB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3234, allocations: 4 kB / 0.5302 GB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.629e-05/0.3234, allocations: 19.22 kB / 0.5302 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.199e-05/0.3234, allocations: 6.859 kB / 0.5303 GB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002189/0.3236, allocations: 24.47 kB / 0.5303 GB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.943e-05/0.3237, allocations: 11.34 kB / 0.5303 GB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009982/0.3247, allocations: 409 kB / 0.5307 GB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004982/0.3252, allocations: 445.7 kB / 0.5311 GB, free: 5.371 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001379/0.3253, allocations: 66.42 kB / 0.5312 GB, free: 5.355 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002862/0.3256, allocations: 165.7 kB / 0.5313 GB, free: 5.262 MB / 382.1 MB Notification: Performance of Backend: time 1.9e-07/0.3256, allocations: 0 / 0.5313 GB, free: 5.262 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006015/0.3262, allocations: 228 kB / 0.5315 GB, free: 5.148 MB / 382.1 MB Notification: Performance of SimCode: time 0.0007325/0.3269, allocations: 0.838 MB / 0.5324 GB, free: 4.418 MB / 382.1 MB Notification: Performance of Templates: time 0.00673/0.3337, allocations: 2.937 MB / 0.5352 GB, free: 4.117 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: 4.671595213003457] Failed to read output from testmodel.py, exit status != 0: 0.34187762904912233 0.354441137 0.036888041 Calling exit ...