Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_control_structures.Keep_below_limit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002735/0.002735, allocations: 189.6 kB / 22.22 MB, free: 5.102 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.51/1.51, allocations: 225.6 MB / 251 MB, free: 13.02 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.1012/0.1012, allocations: 22.7 MB / 329 MB, free: 2.355 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Ignoring simflag -noemit -variableFilter=.* since it seems broken on HelloWorld Running command: translateModel(AES.Coursework.Typical_control_structures.Keep_below_limit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Keep_below_limit") translateModel(AES.Coursework.Typical_control_structures.Keep_below_limit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Keep_below_limit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003196/0.003196, allocations: 67.89 kB / 463.9 MB, free: 13.82 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1678, allocations: 58.06 MB / 0.5097 GB, free: 3.66 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Keep_below_limit): time 0.00486/0.1726, allocations: 1.866 MB / 0.5115 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001743/0.1744, allocations: 0.6117 MB / 0.5121 GB, free: 1.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001958/0.1746, allocations: 7.938 kB / 0.5121 GB, free: 1.152 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004335/0.175, allocations: 23.8 kB / 0.5121 GB, free: 1.129 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002864/0.1753, allocations: 39.7 kB / 0.5122 GB, free: 1.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005174/0.1758, allocations: 119.8 kB / 0.5123 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007131/0.1765, allocations: 243.5 kB / 0.5125 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002105/0.1767, allocations: 41.72 kB / 0.5126 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002318/0.177, allocations: 91.67 kB / 0.5127 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002522/0.1772, allocations: 103.6 kB / 0.5128 GB, free: 0.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.83e-05/0.1773, allocations: 16 kB / 0.5128 GB, free: 496 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.82e-05/0.1773, allocations: 16 kB / 0.5128 GB, free: 480 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001322/0.1775, allocations: 55.83 kB / 0.5128 GB, free: 424 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001319/0.1776, allocations: 75.53 kB / 0.5129 GB, free: 348 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000374/0.178, allocations: 187.2 kB / 0.5131 GB, free: 160 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.788e-06/0.178, allocations: 0 / 0.5131 GB, free: 160 kB / 382.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.178, allocations: 0 / 0.5131 GB, free: 160 kB / 382.1 MB Notification: Performance of Transformations before backend: time 1.075e-05/0.178, allocations: 3.938 kB / 0.5131 GB, free: 156 kB / 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.2828/0.4608, allocations: 463.7 kB / 0.5135 GB, free: 15.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.4608, allocations: 9.766 kB / 0.5135 GB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.863e-05/0.4609, allocations: 18.91 kB / 0.5136 GB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000471/0.4614, allocations: 211.2 kB / 0.5138 GB, free: 15.37 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.4614, allocations: 9.172 kB / 0.5138 GB, free: 15.37 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.873e-05/0.4614, allocations: 16.34 kB / 0.5138 GB, free: 15.37 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003289/0.4618, allocations: 163.6 kB / 0.5139 GB, free: 15.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.4618, allocations: 0 / 0.5139 GB, free: 15.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.02e-05/0.4618, allocations: 9 kB / 0.514 GB, free: 15.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.4618, allocations: 3.188 kB / 0.514 GB, free: 15.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000285/0.4621, allocations: 123.9 kB / 0.5141 GB, free: 15.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008718/0.463, allocations: 0.5038 MB / 0.5146 GB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005586/0.4635, allocations: 180.9 kB / 0.5147 GB, free: 15.05 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001439/0.4637, allocations: 69.33 kB / 0.5148 GB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.4637, allocations: 8.938 kB / 0.5148 GB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.4637, allocations: 33.5 kB / 0.5148 GB, free: 15 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.212e-06/0.4637, allocations: 3.625 kB / 0.5149 GB, free: 15 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001597/0.4653, allocations: 455.2 kB / 0.5153 GB, free: 14.95 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/0.4653, allocations: 82.7 kB / 0.5154 GB, free: 14.86 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003206/0.4657, allocations: 215.3 kB / 0.5156 GB, free: 14.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.4657, allocations: 33.77 kB / 0.5156 GB, free: 14.72 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.635e-05/0.4658, allocations: 133.2 kB / 0.5157 GB, free: 14.63 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.527e-05/0.4658, allocations: 49.8 kB / 0.5158 GB, free: 14.6 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.217e-05/0.4659, allocations: 39.5 kB / 0.5158 GB, free: 14.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.826e-05/0.4659, allocations: 328.6 kB / 0.5161 GB, free: 14.27 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/0.466, allocations: 64.88 kB / 0.5162 GB, free: 14.26 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/0.4662, allocations: 88.25 kB / 0.5163 GB, free: 14.24 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002538/0.4664, allocations: 140.3 kB / 0.5164 GB, free: 14.22 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4664, allocations: 3.562 kB / 0.5164 GB, free: 14.22 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003259/0.4668, allocations: 191.2 kB / 0.5166 GB, free: 14.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.4668, allocations: 8.969 kB / 0.5166 GB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.4668, allocations: 1.031 kB / 0.5166 GB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.4668, allocations: 1.094 kB / 0.5166 GB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002463/0.4671, allocations: 45.95 kB / 0.5166 GB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.4671, allocations: 0 / 0.5166 GB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001736/0.4672, allocations: 26.38 kB / 0.5167 GB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.4672, allocations: 3.75 kB / 0.5167 GB, free: 14.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001216/0.4674, allocations: 159.3 kB / 0.5168 GB, free: 14.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.112e-05/0.4675, allocations: 69.09 kB / 0.5169 GB, free: 14.06 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001609/0.4676, allocations: 120.9 kB / 0.517 GB, free: 14.05 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.72e-07/0.4676, allocations: 3.469 kB / 0.517 GB, free: 14.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization_lambda0): time 0.0002096/0.4678, allocations: 172.1 kB / 0.5172 GB, free: 14 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.173e-06/0.4678, allocations: 7.016 kB / 0.5172 GB, free: 14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.904e-06/0.4678, allocations: 2.625 kB / 0.5172 GB, free: 14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-06/0.4678, allocations: 4.609 kB / 0.5172 GB, free: 14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000205/0.468, allocations: 34.72 kB / 0.5172 GB, free: 14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.853e-06/0.468, allocations: 6.594 kB / 0.5172 GB, free: 14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001586/0.4682, allocations: 17.75 kB / 0.5172 GB, free: 14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.417e-06/0.4682, allocations: 5.781 kB / 0.5173 GB, free: 14 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.35e-05/0.4683, allocations: 190.3 kB / 0.5174 GB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.004e-05/0.4683, allocations: 17.47 kB / 0.5174 GB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006391/0.469, allocations: 276 kB / 0.5177 GB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.469, allocations: 3.484 kB / 0.5177 GB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.469, allocations: 4.625 kB / 0.5177 GB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.469, allocations: 0.7031 kB / 0.5177 GB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002425/0.4692, allocations: 245.1 kB / 0.518 GB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.4692, allocations: 5.688 kB / 0.518 GB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.665e-05/0.4693, allocations: 15.42 kB / 0.518 GB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003625/0.4697, allocations: 87.23 kB / 0.5181 GB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.762e-05/0.4697, allocations: 6 kB / 0.5181 GB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00172/0.4714, allocations: 1.727 MB / 0.5198 GB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4714, allocations: 1.281 kB / 0.5198 GB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000755/0.4722, allocations: 441 kB / 0.5202 GB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.438e-05/0.4722, allocations: 26.53 kB / 0.5202 GB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.966e-05/0.4722, allocations: 6.938 kB / 0.5202 GB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002174/0.4724, allocations: 24.03 kB / 0.5202 GB, free: 12.15 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.561e-05/0.4725, allocations: 15.17 kB / 0.5202 GB, free: 12.15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.4725, allocations: 3.312 kB / 0.5202 GB, free: 12.15 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002902/0.4728, allocations: 165.1 kB / 0.5204 GB, free: 12.05 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4728, allocations: 0 / 0.5204 GB, free: 12.05 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000367/0.4732, allocations: 56.08 kB / 0.5205 GB, free: 12.04 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.0001185/0.4733, allocations: 106.5 kB / 0.5206 GB, free: 11.95 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005/0.4738, allocations: 197.1 kB / 0.5207 GB, free: 11.9 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4738, allocations: 0 / 0.5207 GB, free: 11.9 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003727/0.4742, allocations: 209.1 kB / 0.5209 GB, free: 11.76 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003468/0.4745, allocations: 43.66 kB / 0.521 GB, free: 11.74 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008817/0.4754, allocations: 398.1 kB / 0.5214 GB, free: 11.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002733/0.4757, allocations: 0.7327 MB / 0.5221 GB, free: 10.8 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001427/0.4758, allocations: 37.09 kB / 0.5221 GB, free: 10.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.843e-05/0.4759, allocations: 15 kB / 0.5221 GB, free: 10.79 MB / 382.1 MB Notification: Performance of SimCode: time 7.81e-07/0.4759, allocations: 0 / 0.5221 GB, free: 10.79 MB / 382.1 MB Notification: Performance of Templates: time 0.008121/0.484, allocations: 2.61 MB / 0.5247 GB, free: 10.64 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Typical_control_structures.Keep_below_limit.makefile [Timeout 660] (rm -f AES_AES.Coursework.Typical_control_structures.Keep_below_limit.pipe ; mkfifo AES_AES.Coursework.Typical_control_structures.Keep_below_limit.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_control_structures.Keep_below_limit.pipe >> ../files/AES_AES.Coursework.Typical_control_structures.Keep_below_limit.sim & ./AES_AES.Coursework.Typical_control_structures.Keep_below_limit -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.Keep_below_limit.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.290347546339035] Failed to read output from testmodel.py, exit status != 0: 0.49464636761695147 0.505907828 0.32499125599999995 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fbcbe63d7b0>