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.001837/0.001837, allocations: 88.98 kB / 20.23 MB, free: 4.191 MB / 18.57 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.0019/0.0019, allocations: 161.3 kB / 23.54 MB, free: 0.8789 MB / 18.57 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.557/1.557, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 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.1148/0.1148, allocations: 18.15 MB / 278.5 MB, free: 11.34 MB / 266.7 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: Performance of FrontEnd - loaded program: time 2.755e-06/2.755e-06, allocations: 0 / 356.5 MB, free: 8.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.829e-05/4.105e-05, allocations: 2.312 kB / 356.5 MB, free: 8.203 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control): time 0.008232/0.008273, allocations: 3.116 MB / 359.6 MB, free: 5.066 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003176/0.01145, allocations: 0.9035 MB / 360.5 MB, free: 4.156 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003527/0.0118, allocations: 15.88 kB / 360.6 MB, free: 4.141 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003395/0.01214, allocations: 67.25 kB / 360.6 MB, free: 4.074 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005446/0.01269, allocations: 114.9 kB / 360.7 MB, free: 3.961 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007202/0.01341, allocations: 195.6 kB / 360.9 MB, free: 3.77 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000835/0.01424, allocations: 490.7 kB / 361.4 MB, free: 3.289 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004555/0.0147, allocations: 138.6 kB / 361.5 MB, free: 3.152 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003337/0.01503, allocations: 159.5 kB / 361.7 MB, free: 2.996 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003639/0.01539, allocations: 131.6 kB / 361.8 MB, free: 2.867 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001067/0.0155, allocations: 40 kB / 361.9 MB, free: 2.828 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.01561, allocations: 44 kB / 361.9 MB, free: 2.785 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001499/0.01576, allocations: 95.59 kB / 362 MB, free: 2.691 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002483/0.01601, allocations: 127.7 kB / 362.1 MB, free: 2.566 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009499/0.01696, allocations: 478.4 kB / 362.6 MB, free: 2.098 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.01697, allocations: 0 / 362.6 MB, free: 2.098 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.01697, allocations: 3.938 kB / 362.6 MB, free: 2.094 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.615e-06/0.01697, allocations: 0 / 362.6 MB, free: 2.094 MB / 282.7 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.001781/0.01876, allocations: 0.753 MB / 363.4 MB, free: 1.305 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.0188, allocations: 8.922 kB / 363.4 MB, free: 1.297 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002104/0.01901, allocations: 76.66 kB / 363.4 MB, free: 1.223 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006819/0.01969, allocations: 275.3 kB / 363.7 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.084e-05/0.01974, allocations: 29.38 kB / 363.7 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/0.01985, allocations: 44.27 kB / 363.8 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001143/0.021, allocations: 472.6 kB / 364.2 MB, free: 356 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.02102, allocations: 192 / 364.2 MB, free: 356 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.586e-05/0.02108, allocations: 16.36 kB / 364.3 MB, free: 340 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.786e-05/0.02109, allocations: 11.94 kB / 364.3 MB, free: 328 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007758/0.02187, allocations: 235.8 kB / 364.5 MB, free: 88 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003063/0.02493, allocations: 1.321 MB / 365.8 MB, free: 14.7 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000969/0.0259, allocations: 274.8 kB / 366.1 MB, free: 14.43 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003268/0.02623, allocations: 108.1 kB / 366.2 MB, free: 14.32 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.225e-05/0.02627, allocations: 8.219 kB / 366.2 MB, free: 14.31 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.057e-05/0.02632, allocations: 41.62 kB / 366.2 MB, free: 14.26 MB / 298.7 MB Notification: Performance of pre-optimization done (n=27): time 1.964e-06/0.02632, allocations: 3.938 kB / 366.2 MB, free: 14.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=27): time 0.001068/0.02739, allocations: 320.2 kB / 366.6 MB, free: 13.94 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001118/0.0275, allocations: 110.8 kB / 366.7 MB, free: 13.8 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005443/0.02805, allocations: 354.3 kB / 367 MB, free: 13.44 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.921e-05/0.0281, allocations: 33.7 kB / 367 MB, free: 13.4 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002988/0.0284, allocations: 275 kB / 367.3 MB, free: 13.13 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000141/0.02854, allocations: 103.2 kB / 367.4 MB, free: 13.03 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001736/0.02871, allocations: 71.31 kB / 367.5 MB, free: 12.95 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0004105/0.02912, allocations: 0.5274 MB / 368 MB, free: 12.41 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002864/0.02941, allocations: 83.66 kB / 368.1 MB, free: 12.32 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004968/0.0299, allocations: 248.8 kB / 368.3 MB, free: 12.03 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006894/0.03059, allocations: 263.2 kB / 368.6 MB, free: 11.75 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.0306, allocations: 0 / 368.6 MB, free: 11.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008755/0.03147, allocations: 309.2 kB / 368.9 MB, free: 11.44 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.03149, allocations: 8.188 kB / 368.9 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.0315, allocations: 3.938 kB / 368.9 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.03152, allocations: 4 kB / 368.9 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004523/0.03198, allocations: 67.91 kB / 369 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.412e-05/0.03199, allocations: 4 kB / 369 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002519/0.03224, allocations: 27.83 kB / 369 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.129e-05/0.03227, allocations: 8 kB / 369 MB, free: 11.32 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004344/0.03271, allocations: 230.8 kB / 369.2 MB, free: 11.09 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004105/0.03312, allocations: 224.5 kB / 369.5 MB, free: 10.82 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006074/0.03373, allocations: 246 kB / 369.7 MB, free: 10.55 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.124e-06/0.03373, allocations: 0 / 369.7 MB, free: 10.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.0007616/0.03449, allocations: 293.3 kB / 370 MB, free: 10.25 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.0345, allocations: 8 kB / 370 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.03451, allocations: 4.188 kB / 370 MB, free: 10.24 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.03452, allocations: 7.938 kB / 370 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004092/0.03493, allocations: 67.91 kB / 370.1 MB, free: 10.17 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.03494, allocations: 4 kB / 370.1 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002385/0.03518, allocations: 23.83 kB / 370.1 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.019e-05/0.03521, allocations: 12 kB / 370.1 MB, free: 10.13 MB / 298.7 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.0002675/0.03547, allocations: 284 kB / 370.4 MB, free: 9.844 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.0356, allocations: 39.81 kB / 370.4 MB, free: 9.805 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008245/0.03643, allocations: 270.8 kB / 370.7 MB, free: 9.535 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.03643, allocations: 4 kB / 370.7 MB, free: 9.531 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.03644, allocations: 0 / 370.7 MB, free: 9.531 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.03644, allocations: 4 kB / 370.7 MB, free: 9.527 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007344/0.03718, allocations: 340.3 kB / 371 MB, free: 9.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.03718, allocations: 0 / 371 MB, free: 9.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004453/0.03763, allocations: 55.97 kB / 371.1 MB, free: 9.105 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.03763, allocations: 0 / 371.1 MB, free: 9.105 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.74e-05/0.03766, allocations: 8 kB / 371.1 MB, free: 9.098 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.212e-06/0.03766, allocations: 3.938 kB / 371.1 MB, free: 9.094 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.03766, allocations: 0 / 371.1 MB, free: 9.094 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001236/0.0389, allocations: 0.5124 MB / 371.6 MB, free: 8.562 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001778/0.03908, allocations: 43.73 kB / 371.7 MB, free: 8.52 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.777e-05/0.03914, allocations: 4 kB / 371.7 MB, free: 8.516 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002925/0.03943, allocations: 19.92 kB / 371.7 MB, free: 8.496 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.974e-05/0.03952, allocations: 19.97 kB / 371.7 MB, free: 8.477 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.719e-05/0.03955, allocations: 4 kB / 371.7 MB, free: 8.473 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003662/0.03991, allocations: 243 kB / 371.9 MB, free: 8.234 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.03991, allocations: 0 / 371.9 MB, free: 8.234 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008743/0.04079, allocations: 147.6 kB / 372.1 MB, free: 8.09 MB / 298.7 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.0001959/0.04098, allocations: 107.2 kB / 372.2 MB, free: 7.977 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001127/0.04211, allocations: 363.2 kB / 372.5 MB, free: 7.613 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.04211, allocations: 0 / 372.5 MB, free: 7.613 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003443/0.04246, allocations: 123.6 kB / 372.7 MB, free: 7.488 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006951/0.04315, allocations: 71.64 kB / 372.7 MB, free: 7.422 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00183/0.04498, allocations: 0.712 MB / 373.4 MB, free: 6.68 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002781/0.04526, allocations: 186.8 kB / 373.6 MB, free: 6.473 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002865/0.04555, allocations: 42.27 kB / 373.7 MB, free: 6.43 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.04566, allocations: 24.5 kB / 373.7 MB, free: 6.406 MB / 298.7 MB Notification: Performance of SimCode: time 1.133e-06/0.04566, allocations: 0 / 373.7 MB, free: 6.406 MB / 298.7 MB Notification: Performance of Templates: time 0.01292/0.05858, allocations: 3.069 MB / 376.8 MB, free: 3.406 MB / 298.7 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=240 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.717258561053313]