Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_control_structures.Keep_within_two_limits.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.001282/0.001282, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001447/0.001447, allocations: 217.8 kB / 23.01 MB, free: 4.609 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.478/1.478, allocations: 230.6 MB / 256.8 MB, free: 8 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.1088/0.1088, allocations: 24.13 MB / 337.3 MB, free: 11.43 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.Typical_control_structures.Keep_within_two_limits,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Keep_within_two_limits") translateModel(AES.Coursework.Typical_control_structures.Keep_within_two_limits,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Keep_within_two_limits") [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.00341/0.00341, allocations: 67.91 kB / 475.3 MB, free: 5.113 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3643/0.3677, allocations: 59.6 MB / 0.5224 GB, free: 10.9 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Keep_within_two_limits): time 0.003343/0.371, allocations: 2.09 MB / 0.5244 GB, free: 9.449 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001321/0.3724, allocations: 0.7385 MB / 0.5252 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001325/0.3725, allocations: 3.469 kB / 0.5252 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003372/0.3728, allocations: 39.58 kB / 0.5252 GB, free: 8.902 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001731/0.373, allocations: 50.86 kB / 0.5253 GB, free: 8.867 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004026/0.3734, allocations: 192.1 kB / 0.5254 GB, free: 8.758 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004301/0.3738, allocations: 340.5 kB / 0.5258 GB, free: 8.609 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002053/0.374, allocations: 78.97 kB / 0.5258 GB, free: 8.566 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001964/0.3742, allocations: 134.2 kB / 0.526 GB, free: 8.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002427/0.3745, allocations: 145.3 kB / 0.5261 GB, free: 8.426 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.663e-05/0.3745, allocations: 26.94 kB / 0.5261 GB, free: 8.426 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.151e-05/0.3746, allocations: 27.22 kB / 0.5262 GB, free: 8.426 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.3747, allocations: 81.03 kB / 0.5262 GB, free: 8.379 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001073/0.3748, allocations: 120.4 kB / 0.5264 GB, free: 8.293 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003675/0.3752, allocations: 294.7 kB / 0.5266 GB, free: 8.164 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3752, allocations: 4 kB / 0.5266 GB, free: 8.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3752, allocations: 1.062 kB / 0.5266 GB, free: 8.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.291e-05/0.3752, allocations: 0.7031 kB / 0.5266 GB, free: 8.16 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001191/0.3764, allocations: 0.5527 MB / 0.5272 GB, free: 7.758 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.3764, allocations: 9.797 kB / 0.5272 GB, free: 7.758 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.526e-05/0.3765, allocations: 36.36 kB / 0.5272 GB, free: 7.738 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005138/0.377, allocations: 254.8 kB / 0.5275 GB, free: 7.551 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.3771, allocations: 16.22 kB / 0.5275 GB, free: 7.543 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.583e-05/0.3771, allocations: 23.48 kB / 0.5275 GB, free: 7.535 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000491/0.3776, allocations: 254.3 kB / 0.5277 GB, free: 7.406 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.3776, allocations: 0 / 0.5277 GB, free: 7.406 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.66e-05/0.3776, allocations: 11.03 kB / 0.5278 GB, free: 7.398 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.3777, allocations: 3.625 kB / 0.5278 GB, free: 7.398 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000408/0.3781, allocations: 193.8 kB / 0.5279 GB, free: 7.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001165/0.3792, allocations: 0.6747 MB / 0.5286 GB, free: 6.922 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007457/0.38, allocations: 254.2 kB / 0.5288 GB, free: 6.836 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001976/0.3802, allocations: 93.84 kB / 0.5289 GB, free: 6.801 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.104e-05/0.3802, allocations: 2.922 kB / 0.5289 GB, free: 6.801 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.3802, allocations: 36.75 kB / 0.529 GB, free: 6.758 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 1.323e-06/0.3802, allocations: 0 / 0.529 GB, free: 6.758 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.002568/0.3828, allocations: 0.7363 MB / 0.5297 GB, free: 6.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.3828, allocations: 106.1 kB / 0.5298 GB, free: 6.465 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000401/0.3832, allocations: 268.9 kB / 0.53 GB, free: 6.309 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.3833, allocations: 30.8 kB / 0.5301 GB, free: 6.273 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.893e-05/0.3833, allocations: 163.8 kB / 0.5302 GB, free: 6.129 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.341e-05/0.3834, allocations: 68.91 kB / 0.5303 GB, free: 6.074 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.579e-05/0.3835, allocations: 42.23 kB / 0.5303 GB, free: 6.047 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.197e-05/0.3835, allocations: 335.6 kB / 0.5307 GB, free: 5.723 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002005/0.3837, allocations: 98.55 kB / 0.5308 GB, free: 5.684 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002161/0.384, allocations: 133.5 kB / 0.5309 GB, free: 5.613 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003911/0.3843, allocations: 205.1 kB / 0.5311 GB, free: 5.523 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3843, allocations: 0 / 0.5311 GB, free: 5.523 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004829/0.3848, allocations: 270.1 kB / 0.5313 GB, free: 5.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.3848, allocations: 5.312 kB / 0.5313 GB, free: 5.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.3848, allocations: 1.219 kB / 0.5313 GB, free: 5.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.3849, allocations: 9.953 kB / 0.5314 GB, free: 5.402 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003161/0.3852, allocations: 62.2 kB / 0.5314 GB, free: 5.395 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.3852, allocations: 2.219 kB / 0.5314 GB, free: 5.395 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002435/0.3854, allocations: 41.92 kB / 0.5315 GB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.003e-05/0.3855, allocations: 5.297 kB / 0.5315 GB, free: 5.379 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001756/0.3856, allocations: 169.6 kB / 0.5316 GB, free: 5.262 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001388/0.3858, allocations: 113.2 kB / 0.5317 GB, free: 5.188 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002293/0.386, allocations: 161.1 kB / 0.5319 GB, free: 5.105 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.092e-06/0.386, allocations: 0 / 0.5319 GB, free: 5.105 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0003431/0.3863, allocations: 220 kB / 0.5321 GB, free: 5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.3864, allocations: 5.656 kB / 0.5321 GB, free: 5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.3864, allocations: 5.125 kB / 0.5321 GB, free: 4.996 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.26e-06/0.3864, allocations: 6.234 kB / 0.5321 GB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002826/0.3866, allocations: 49.39 kB / 0.5322 GB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.3867, allocations: 5.203 kB / 0.5322 GB, free: 4.984 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002049/0.3869, allocations: 36.53 kB / 0.5322 GB, free: 4.969 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.625e-05/0.3869, allocations: 5.188 kB / 0.5322 GB, free: 4.969 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (23): * Single equations (assignments): 23 * 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.65e-05/0.387, allocations: 184.4 kB / 0.5324 GB, free: 4.785 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.566e-05/0.387, allocations: 26.42 kB / 0.5324 GB, free: 4.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001037/0.388, allocations: 417.5 kB / 0.5328 GB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.768e-06/0.388, allocations: 0 / 0.5328 GB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3881, allocations: 0 / 0.5328 GB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.3881, allocations: 4.703 kB / 0.5328 GB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000338/0.3884, allocations: 294.6 kB / 0.5331 GB, free: 4.391 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3884, allocations: 1.156 kB / 0.5331 GB, free: 4.391 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/0.3885, allocations: 12.81 kB / 0.5331 GB, free: 4.391 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000493/0.389, allocations: 150.5 kB / 0.5332 GB, free: 4.344 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.943e-05/0.389, allocations: 5.312 kB / 0.5332 GB, free: 4.344 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002905/0.3919, allocations: 2.33 MB / 0.5355 GB, free: 2.594 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.3919, allocations: 5.75 kB / 0.5355 GB, free: 2.59 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/0.3931, allocations: 0.5817 MB / 0.5361 GB, free: 2.312 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.215e-05/0.3931, allocations: 24.45 kB / 0.5361 GB, free: 2.297 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.837e-05/0.3931, allocations: 7.297 kB / 0.5361 GB, free: 2.293 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002576/0.3934, allocations: 28.12 kB / 0.5362 GB, free: 2.289 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.763e-05/0.3935, allocations: 19.17 kB / 0.5362 GB, free: 2.285 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/0.3935, allocations: 8.562 kB / 0.5362 GB, free: 2.281 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003143/0.3938, allocations: 197.2 kB / 0.5364 GB, free: 2.176 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3938, allocations: 0 / 0.5364 GB, free: 2.176 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004783/0.3943, allocations: 87.97 kB / 0.5364 GB, free: 2.152 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (C_hi.FO.y,P.x_scaled[1],P.x_scaled[2],C_lo.FO.y) * 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 (9): * Single equations (assignments): 8 * 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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 9.207e-05/0.3944, allocations: 105.2 kB / 0.5365 GB, free: 2.055 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006121/0.395, allocations: 289.4 kB / 0.5368 GB, free: 1.969 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.395, allocations: 3.938 kB / 0.5368 GB, free: 1.965 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005297/0.3955, allocations: 275.8 kB / 0.5371 GB, free: 1.801 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003968/0.3959, allocations: 58.55 kB / 0.5371 GB, free: 1.777 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.3969, allocations: 0.5618 MB / 0.5377 GB, free: 1.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002137/0.3971, allocations: 0.7598 MB / 0.5384 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.902e-05/0.3972, allocations: 27.47 kB / 0.5385 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of SimCode: time 6.22e-07/0.3972, allocations: 0 / 0.5385 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of Templates: time 0.006041/0.4032, allocations: 3.511 MB / 0.5419 GB, free: 15.75 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Typical_control_structures.Keep_within_two_limits.makefile [Timeout 660] (rm -f AES_AES.Coursework.Typical_control_structures.Keep_within_two_limits.pipe ; mkfifo AES_AES.Coursework.Typical_control_structures.Keep_within_two_limits.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_control_structures.Keep_within_two_limits.pipe >> ../files/AES_AES.Coursework.Typical_control_structures.Keep_within_two_limits.sim & ./AES_AES.Coursework.Typical_control_structures.Keep_within_two_limits -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.Keep_within_two_limits.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.051157890120521] Failed to read output from testmodel.py, exit status != 0: 0.41456193407066166 0.426081276 0.047833779 Calling exit ...