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.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.001351/0.001351, 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.001583/0.001583, allocations: 188.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.563/1.563, 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.1279/0.1279, 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_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: Performance of FrontEnd - loaded program: time 0.002081/0.002081, allocations: 75.88 kB / 463.1 MB, free: 14.59 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1359, allocations: 58.06 MB / 0.5089 GB, free: 4.422 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control): time 0.005735/0.1416, allocations: 3.195 MB / 0.5121 GB, free: 1.199 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002586/0.1442, allocations: 0.9153 MB / 0.513 GB, free: 284 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003815/0.1446, allocations: 15.88 kB / 0.513 GB, free: 268 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002835/0.1449, allocations: 67.31 kB / 0.513 GB, free: 200 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003484/0.1452, allocations: 111 kB / 0.5131 GB, free: 88 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2806/0.4259, allocations: 187.9 kB / 0.5133 GB, free: 11.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008266/0.4267, allocations: 466.9 kB / 0.5138 GB, free: 11.92 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003333/0.427, allocations: 159.6 kB / 0.5139 GB, free: 11.9 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000206/0.4272, allocations: 179.1 kB / 0.5141 GB, free: 11.88 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002231/0.4275, allocations: 178.4 kB / 0.5143 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.864e-05/0.4275, allocations: 38.62 kB / 0.5143 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.644e-05/0.4276, allocations: 38.62 kB / 0.5143 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.142e-05/0.4277, allocations: 94.3 kB / 0.5144 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001768/0.4279, allocations: 201.6 kB / 0.5146 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005052/0.4284, allocations: 466.7 kB / 0.5151 GB, free: 11.67 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.4284, allocations: 2.25 kB / 0.5151 GB, free: 11.67 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.4284, allocations: 0 / 0.5151 GB, free: 11.67 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.346e-06/0.4284, allocations: 0 / 0.5151 GB, free: 11.67 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.000974/0.4294, allocations: 0.6311 MB / 0.5157 GB, free: 11.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.4294, allocations: 10.72 kB / 0.5157 GB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.408e-05/0.4295, allocations: 51.91 kB / 0.5157 GB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004473/0.4299, allocations: 268.3 kB / 0.516 GB, free: 11.08 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.083e-05/0.43, allocations: 28.66 kB / 0.516 GB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.124e-05/0.43, allocations: 37.61 kB / 0.5161 GB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005945/0.4306, allocations: 368.3 kB / 0.5164 GB, free: 11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.349e-05/0.4306, allocations: 10.22 kB / 0.5164 GB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.219e-05/0.4307, allocations: 16.81 kB / 0.5164 GB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.4307, allocations: 8.281 kB / 0.5164 GB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000485/0.4312, allocations: 247.5 kB / 0.5167 GB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001748/0.4329, allocations: 1.253 MB / 0.5179 GB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006926/0.4336, allocations: 270.5 kB / 0.5182 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002525/0.4339, allocations: 117.9 kB / 0.5183 GB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.043e-05/0.4339, allocations: 11.27 kB / 0.5183 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/0.4339, allocations: 32.86 kB / 0.5183 GB, free: 10.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=27): time 1.532e-06/0.4339, allocations: 0.5 kB / 0.5183 GB, free: 10.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.0007557/0.4347, allocations: 331.5 kB / 0.5186 GB, free: 10.27 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.4347, allocations: 80.08 kB / 0.5187 GB, free: 10.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002902/0.435, allocations: 271.7 kB / 0.519 GB, free: 10.07 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.435, allocations: 29.55 kB / 0.519 GB, free: 10.04 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000145/0.4352, allocations: 218.6 kB / 0.5192 GB, free: 9.906 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.163e-05/0.4352, allocations: 108.2 kB / 0.5193 GB, free: 9.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.4353, allocations: 55.45 kB / 0.5194 GB, free: 9.824 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.659e-05/0.4354, allocations: 344.5 kB / 0.5197 GB, free: 9.508 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002101/0.4357, allocations: 91.45 kB / 0.5198 GB, free: 9.496 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00024/0.4359, allocations: 142.5 kB / 0.5199 GB, free: 9.434 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004474/0.4363, allocations: 249.5 kB / 0.5202 GB, free: 9.367 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.4363, allocations: 5.125 kB / 0.5202 GB, free: 9.363 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005622/0.4369, allocations: 305.6 kB / 0.5204 GB, free: 9.305 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.4369, allocations: 6.547 kB / 0.5205 GB, free: 9.305 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.4369, allocations: 3.094 kB / 0.5205 GB, free: 9.305 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.305e-05/0.437, allocations: 3.344 kB / 0.5205 GB, free: 9.305 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003175/0.4373, allocations: 69.59 kB / 0.5205 GB, free: 9.305 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.4373, allocations: 8.297 kB / 0.5205 GB, free: 9.301 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001771/0.4375, allocations: 27.55 kB / 0.5206 GB, free: 9.289 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.301e-05/0.4375, allocations: 11.17 kB / 0.5206 GB, free: 9.289 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002432/0.4377, allocations: 181.8 kB / 0.5207 GB, free: 9.207 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000186/0.4379, allocations: 140.5 kB / 0.5209 GB, free: 9.141 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003119/0.4382, allocations: 216.6 kB / 0.5211 GB, free: 9.016 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.804e-06/0.4382, allocations: 0.625 kB / 0.5211 GB, free: 9.016 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.0004263/0.4387, allocations: 287.9 kB / 0.5214 GB, free: 8.883 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.979e-06/0.4387, allocations: 6.641 kB / 0.5214 GB, free: 8.883 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.4387, allocations: 2.312 kB / 0.5214 GB, free: 8.883 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.12e-06/0.4387, allocations: 3.031 kB / 0.5214 GB, free: 8.883 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002676/0.4389, allocations: 62.23 kB / 0.5214 GB, free: 8.883 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.4389, allocations: 6.781 kB / 0.5214 GB, free: 8.883 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001526/0.4391, allocations: 28.8 kB / 0.5215 GB, free: 8.863 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.804e-05/0.4391, allocations: 11.52 kB / 0.5215 GB, free: 8.863 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 0.0001205/0.4392, allocations: 197.1 kB / 0.5217 GB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.127e-05/0.4393, allocations: 38.38 kB / 0.5217 GB, free: 8.648 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006051/0.4399, allocations: 278.7 kB / 0.522 GB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.4399, allocations: 2.25 kB / 0.522 GB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/0.44, allocations: 3.453 kB / 0.522 GB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.44, allocations: 1.594 kB / 0.522 GB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004918/0.4404, allocations: 374.5 kB / 0.5223 GB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.4404, allocations: 4 kB / 0.5223 GB, free: 8.262 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003127/0.4408, allocations: 59.16 kB / 0.5224 GB, free: 8.262 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.4408, allocations: 0.9375 kB / 0.5224 GB, free: 8.262 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.375e-05/0.4408, allocations: 10.58 kB / 0.5224 GB, free: 8.258 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.4408, allocations: 1.219 kB / 0.5224 GB, free: 8.258 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.4408, allocations: 0 / 0.5224 GB, free: 8.258 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008177/0.4416, allocations: 471.8 kB / 0.5229 GB, free: 7.988 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/0.4417, allocations: 50.05 kB / 0.5229 GB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.39e-05/0.4418, allocations: 7.172 kB / 0.5229 GB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001931/0.442, allocations: 13.53 kB / 0.5229 GB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.238e-05/0.442, allocations: 18.52 kB / 0.5229 GB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.442, allocations: 5.625 kB / 0.5229 GB, free: 7.945 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001874/0.4422, allocations: 195.2 kB / 0.5231 GB, free: 7.836 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4422, allocations: 4 kB / 0.5231 GB, free: 7.832 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000554/0.4428, allocations: 152.7 kB / 0.5233 GB, free: 7.785 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 0.0001179/0.4429, allocations: 100.4 kB / 0.5234 GB, free: 7.695 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008367/0.4437, allocations: 328 kB / 0.5237 GB, free: 7.605 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.4437, allocations: 5.219 kB / 0.5237 GB, free: 7.602 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002428/0.444, allocations: 103.9 kB / 0.5238 GB, free: 7.574 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005604/0.4445, allocations: 68.73 kB / 0.5239 GB, free: 7.555 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001419/0.446, allocations: 0.7672 MB / 0.5246 GB, free: 7.098 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002982/0.4463, allocations: 0.7903 MB / 0.5254 GB, free: 6.398 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001846/0.4465, allocations: 40.25 kB / 0.5254 GB, free: 6.391 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.98e-05/0.4465, allocations: 28.58 kB / 0.5254 GB, free: 6.383 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4465, allocations: 3.938 kB / 0.5254 GB, free: 6.379 MB / 382.1 MB Notification: Performance of Templates: time 0.009951/0.4565, allocations: 3.318 MB / 0.5287 GB, free: 6.168 MB / 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.334681794978678] Failed to read output from testmodel.py, exit status != 0: 0.46615552995353937 0.481345728 0.049261147000000005 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7ffabfcb97b0>