Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop.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.00186/0.00186, allocations: 110 kB / 18.93 MB, free: 2.945 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.002394/0.002394, allocations: 189.5 kB / 22.23 MB, free: 5.16 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.689/1.689, 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.09851/0.09851, 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) Running command: translateModel(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop") translateModel(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002953/0.002953, allocations: 63.83 kB / 463.1 MB, free: 14.6 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1692, allocations: 58.06 MB / 0.5089 GB, free: 4.43 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop): time 0.005458/0.1746, allocations: 2.308 MB / 0.5112 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001295/0.1759, allocations: 0.522 MB / 0.5117 GB, free: 1.578 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001401/0.1761, allocations: 4 kB / 0.5117 GB, free: 1.574 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001864/0.1763, allocations: 31.7 kB / 0.5117 GB, free: 1.543 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001939/0.1765, allocations: 63.41 kB / 0.5118 GB, free: 1.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002494/0.1767, allocations: 39.95 kB / 0.5118 GB, free: 1.441 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003999/0.1771, allocations: 215 kB / 0.512 GB, free: 1.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002706/0.1774, allocations: 80.44 kB / 0.5121 GB, free: 1.145 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001416/0.1775, allocations: 79.72 kB / 0.5122 GB, free: 1.066 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002104/0.1777, allocations: 91.62 kB / 0.5123 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.442e-05/0.1778, allocations: 16 kB / 0.5123 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.537e-05/0.1778, allocations: 20 kB / 0.5123 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.785e-05/0.1779, allocations: 47.72 kB / 0.5124 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001663/0.1781, allocations: 95.59 kB / 0.5124 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004538/0.1785, allocations: 215.1 kB / 0.5127 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1785, allocations: 0 / 0.5127 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1785, allocations: 0 / 0.5127 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.808e-06/0.1785, allocations: 0 / 0.5127 GB, free: 0.5898 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001057/0.1796, allocations: 410 kB / 0.513 GB, free: 164 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/0.1797, allocations: 8.031 kB / 0.5131 GB, free: 156 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.988e-05/0.1797, allocations: 20.84 kB / 0.5131 GB, free: 136 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2798/0.4595, allocations: 163 kB / 0.5132 GB, free: 15.28 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.986e-05/0.4596, allocations: 12.12 kB / 0.5132 GB, free: 15.28 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.985e-05/0.4596, allocations: 21.44 kB / 0.5133 GB, free: 15.28 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004624/0.4601, allocations: 171.3 kB / 0.5134 GB, free: 15.24 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.4601, allocations: 5.938 kB / 0.5134 GB, free: 15.24 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.65e-05/0.4601, allocations: 8.688 kB / 0.5134 GB, free: 15.24 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.4601, allocations: 4.625 kB / 0.5134 GB, free: 15.24 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003096/0.4605, allocations: 129.5 kB / 0.5136 GB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001048/0.4615, allocations: 0.6334 MB / 0.5142 GB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003077/0.4618, allocations: 122.5 kB / 0.5143 GB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000133/0.4619, allocations: 63.25 kB / 0.5144 GB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.462, allocations: 3.531 kB / 0.5144 GB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.432e-05/0.462, allocations: 32.78 kB / 0.5144 GB, free: 14.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.643e-06/0.462, allocations: 0.5312 kB / 0.5144 GB, free: 14.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004016/0.4624, allocations: 167 kB / 0.5146 GB, free: 14.8 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.166e-05/0.4624, allocations: 57.03 kB / 0.5146 GB, free: 14.73 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.225e-05/0.4625, allocations: 127.8 kB / 0.5147 GB, free: 14.64 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.4625, allocations: 30.02 kB / 0.5148 GB, free: 14.61 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.654e-05/0.4625, allocations: 133.1 kB / 0.5149 GB, free: 14.49 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.471e-05/0.4626, allocations: 59.67 kB / 0.5149 GB, free: 14.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.211e-05/0.4626, allocations: 38.16 kB / 0.515 GB, free: 14.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.845e-05/0.4627, allocations: 328.3 kB / 0.5153 GB, free: 14.12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.934e-05/0.4628, allocations: 40.22 kB / 0.5153 GB, free: 14.12 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.4629, allocations: 73.86 kB / 0.5154 GB, free: 14.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002001/0.4631, allocations: 120.2 kB / 0.5155 GB, free: 14.05 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.4631, allocations: 0 / 0.5155 GB, free: 14.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002623/0.4634, allocations: 162.7 kB / 0.5157 GB, free: 14.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.4634, allocations: 9.719 kB / 0.5157 GB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.4634, allocations: 1.938 kB / 0.5157 GB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.4634, allocations: 5.594 kB / 0.5157 GB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001745/0.4636, allocations: 40.39 kB / 0.5157 GB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.4636, allocations: 4.781 kB / 0.5157 GB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.277e-05/0.4636, allocations: 16.52 kB / 0.5157 GB, free: 14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.4637, allocations: 4.719 kB / 0.5158 GB, free: 14 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (21): * Single equations (assignments): 21 * 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.32e-05/0.4637, allocations: 132.9 kB / 0.5159 GB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.573e-05/0.4638, allocations: 13.27 kB / 0.5159 GB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.927e-05/0.4638, allocations: 18 kB / 0.5159 GB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.4638, allocations: 5.031 kB / 0.5159 GB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.4638, allocations: 1.156 kB / 0.5159 GB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.4638, allocations: 0 / 0.5159 GB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002519/0.4641, allocations: 237.6 kB / 0.5161 GB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4641, allocations: 1.031 kB / 0.5161 GB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001906/0.4643, allocations: 35.89 kB / 0.5162 GB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.4643, allocations: 1.125 kB / 0.5162 GB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.4643, allocations: 6.422 kB / 0.5162 GB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.746e-06/0.4643, allocations: 5 kB / 0.5162 GB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.4643, allocations: 0 / 0.5162 GB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003732/0.4647, allocations: 293.3 kB / 0.5165 GB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.736e-05/0.4647, allocations: 8.047 kB / 0.5165 GB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.342e-05/0.4647, allocations: 5.75 kB / 0.5165 GB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.4648, allocations: 13.06 kB / 0.5165 GB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.929e-05/0.4649, allocations: 9.688 kB / 0.5165 GB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.277e-06/0.4649, allocations: 6.438 kB / 0.5165 GB, free: 13.57 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.225e-05/0.4649, allocations: 99.5 kB / 0.5166 GB, free: 13.49 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4649, allocations: 1.219 kB / 0.5166 GB, free: 13.49 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000272/0.4652, allocations: 45.11 kB / 0.5166 GB, free: 13.48 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Cbody.T,Ccont.T) * 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 (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 Backend phase and start with SimCode phase: time 8.55e-05/0.4653, allocations: 109.8 kB / 0.5168 GB, free: 13.39 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002834/0.4656, allocations: 99.2 kB / 0.5168 GB, free: 13.39 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4656, allocations: 1.5 kB / 0.5168 GB, free: 13.39 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001102/0.4657, allocations: 56.16 kB / 0.5169 GB, free: 13.39 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/0.4659, allocations: 15.14 kB / 0.5169 GB, free: 13.39 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007669/0.4667, allocations: 480.1 kB / 0.5174 GB, free: 13.11 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001529/0.4669, allocations: 0.7231 MB / 0.5181 GB, free: 12.42 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.316e-05/0.4669, allocations: 9.438 kB / 0.5181 GB, free: 12.41 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.623e-05/0.467, allocations: 13.72 kB / 0.5181 GB, free: 12.41 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.467, allocations: 0 / 0.5181 GB, free: 12.41 MB / 382.1 MB Notification: Performance of Templates: time 0.004896/0.4719, allocations: 1.318 MB / 0.5194 GB, free: 12.31 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop.makefile [Timeout 660] (rm -f AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop.pipe ; mkfifo AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop.pipe ; head -c 1048576 < AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop.pipe >> ../files/AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop.sim & ./AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.4302759589627385] Failed to read output from testmodel.py, exit status != 0: 0.48224993143230677 0.494393666 0.31260597100000004 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fbe05c917b0>