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.001338/0.001338, allocations: 114.6 kB / 18.94 MB, free: 2.789 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.001486/0.001486, allocations: 222.4 kB / 22.26 MB, free: 5.211 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.504/1.504, allocations: 230.6 MB / 256 MB, free: 8.012 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 / 336.5 MB, free: 11.63 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) 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.003157/0.003157, allocations: 63.91 kB / 474.4 MB, free: 5.246 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.432/0.4352, allocations: 59.57 MB / 0.5215 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Keep_below_limit): time 0.00478/0.44, allocations: 1.867 MB / 0.5233 GB, free: 9.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001683/0.4416, allocations: 0.6425 MB / 0.5239 GB, free: 9.121 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002366/0.4419, allocations: 2.188 kB / 0.5239 GB, free: 9.121 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003476/0.4422, allocations: 31.75 kB / 0.524 GB, free: 9.102 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002377/0.4425, allocations: 47.55 kB / 0.524 GB, free: 9.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003913/0.4429, allocations: 115.5 kB / 0.5241 GB, free: 9.008 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000432/0.4433, allocations: 245.2 kB / 0.5244 GB, free: 8.902 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001693/0.4435, allocations: 46.36 kB / 0.5244 GB, free: 8.875 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001942/0.4437, allocations: 84.53 kB / 0.5245 GB, free: 8.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002078/0.4439, allocations: 103.5 kB / 0.5246 GB, free: 8.793 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.25e-05/0.4439, allocations: 15.12 kB / 0.5246 GB, free: 8.793 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.926e-05/0.444, allocations: 21.5 kB / 0.5246 GB, free: 8.789 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.4441, allocations: 59.06 kB / 0.5247 GB, free: 8.758 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.284e-05/0.4442, allocations: 81.8 kB / 0.5248 GB, free: 8.699 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002754/0.4444, allocations: 185.8 kB / 0.5249 GB, free: 8.621 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.4444, allocations: 0 / 0.5249 GB, free: 8.621 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4444, allocations: 1.281 kB / 0.5249 GB, free: 8.621 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.565e-05/0.4444, allocations: 0 / 0.5249 GB, free: 8.621 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.001186/0.4456, allocations: 453.7 kB / 0.5254 GB, free: 8.277 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.4457, allocations: 8.938 kB / 0.5254 GB, free: 8.277 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.354e-05/0.4458, allocations: 22.52 kB / 0.5254 GB, free: 8.266 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005136/0.4463, allocations: 217.5 kB / 0.5256 GB, free: 8.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.4463, allocations: 14.45 kB / 0.5256 GB, free: 8.082 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.379e-05/0.4464, allocations: 11.84 kB / 0.5256 GB, free: 8.078 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003568/0.4467, allocations: 171.6 kB / 0.5258 GB, free: 7.988 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/0.4467, allocations: 0 / 0.5258 GB, free: 7.988 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.482e-05/0.4468, allocations: 5.438 kB / 0.5258 GB, free: 7.984 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.4468, allocations: 2.938 kB / 0.5258 GB, free: 7.984 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002955/0.4471, allocations: 126.4 kB / 0.5259 GB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001035/0.4481, allocations: 0.4967 MB / 0.5264 GB, free: 7.609 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005432/0.4486, allocations: 179.9 kB / 0.5266 GB, free: 7.543 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001424/0.4488, allocations: 66 kB / 0.5266 GB, free: 7.516 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.559e-05/0.4488, allocations: 2.719 kB / 0.5266 GB, free: 7.516 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.819e-05/0.4488, allocations: 36.97 kB / 0.5267 GB, free: 7.473 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/0.4488, allocations: 4 kB / 0.5267 GB, free: 7.469 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001616/0.4504, allocations: 469.8 kB / 0.5271 GB, free: 7.336 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.061e-05/0.4505, allocations: 78.23 kB / 0.5272 GB, free: 7.242 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003638/0.4509, allocations: 215.2 kB / 0.5274 GB, free: 7.117 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.4509, allocations: 29.7 kB / 0.5274 GB, free: 7.082 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.125e-05/0.4509, allocations: 139.6 kB / 0.5276 GB, free: 6.957 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.941e-05/0.451, allocations: 51.3 kB / 0.5276 GB, free: 6.914 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.66e-05/0.4511, allocations: 38.02 kB / 0.5277 GB, free: 6.887 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.161e-05/0.4511, allocations: 330.9 kB / 0.528 GB, free: 6.562 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/0.4512, allocations: 61.52 kB / 0.528 GB, free: 6.539 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001482/0.4514, allocations: 91.31 kB / 0.5281 GB, free: 6.492 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002772/0.4517, allocations: 141.9 kB / 0.5283 GB, free: 6.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.4517, allocations: 1.156 kB / 0.5283 GB, free: 6.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003814/0.4521, allocations: 189.5 kB / 0.5284 GB, free: 6.344 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.4521, allocations: 6.203 kB / 0.5284 GB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.4521, allocations: 0 / 0.5284 GB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.4521, allocations: 1.375 kB / 0.5284 GB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002643/0.4524, allocations: 43.78 kB / 0.5285 GB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.719e-06/0.4524, allocations: 5.875 kB / 0.5285 GB, free: 6.336 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002126/0.4526, allocations: 27.05 kB / 0.5285 GB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.988e-05/0.4526, allocations: 8.672 kB / 0.5285 GB, free: 6.324 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001598/0.4528, allocations: 149.8 kB / 0.5287 GB, free: 6.215 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001097/0.4529, allocations: 89.11 kB / 0.5288 GB, free: 6.16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001817/0.4531, allocations: 122.2 kB / 0.5289 GB, free: 6.098 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.854e-06/0.4531, allocations: 4.781 kB / 0.5289 GB, free: 6.094 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization_lambda0): time 0.0002854/0.4533, allocations: 161.5 kB / 0.529 GB, free: 6.016 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.4534, allocations: 5.531 kB / 0.529 GB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.4534, allocations: 1.922 kB / 0.529 GB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.129e-06/0.4534, allocations: 1.031 kB / 0.529 GB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002231/0.4536, allocations: 38.5 kB / 0.5291 GB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.4536, allocations: 2.109 kB / 0.5291 GB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00017/0.4538, allocations: 29.03 kB / 0.5291 GB, free: 6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.4538, allocations: 8 kB / 0.5291 GB, free: 5.996 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.692e-05/0.4539, allocations: 190.6 kB / 0.5293 GB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.523e-05/0.4539, allocations: 15.47 kB / 0.5293 GB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008334/0.4547, allocations: 286.8 kB / 0.5296 GB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.4548, allocations: 2.25 kB / 0.5296 GB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.4548, allocations: 0 / 0.5296 GB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.271e-06/0.4548, allocations: 0.8906 kB / 0.5296 GB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003698/0.4551, allocations: 238.8 kB / 0.5298 GB, free: 5.484 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/0.4551, allocations: 3.938 kB / 0.5298 GB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/0.4552, allocations: 12.66 kB / 0.5298 GB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003885/0.4556, allocations: 88.44 kB / 0.5299 GB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.059e-05/0.4557, allocations: 2.516 kB / 0.5299 GB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001878/0.4575, allocations: 1.734 MB / 0.5316 GB, free: 4.012 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.4575, allocations: 1.125 kB / 0.5316 GB, free: 4.012 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008001/0.4583, allocations: 439.6 kB / 0.532 GB, free: 3.773 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.98e-05/0.4584, allocations: 23.92 kB / 0.5321 GB, free: 3.758 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.85e-05/0.4584, allocations: 5.875 kB / 0.5321 GB, free: 3.754 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002145/0.4586, allocations: 20.14 kB / 0.5321 GB, free: 3.754 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.406e-05/0.4587, allocations: 14.38 kB / 0.5321 GB, free: 3.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.4587, allocations: 2.375 kB / 0.5321 GB, free: 3.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002971/0.459, allocations: 170.6 kB / 0.5323 GB, free: 3.652 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.459, allocations: 0 / 0.5323 GB, free: 3.652 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004192/0.4594, allocations: 58.2 kB / 0.5323 GB, free: 3.637 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.0001197/0.4595, allocations: 109.5 kB / 0.5324 GB, free: 3.539 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005577/0.4601, allocations: 203.7 kB / 0.5326 GB, free: 3.48 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4601, allocations: 0 / 0.5326 GB, free: 3.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004031/0.4605, allocations: 208.9 kB / 0.5328 GB, free: 3.336 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003568/0.4608, allocations: 34.73 kB / 0.5328 GB, free: 3.32 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008512/0.4617, allocations: 392.2 kB / 0.5332 GB, free: 3.074 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002353/0.4619, allocations: 0.7362 MB / 0.5339 GB, free: 2.371 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001373/0.4621, allocations: 33.33 kB / 0.534 GB, free: 2.371 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.019e-05/0.4621, allocations: 22.53 kB / 0.534 GB, free: 2.355 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4621, allocations: 2.75 kB / 0.534 GB, free: 2.355 MB / 382.1 MB Notification: Performance of Templates: time 0.008097/0.4702, allocations: 2.622 MB / 0.5366 GB, free: 2.164 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 -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.197242927737534] Failed to read output from testmodel.py, exit status != 0: 0.48146140947937965 0.497211541 0.048947017 Calling exit ...