Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control.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.001734/0.001734, allocations: 100.3 kB / 19.72 MB, free: 1.785 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.00246/0.00246, allocations: 209.5 kB / 23.01 MB, free: 4.621 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.626/1.626, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.1049/0.1049, allocations: 24.04 MB / 337.2 MB, free: 11.36 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) Running command: translateModel(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control") translateModel(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control") [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.002141/0.002141, allocations: 63.89 kB / 474.3 MB, free: 5.91 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4262/0.4283, allocations: 59.59 MB / 0.5214 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control): time 0.004535/0.4328, allocations: 2.954 MB / 0.5243 GB, free: 8.453 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001697/0.4345, allocations: 0.896 MB / 0.5252 GB, free: 7.828 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002384/0.4348, allocations: 16.44 kB / 0.5252 GB, free: 7.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000226/0.435, allocations: 65.02 kB / 0.5252 GB, free: 7.777 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002971/0.4353, allocations: 109.3 kB / 0.5253 GB, free: 7.695 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004686/0.4358, allocations: 195.7 kB / 0.5255 GB, free: 7.586 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005137/0.4363, allocations: 477.5 kB / 0.526 GB, free: 7.336 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003122/0.4366, allocations: 143.7 kB / 0.5261 GB, free: 7.262 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001982/0.4368, allocations: 172.3 kB / 0.5263 GB, free: 7.176 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002107/0.437, allocations: 162.3 kB / 0.5264 GB, free: 7.094 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.446e-05/0.4371, allocations: 38.97 kB / 0.5265 GB, free: 7.094 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.655e-05/0.4371, allocations: 43.66 kB / 0.5265 GB, free: 7.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.079e-05/0.4372, allocations: 88.91 kB / 0.5266 GB, free: 7.027 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001426/0.4373, allocations: 158.7 kB / 0.5268 GB, free: 6.938 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005972/0.4379, allocations: 466.9 kB / 0.5272 GB, free: 6.742 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.4379, allocations: 0 / 0.5272 GB, free: 6.742 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4379, allocations: 1.344 kB / 0.5272 GB, free: 6.742 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.408e-06/0.438, allocations: 0 / 0.5272 GB, free: 6.742 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: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.001015/0.439, allocations: 0.6429 MB / 0.5278 GB, free: 6.258 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.439, allocations: 17.19 kB / 0.5278 GB, free: 6.254 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.984e-05/0.4391, allocations: 52.75 kB / 0.5279 GB, free: 6.227 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004699/0.4396, allocations: 259.3 kB / 0.5281 GB, free: 6.012 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.578e-05/0.4396, allocations: 31.44 kB / 0.5282 GB, free: 5.992 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6e-05/0.4397, allocations: 31.16 kB / 0.5282 GB, free: 5.984 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000634/0.4403, allocations: 460.4 kB / 0.5286 GB, free: 5.695 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/0.4403, allocations: 1.031 kB / 0.5286 GB, free: 5.695 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.638e-05/0.4404, allocations: 15.31 kB / 0.5287 GB, free: 5.684 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/0.4404, allocations: 9.031 kB / 0.5287 GB, free: 5.684 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005324/0.4409, allocations: 252.8 kB / 0.5289 GB, free: 5.598 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001716/0.4426, allocations: 1.077 MB / 0.53 GB, free: 4.848 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006779/0.4433, allocations: 272.7 kB / 0.5302 GB, free: 4.734 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002184/0.4435, allocations: 112.3 kB / 0.5303 GB, free: 4.688 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.156e-05/0.4436, allocations: 7.734 kB / 0.5303 GB, free: 4.684 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.4436, allocations: 34.42 kB / 0.5304 GB, free: 4.645 MB / 382.1 MB Notification: Performance of pre-optimization done (n=27): time 1.853e-06/0.4436, allocations: 4 kB / 0.5304 GB, free: 4.641 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.0007137/0.4443, allocations: 323.5 kB / 0.5307 GB, free: 4.504 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/0.4443, allocations: 110.1 kB / 0.5308 GB, free: 4.375 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000254/0.4446, allocations: 259.4 kB / 0.531 GB, free: 4.223 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.4446, allocations: 27.23 kB / 0.5311 GB, free: 4.191 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.4447, allocations: 218 kB / 0.5313 GB, free: 4.012 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.529e-05/0.4448, allocations: 99.84 kB / 0.5314 GB, free: 3.934 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.463e-05/0.4448, allocations: 55.72 kB / 0.5314 GB, free: 3.898 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.346e-05/0.4449, allocations: 342.9 kB / 0.5317 GB, free: 3.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001966/0.4451, allocations: 92.36 kB / 0.5318 GB, free: 3.531 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002706/0.4454, allocations: 208.7 kB / 0.532 GB, free: 3.359 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003953/0.4458, allocations: 245.2 kB / 0.5323 GB, free: 3.211 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.4458, allocations: 1.094 kB / 0.5323 GB, free: 3.211 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000573/0.4464, allocations: 305.9 kB / 0.5326 GB, free: 3.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.4464, allocations: 5.688 kB / 0.5326 GB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.4464, allocations: 2.375 kB / 0.5326 GB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.4464, allocations: 2.344 kB / 0.5326 GB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003091/0.4467, allocations: 75.88 kB / 0.5326 GB, free: 3.059 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.4467, allocations: 3.344 kB / 0.5326 GB, free: 3.059 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001748/0.4469, allocations: 32.06 kB / 0.5327 GB, free: 3.039 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.528e-05/0.4469, allocations: 8.844 kB / 0.5327 GB, free: 3.039 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002667/0.4472, allocations: 185.7 kB / 0.5329 GB, free: 2.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002122/0.4474, allocations: 197.6 kB / 0.533 GB, free: 2.738 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003259/0.4477, allocations: 222.8 kB / 0.5333 GB, free: 2.594 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.643e-06/0.4477, allocations: 0 / 0.5333 GB, free: 2.594 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.000431/0.4482, allocations: 274.6 kB / 0.5335 GB, free: 2.465 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.4482, allocations: 10.53 kB / 0.5335 GB, free: 2.461 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.4482, allocations: 5.078 kB / 0.5335 GB, free: 2.457 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.189e-06/0.4482, allocations: 7.844 kB / 0.5335 GB, free: 2.453 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000263/0.4484, allocations: 66.47 kB / 0.5336 GB, free: 2.445 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.4484, allocations: 3.922 kB / 0.5336 GB, free: 2.445 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001545/0.4486, allocations: 20.28 kB / 0.5336 GB, free: 2.434 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.59e-05/0.4486, allocations: 13.78 kB / 0.5336 GB, free: 2.43 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (PID.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.403e-05/0.4487, allocations: 194 kB / 0.5338 GB, free: 2.238 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.215e-05/0.4488, allocations: 35.19 kB / 0.5339 GB, free: 2.219 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005241/0.4493, allocations: 277 kB / 0.5341 GB, free: 2.078 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.4493, allocations: 7.281 kB / 0.5341 GB, free: 2.074 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.4493, allocations: 0 / 0.5341 GB, free: 2.074 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.4493, allocations: 1.922 kB / 0.5341 GB, free: 2.074 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003321/0.4496, allocations: 281.4 kB / 0.5344 GB, free: 1.875 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.4496, allocations: 0 / 0.5344 GB, free: 1.875 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002842/0.4499, allocations: 54.98 kB / 0.5345 GB, free: 1.875 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.4499, allocations: 8.969 kB / 0.5345 GB, free: 1.867 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.026e-05/0.4499, allocations: 9.875 kB / 0.5345 GB, free: 1.859 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.4499, allocations: 1.062 kB / 0.5345 GB, free: 1.859 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4499, allocations: 1.969 kB / 0.5345 GB, free: 1.859 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006815/0.4506, allocations: 467.2 kB / 0.5349 GB, free: 1.594 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.4507, allocations: 54.55 kB / 0.535 GB, free: 1.559 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.058e-05/0.4508, allocations: 5.406 kB / 0.535 GB, free: 1.555 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/0.451, allocations: 19.94 kB / 0.535 GB, free: 1.547 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.244e-05/0.451, allocations: 18.19 kB / 0.535 GB, free: 1.543 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.451, allocations: 9.703 kB / 0.535 GB, free: 1.539 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001546/0.4512, allocations: 181.6 kB / 0.5352 GB, free: 1.434 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4512, allocations: 4 kB / 0.5352 GB, free: 1.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004991/0.4517, allocations: 149.2 kB / 0.5353 GB, free: 1.387 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (Cbody.T,PID.I.y,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 (28): * Single equations (assignments): 28 * 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.781e-05/0.4518, allocations: 107.3 kB / 0.5354 GB, free: 1.289 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006676/0.4524, allocations: 324 kB / 0.5358 GB, free: 1.188 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4525, allocations: 0 / 0.5358 GB, free: 1.188 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001994/0.4527, allocations: 108.5 kB / 0.5359 GB, free: 1.152 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004824/0.4531, allocations: 71.5 kB / 0.5359 GB, free: 1.129 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001215/0.4543, allocations: 0.7592 MB / 0.5367 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001779/0.4545, allocations: 189.4 kB / 0.5369 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001791/0.4547, allocations: 35.94 kB / 0.5369 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.346e-05/0.4548, allocations: 23.84 kB / 0.5369 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of SimCode: time 3.3e-07/0.4548, allocations: 0 / 0.5369 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of Templates: time 0.008341/0.4631, allocations: 3.482 MB / 0.5403 GB, free: 132 kB / 382.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control.makefile [Timeout 660] (rm -f AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control.pipe ; mkfifo AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control.pipe ; head -c 1048576 < AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control.pipe >> ../files/AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control.sim & ./AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.3435851242393255] Failed to read output from testmodel.py, exit status != 0: 0.47238628566265106 0.4879824 0.046839204 Calling exit ...