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.001397/0.001397, allocations: 113.8 kB / 17.13 MB, free: 6.008 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.001415/0.001415, allocations: 213.8 kB / 20.1 MB, free: 3.055 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.48/1.48, allocations: 230.6 MB / 253.5 MB, free: 15.07 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.1051/0.1051, allocations: 24.04 MB / 333.6 MB, free: 1.543 MB / 254.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.002113/0.002113, allocations: 73.27 kB / 469.6 MB, free: 30.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0897/0.09181, allocations: 59.55 MB / 0.5167 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Keep_below_limit): time 0.003295/0.09511, allocations: 1.846 MB / 0.5185 GB, free: 9.211 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001188/0.0963, allocations: 0.6507 MB / 0.5192 GB, free: 8.555 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.178e-05/0.09639, allocations: 3.938 kB / 0.5192 GB, free: 8.551 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002646/0.09665, allocations: 27.78 kB / 0.5192 GB, free: 8.523 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001608/0.09681, allocations: 35.72 kB / 0.5192 GB, free: 8.488 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000292/0.09711, allocations: 115.8 kB / 0.5194 GB, free: 8.375 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002915/0.0974, allocations: 219.5 kB / 0.5196 GB, free: 8.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001349/0.09753, allocations: 48.27 kB / 0.5196 GB, free: 8.117 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.09766, allocations: 79.75 kB / 0.5197 GB, free: 8.039 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001862/0.09784, allocations: 111.5 kB / 0.5198 GB, free: 7.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.763e-05/0.09788, allocations: 16 kB / 0.5198 GB, free: 7.914 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.151e-05/0.09791, allocations: 16 kB / 0.5198 GB, free: 7.898 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.901e-05/0.09801, allocations: 59.81 kB / 0.5199 GB, free: 7.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.657e-05/0.0981, allocations: 71.59 kB / 0.5199 GB, free: 7.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002479/0.09834, allocations: 183.2 kB / 0.5201 GB, free: 7.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.09835, allocations: 4 kB / 0.5201 GB, free: 7.586 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.09835, allocations: 0 / 0.5201 GB, free: 7.586 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.09836, allocations: 0 / 0.5201 GB, free: 7.586 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.001109/0.09946, allocations: 0.5261 MB / 0.5206 GB, free: 7.008 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.0995, allocations: 12.02 kB / 0.5207 GB, free: 6.996 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.34e-05/0.09956, allocations: 24.8 kB / 0.5207 GB, free: 6.973 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005107/0.1001, allocations: 276.7 kB / 0.5209 GB, free: 6.66 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.1001, allocations: 8.609 kB / 0.5209 GB, free: 6.652 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.843e-05/0.1001, allocations: 12.38 kB / 0.521 GB, free: 6.641 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00034/0.1005, allocations: 173.7 kB / 0.5211 GB, free: 6.461 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.1005, allocations: 0 / 0.5211 GB, free: 6.461 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.95e-05/0.1005, allocations: 4 kB / 0.5211 GB, free: 6.457 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.1005, allocations: 4 kB / 0.5211 GB, free: 6.453 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003163/0.1008, allocations: 120.6 kB / 0.5212 GB, free: 6.336 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009743/0.1018, allocations: 0.5284 MB / 0.5218 GB, free: 5.758 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005808/0.1024, allocations: 186.6 kB / 0.5219 GB, free: 5.562 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001476/0.1025, allocations: 68.81 kB / 0.522 GB, free: 5.492 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.1025, allocations: 0 / 0.522 GB, free: 5.492 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.224e-05/0.1026, allocations: 38.56 kB / 0.522 GB, free: 5.445 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.052e-06/0.1026, allocations: 0 / 0.522 GB, free: 5.445 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001704/0.1043, allocations: 0.5265 MB / 0.5226 GB, free: 4.891 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.649e-05/0.1043, allocations: 81.11 kB / 0.5226 GB, free: 4.793 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003857/0.1047, allocations: 215.2 kB / 0.5228 GB, free: 4.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.357e-05/0.1048, allocations: 25.7 kB / 0.5229 GB, free: 4.539 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.1049, allocations: 143.6 kB / 0.523 GB, free: 4.395 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.661e-05/0.1049, allocations: 47.62 kB / 0.523 GB, free: 4.348 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.393e-05/0.105, allocations: 29.72 kB / 0.5231 GB, free: 4.312 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.1051, allocations: 334.8 kB / 0.5234 GB, free: 3.977 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001525/0.1053, allocations: 68.83 kB / 0.5235 GB, free: 3.906 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001723/0.1055, allocations: 84.64 kB / 0.5235 GB, free: 3.816 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000292/0.1058, allocations: 149.5 kB / 0.5237 GB, free: 3.664 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1058, allocations: 0 / 0.5237 GB, free: 3.664 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003761/0.1061, allocations: 195 kB / 0.5239 GB, free: 3.469 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.1062, allocations: 4 kB / 0.5239 GB, free: 3.465 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.1062, allocations: 4 kB / 0.5239 GB, free: 3.461 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.1062, allocations: 0 / 0.5239 GB, free: 3.461 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002587/0.1064, allocations: 43.97 kB / 0.5239 GB, free: 3.418 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.1064, allocations: 0 / 0.5239 GB, free: 3.418 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000198/0.1066, allocations: 27.86 kB / 0.5239 GB, free: 3.391 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.654e-05/0.1067, allocations: 11.97 kB / 0.524 GB, free: 3.379 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001682/0.1068, allocations: 144.1 kB / 0.5241 GB, free: 3.234 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001229/0.1069, allocations: 74.55 kB / 0.5242 GB, free: 3.152 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001902/0.1071, allocations: 127.4 kB / 0.5243 GB, free: 3.023 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.92e-07/0.1071, allocations: 0 / 0.5243 GB, free: 3.023 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization_lambda0): time 0.0002744/0.1074, allocations: 167.3 kB / 0.5244 GB, free: 2.855 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.176e-06/0.1074, allocations: 8 kB / 0.5245 GB, free: 2.848 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-06/0.1074, allocations: 4.062 kB / 0.5245 GB, free: 2.844 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-06/0.1074, allocations: 0 / 0.5245 GB, free: 2.844 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002287/0.1076, allocations: 43.97 kB / 0.5245 GB, free: 2.801 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.054e-06/0.1077, allocations: 0 / 0.5245 GB, free: 2.801 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001768/0.1078, allocations: 27.86 kB / 0.5245 GB, free: 2.773 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.1078, allocations: 0 / 0.5245 GB, free: 2.773 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.0001345/0.108, allocations: 192.9 kB / 0.5247 GB, free: 2.578 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.556e-05/0.108, allocations: 15.91 kB / 0.5247 GB, free: 2.562 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007876/0.1088, allocations: 283.6 kB / 0.525 GB, free: 2.273 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.1088, allocations: 0 / 0.525 GB, free: 2.273 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.1088, allocations: 3.984 kB / 0.525 GB, free: 2.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.1088, allocations: 0 / 0.525 GB, free: 2.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003503/0.1092, allocations: 269.5 kB / 0.5253 GB, free: 1.957 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.1092, allocations: 3.938 kB / 0.5253 GB, free: 1.953 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/0.1093, allocations: 11.98 kB / 0.5253 GB, free: 1.941 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003478/0.1096, allocations: 84.78 kB / 0.5254 GB, free: 1.855 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.079e-05/0.1096, allocations: 8 kB / 0.5254 GB, free: 1.848 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00236/0.112, allocations: 1.84 MB / 0.5272 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.112, allocations: 0 / 0.5272 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009281/0.1129, allocations: 440 kB / 0.5276 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.838e-05/0.113, allocations: 92.95 kB / 0.5277 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.056e-05/0.113, allocations: 16.03 kB / 0.5277 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002209/0.1133, allocations: 15.97 kB / 0.5277 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.329e-05/0.1133, allocations: 19.92 kB / 0.5277 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.1133, allocations: 4 kB / 0.5277 GB, free: 15.25 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003106/0.1136, allocations: 165.1 kB / 0.5279 GB, free: 15.09 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1136, allocations: 4 kB / 0.5279 GB, free: 15.09 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003739/0.114, allocations: 51.89 kB / 0.5279 GB, free: 15.04 MB / 398.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.0001408/0.1141, allocations: 115.2 kB / 0.528 GB, free: 14.92 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004786/0.1146, allocations: 195.8 kB / 0.5282 GB, free: 14.73 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.1146, allocations: 4 kB / 0.5282 GB, free: 14.72 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003925/0.115, allocations: 206.7 kB / 0.5284 GB, free: 14.51 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003403/0.1154, allocations: 38.06 kB / 0.5285 GB, free: 14.47 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007828/0.1161, allocations: 412.5 kB / 0.5289 GB, free: 14.04 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003629/0.1165, allocations: 0.7398 MB / 0.5296 GB, free: 13.28 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.761e-05/0.1166, allocations: 15.44 kB / 0.5296 GB, free: 13.26 MB / 398.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1166, allocations: 0 / 0.5296 GB, free: 13.26 MB / 398.1 MB Notification: Performance of Templates: time 0.004695/0.1213, allocations: 2.499 MB / 0.532 GB, free: 10.77 MB / 398.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 -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: 7.335534238955006] Failed to read output from testmodel.py, exit status != 0: 0.1289501970168203 0.14255078999999996 0.041393988 Calling exit ...