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.001451/0.001451, allocations: 104.3 kB / 19.74 MB, free: 1.93 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.001809/0.001809, allocations: 209.8 kB / 23.04 MB, free: 4.953 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.595/1.595, allocations: 230.7 MB / 256.8 MB, free: 7.762 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.1107/0.1107, 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.002537/0.002537, allocations: 65.3 kB / 475.2 MB, free: 5.066 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4073/0.4098, allocations: 59.58 MB / 0.5223 GB, free: 10.87 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Keep_below_limit): time 0.003705/0.4135, allocations: 1.793 MB / 0.524 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001306/0.4148, allocations: 0.6036 MB / 0.5246 GB, free: 9.254 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001221/0.415, allocations: 2.188 kB / 0.5246 GB, free: 9.254 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002933/0.4153, allocations: 32.39 kB / 0.5246 GB, free: 9.234 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001628/0.4154, allocations: 45.81 kB / 0.5247 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003104/0.4157, allocations: 122.7 kB / 0.5248 GB, free: 9.137 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003263/0.4161, allocations: 235.1 kB / 0.525 GB, free: 9.039 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.4162, allocations: 46.19 kB / 0.5251 GB, free: 9.012 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001494/0.4164, allocations: 85.45 kB / 0.5251 GB, free: 8.977 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001773/0.4165, allocations: 97.47 kB / 0.5252 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.393e-05/0.4166, allocations: 17.62 kB / 0.5253 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.464e-05/0.4166, allocations: 16.78 kB / 0.5253 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.664e-05/0.4167, allocations: 54.44 kB / 0.5253 GB, free: 8.906 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.821e-05/0.4168, allocations: 60 kB / 0.5254 GB, free: 8.867 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002575/0.417, allocations: 194.1 kB / 0.5256 GB, free: 8.785 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.417, allocations: 4 kB / 0.5256 GB, free: 8.781 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.417, allocations: 0 / 0.5256 GB, free: 8.781 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.417, allocations: 0 / 0.5256 GB, free: 8.781 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.001054/0.4181, allocations: 451.1 kB / 0.526 GB, free: 8.441 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.4181, allocations: 13.81 kB / 0.526 GB, free: 8.438 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.723e-05/0.4182, allocations: 22.33 kB / 0.526 GB, free: 8.426 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004501/0.4186, allocations: 220.9 kB / 0.5262 GB, free: 8.246 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.4187, allocations: 10.27 kB / 0.5263 GB, free: 8.242 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.103e-05/0.4187, allocations: 13.56 kB / 0.5263 GB, free: 8.238 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003215/0.419, allocations: 195.7 kB / 0.5265 GB, free: 8.117 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.419, allocations: 0 / 0.5265 GB, free: 8.117 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.962e-05/0.4191, allocations: 9.641 kB / 0.5265 GB, free: 8.109 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.4191, allocations: 8 kB / 0.5265 GB, free: 8.105 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002884/0.4194, allocations: 116.8 kB / 0.5266 GB, free: 8.074 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008731/0.4202, allocations: 447.7 kB / 0.527 GB, free: 7.777 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005722/0.4208, allocations: 181.5 kB / 0.5272 GB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001327/0.4209, allocations: 72.2 kB / 0.5272 GB, free: 7.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.421, allocations: 1.062 kB / 0.5272 GB, free: 7.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.526e-05/0.421, allocations: 32.84 kB / 0.5273 GB, free: 7.641 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/0.421, allocations: 0 / 0.5273 GB, free: 7.641 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001601/0.4226, allocations: 470.6 kB / 0.5277 GB, free: 7.508 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.947e-05/0.4226, allocations: 79.3 kB / 0.5278 GB, free: 7.414 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003572/0.423, allocations: 224.3 kB / 0.528 GB, free: 7.277 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.423, allocations: 26.95 kB / 0.528 GB, free: 7.246 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.472e-05/0.4231, allocations: 130.3 kB / 0.5282 GB, free: 7.129 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.213e-05/0.4231, allocations: 49.11 kB / 0.5282 GB, free: 7.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.585e-05/0.4232, allocations: 33.11 kB / 0.5282 GB, free: 7.066 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.297e-05/0.4232, allocations: 332 kB / 0.5286 GB, free: 6.742 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/0.4234, allocations: 63.95 kB / 0.5286 GB, free: 6.719 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001659/0.4235, allocations: 122.6 kB / 0.5287 GB, free: 6.633 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002939/0.4238, allocations: 137.7 kB / 0.5289 GB, free: 6.574 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.4238, allocations: 0 / 0.5289 GB, free: 6.574 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003863/0.4242, allocations: 195.4 kB / 0.5291 GB, free: 6.484 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.4242, allocations: 5.406 kB / 0.5291 GB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.4243, allocations: 0.75 kB / 0.5291 GB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.4243, allocations: 2.094 kB / 0.5291 GB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00026/0.4245, allocations: 44.06 kB / 0.5291 GB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.4245, allocations: 1.125 kB / 0.5291 GB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001926/0.4247, allocations: 28.33 kB / 0.5291 GB, free: 6.473 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.568e-05/0.4247, allocations: 3.125 kB / 0.5291 GB, free: 6.473 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001433/0.4249, allocations: 149.8 kB / 0.5293 GB, free: 6.363 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001068/0.425, allocations: 103.6 kB / 0.5294 GB, free: 6.285 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00017/0.4252, allocations: 126.9 kB / 0.5295 GB, free: 6.223 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.002e-06/0.4252, allocations: 0 / 0.5295 GB, free: 6.223 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization_lambda0): time 0.0002603/0.4254, allocations: 170.9 kB / 0.5297 GB, free: 6.137 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/0.4254, allocations: 4.844 kB / 0.5297 GB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.046e-06/0.4254, allocations: 2.375 kB / 0.5297 GB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.717e-06/0.4254, allocations: 1.188 kB / 0.5297 GB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002206/0.4257, allocations: 34.97 kB / 0.5297 GB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.985e-06/0.4257, allocations: 1.344 kB / 0.5297 GB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001701/0.4258, allocations: 28.31 kB / 0.5297 GB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.4259, allocations: 4.172 kB / 0.5297 GB, free: 6.125 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 7.976e-05/0.4259, allocations: 195.6 kB / 0.5299 GB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.544e-05/0.426, allocations: 15.25 kB / 0.5299 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007387/0.4267, allocations: 281.8 kB / 0.5302 GB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.4267, allocations: 2.406 kB / 0.5302 GB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.4267, allocations: 0 / 0.5302 GB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.4267, allocations: 7 kB / 0.5302 GB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002606/0.427, allocations: 186.2 kB / 0.5304 GB, free: 5.648 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.427, allocations: 0 / 0.5304 GB, free: 5.648 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.4271, allocations: 12.66 kB / 0.5304 GB, free: 5.648 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003936/0.4275, allocations: 84.03 kB / 0.5305 GB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.514e-05/0.4275, allocations: 13.73 kB / 0.5305 GB, free: 5.613 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002086/0.4296, allocations: 1.697 MB / 0.5322 GB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.4296, allocations: 0 / 0.5322 GB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009207/0.4305, allocations: 434.6 kB / 0.5326 GB, free: 3.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.879e-05/0.4306, allocations: 22.83 kB / 0.5326 GB, free: 3.965 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.057e-05/0.4306, allocations: 10.08 kB / 0.5326 GB, free: 3.957 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002209/0.4308, allocations: 19.88 kB / 0.5326 GB, free: 3.957 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.004e-05/0.4309, allocations: 18.77 kB / 0.5326 GB, free: 3.949 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.4309, allocations: 2.531 kB / 0.5326 GB, free: 3.949 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000346/0.4312, allocations: 174.7 kB / 0.5328 GB, free: 3.848 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4312, allocations: 0 / 0.5328 GB, free: 3.848 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004166/0.4317, allocations: 58.23 kB / 0.5329 GB, free: 3.832 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.0001069/0.4318, allocations: 105.8 kB / 0.533 GB, free: 3.738 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000521/0.4323, allocations: 200.1 kB / 0.5332 GB, free: 3.684 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.4323, allocations: 0.6562 kB / 0.5332 GB, free: 3.684 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003378/0.4326, allocations: 213.3 kB / 0.5334 GB, free: 3.535 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003659/0.433, allocations: 28.97 kB / 0.5334 GB, free: 3.523 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009028/0.4339, allocations: 404.4 kB / 0.5338 GB, free: 3.266 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001301/0.434, allocations: 121.3 kB / 0.5339 GB, free: 3.191 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001389/0.4342, allocations: 40.88 kB / 0.5339 GB, free: 3.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.517e-05/0.4342, allocations: 17.25 kB / 0.5339 GB, free: 3.172 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4342, allocations: 0 / 0.5339 GB, free: 3.172 MB / 382.1 MB Notification: Performance of Templates: time 0.007608/0.4418, allocations: 2.478 MB / 0.5364 GB, free: 2.91 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 gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -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.31363285286352] Failed to read output from testmodel.py, exit status != 0: 0.45122228492982686 0.46515166900000005 0.044618373 Calling exit ...