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.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.001709/0.001709, allocations: 106.5 kB / 16.45 MB, free: 6.457 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.001838/0.001838, allocations: 198.8 kB / 19.41 MB, free: 3.645 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.546/1.546, allocations: 225.6 MB / 247.8 MB, free: 13.95 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.104/0.104, allocations: 22.7 MB / 325.4 MB, free: 3.531 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_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: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 63.89 kB / 458.4 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1282, allocations: 58.01 MB / 0.5043 GB, free: 6.434 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Keep_within_two_limits): time 0.003583/0.1318, allocations: 2.074 MB / 0.5063 GB, free: 4.348 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001305/0.1331, allocations: 0.6897 MB / 0.507 GB, free: 3.652 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001254/0.1332, allocations: 7.938 kB / 0.507 GB, free: 3.645 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003045/0.1335, allocations: 39.66 kB / 0.507 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001919/0.1337, allocations: 67.52 kB / 0.5071 GB, free: 3.539 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003935/0.1341, allocations: 171.8 kB / 0.5072 GB, free: 3.371 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003771/0.1345, allocations: 323.3 kB / 0.5076 GB, free: 3.055 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001937/0.1347, allocations: 84.16 kB / 0.5076 GB, free: 2.969 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001848/0.1348, allocations: 119.6 kB / 0.5077 GB, free: 2.852 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002168/0.1351, allocations: 147.3 kB / 0.5079 GB, free: 2.707 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.334e-05/0.1351, allocations: 28 kB / 0.5079 GB, free: 2.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.282e-05/0.1352, allocations: 28 kB / 0.5079 GB, free: 2.652 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.1353, allocations: 79.73 kB / 0.508 GB, free: 2.574 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001196/0.1354, allocations: 127.3 kB / 0.5081 GB, free: 2.449 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003322/0.1357, allocations: 298.7 kB / 0.5084 GB, free: 2.156 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1357, allocations: 0 / 0.5084 GB, free: 2.156 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1357, allocations: 0 / 0.5084 GB, free: 2.156 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.1357, allocations: 0 / 0.5084 GB, free: 2.156 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.001262/0.137, allocations: 0.6155 MB / 0.509 GB, free: 1.492 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.137, allocations: 19.95 kB / 0.509 GB, free: 1.473 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.471e-05/0.1371, allocations: 28.75 kB / 0.5091 GB, free: 1.445 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005552/0.1377, allocations: 322.8 kB / 0.5094 GB, free: 1.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.1377, allocations: 12.75 kB / 0.5094 GB, free: 1.078 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.358e-05/0.1377, allocations: 24.36 kB / 0.5094 GB, free: 1.055 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000485/0.1382, allocations: 262.3 kB / 0.5097 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.1382, allocations: 0 / 0.5097 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.826e-05/0.1383, allocations: 8 kB / 0.5097 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.1383, allocations: 4 kB / 0.5097 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004451/0.1387, allocations: 183.9 kB / 0.5099 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2961/0.4348, allocations: 0.701 MB / 0.5105 GB, free: 16.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009755/0.4358, allocations: 252.2 kB / 0.5108 GB, free: 16.4 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002558/0.436, allocations: 94.58 kB / 0.5109 GB, free: 16.39 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.599e-05/0.4361, allocations: 4.406 kB / 0.5109 GB, free: 16.39 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.4361, allocations: 32.31 kB / 0.5109 GB, free: 16.36 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 2.936e-06/0.4361, allocations: 1.25 kB / 0.5109 GB, free: 16.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.003034/0.4391, allocations: 0.8243 MB / 0.5117 GB, free: 16.22 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.374e-05/0.4392, allocations: 107.9 kB / 0.5118 GB, free: 16.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004565/0.4396, allocations: 257.1 kB / 0.5121 GB, free: 15.99 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.848e-05/0.4397, allocations: 30.77 kB / 0.5121 GB, free: 15.96 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.4398, allocations: 160.5 kB / 0.5122 GB, free: 15.88 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.531e-05/0.4398, allocations: 76.53 kB / 0.5123 GB, free: 15.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.086e-05/0.4399, allocations: 44.81 kB / 0.5124 GB, free: 15.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.76e-05/0.44, allocations: 333.5 kB / 0.5127 GB, free: 15.51 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002001/0.4402, allocations: 96.83 kB / 0.5128 GB, free: 15.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002211/0.4404, allocations: 134.4 kB / 0.5129 GB, free: 15.46 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003868/0.4408, allocations: 202.3 kB / 0.5131 GB, free: 15.44 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.4408, allocations: 8.188 kB / 0.5131 GB, free: 15.44 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004855/0.4413, allocations: 266 kB / 0.5133 GB, free: 15.39 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.4413, allocations: 7.547 kB / 0.5134 GB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.4413, allocations: 0 / 0.5134 GB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.4413, allocations: 2.156 kB / 0.5134 GB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003159/0.4416, allocations: 61.59 kB / 0.5134 GB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.4417, allocations: 4.844 kB / 0.5134 GB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000242/0.4419, allocations: 35.5 kB / 0.5135 GB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.156e-05/0.4419, allocations: 7.031 kB / 0.5135 GB, free: 15.39 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001904/0.4421, allocations: 172 kB / 0.5136 GB, free: 15.3 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001298/0.4422, allocations: 111.8 kB / 0.5137 GB, free: 15.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002361/0.4425, allocations: 166.8 kB / 0.5139 GB, free: 15.24 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.282e-06/0.4425, allocations: 1 kB / 0.5139 GB, free: 15.24 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0002996/0.4428, allocations: 222.1 kB / 0.5141 GB, free: 15.19 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.704e-06/0.4428, allocations: 3.5 kB / 0.5141 GB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-06/0.4428, allocations: 2.031 kB / 0.5141 GB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.615e-06/0.4428, allocations: 0.9375 kB / 0.5141 GB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002478/0.443, allocations: 52.06 kB / 0.5142 GB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.965e-06/0.443, allocations: 1.344 kB / 0.5142 GB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001949/0.4432, allocations: 31.08 kB / 0.5142 GB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.807e-05/0.4433, allocations: 12.83 kB / 0.5142 GB, free: 15.19 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 0.0001189/0.4434, allocations: 195.8 kB / 0.5144 GB, free: 15 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.064e-05/0.4434, allocations: 21.52 kB / 0.5144 GB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00119/0.4446, allocations: 406 kB / 0.5148 GB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.4446, allocations: 3.594 kB / 0.5148 GB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.353e-06/0.4446, allocations: 0 / 0.5148 GB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.4446, allocations: 5.188 kB / 0.5148 GB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004144/0.4451, allocations: 330.3 kB / 0.5151 GB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.4451, allocations: 1.062 kB / 0.5151 GB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.4452, allocations: 13.72 kB / 0.5151 GB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005422/0.4457, allocations: 147.8 kB / 0.5153 GB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.373e-05/0.4457, allocations: 1.125 kB / 0.5153 GB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003585/0.4493, allocations: 2.442 MB / 0.5177 GB, free: 12.83 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.4493, allocations: 0.875 kB / 0.5177 GB, free: 12.83 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00131/0.4506, allocations: 0.5813 MB / 0.5182 GB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.486e-05/0.4507, allocations: 103.3 kB / 0.5183 GB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/0.4507, allocations: 2.922 kB / 0.5183 GB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002579/0.451, allocations: 33.48 kB / 0.5184 GB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.44e-05/0.4511, allocations: 17.3 kB / 0.5184 GB, free: 12.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.4511, allocations: 5.312 kB / 0.5184 GB, free: 12.44 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003401/0.4514, allocations: 196.3 kB / 0.5186 GB, free: 12.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4514, allocations: 1.156 kB / 0.5186 GB, free: 12.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00051/0.4519, allocations: 95.08 kB / 0.5187 GB, free: 12.32 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 0.0001255/0.452, allocations: 111 kB / 0.5188 GB, free: 12.22 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000747/0.4528, allocations: 286.8 kB / 0.519 GB, free: 12.15 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4528, allocations: 0 / 0.519 GB, free: 12.15 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006344/0.4534, allocations: 271.8 kB / 0.5193 GB, free: 12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000444/0.4539, allocations: 47.97 kB / 0.5193 GB, free: 11.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001125/0.455, allocations: 0.5451 MB / 0.5199 GB, free: 11.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002333/0.4552, allocations: 0.755 MB / 0.5206 GB, free: 10.97 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001594/0.4554, allocations: 43.62 kB / 0.5207 GB, free: 10.96 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.476e-05/0.4555, allocations: 18.3 kB / 0.5207 GB, free: 10.96 MB / 382.1 MB Notification: Performance of SimCode: time 1.093e-06/0.4555, allocations: 1.094 kB / 0.5207 GB, free: 10.96 MB / 382.1 MB Notification: Performance of Templates: time 0.009636/0.4651, allocations: 3.687 MB / 0.5243 GB, free: 10.74 MB / 382.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_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: 5.225966247264296] Failed to read output from testmodel.py, exit status != 0: 0.47335005924105644 0.48531773699999997 0.34673724499999997 Calling exit ...