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.001127/0.001127, allocations: 72.95 kB / 20.74 MB, free: 3.75 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.001039/0.001039, allocations: 173 kB / 24.16 MB, free: 336 kB / 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 0.9971/0.9971, allocations: 177.1 MB / 204.6 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] 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.06582/0.06582, allocations: 18.15 MB / 279.2 MB, free: 11.18 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.114e-06/2.114e-06, allocations: 0 / 304.6 MB, free: 360 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.172e-05/3.383e-05, allocations: 8.5 kB / 304.6 MB, free: 352 kB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control): time 0.004294/0.004328, allocations: 3.168 MB / 307.7 MB, free: 14.27 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001526/0.005853, allocations: 0.9423 MB / 308.7 MB, free: 13.49 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002381/0.006091, allocations: 15.88 kB / 308.7 MB, free: 13.47 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002358/0.006327, allocations: 62.98 kB / 308.8 MB, free: 13.43 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002522/0.00658, allocations: 112.3 kB / 308.9 MB, free: 13.33 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000369/0.006948, allocations: 196.4 kB / 309.1 MB, free: 13.18 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004203/0.007369, allocations: 480.3 kB / 309.5 MB, free: 12.76 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002392/0.007608, allocations: 154.6 kB / 309.7 MB, free: 12.62 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001641/0.007772, allocations: 161 kB / 309.8 MB, free: 12.48 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001617/0.007934, allocations: 137.2 kB / 310 MB, free: 12.35 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.33e-05/0.007977, allocations: 40 kB / 310 MB, free: 12.31 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.774e-05/0.008015, allocations: 40 kB / 310 MB, free: 12.27 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.937e-05/0.008074, allocations: 87.67 kB / 310.1 MB, free: 12.18 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.424e-05/0.008169, allocations: 131.7 kB / 310.3 MB, free: 12.05 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002858/0.008454, allocations: 310.7 kB / 310.6 MB, free: 11.75 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.008456, allocations: 0 / 310.6 MB, free: 11.75 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.008457, allocations: 0 / 310.6 MB, free: 11.75 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.008463, allocations: 0 / 310.6 MB, free: 11.75 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.0006039/0.009067, allocations: 0.5997 MB / 311.2 MB, free: 11.13 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.0091, allocations: 12.92 kB / 311.2 MB, free: 11.12 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.321e-05/0.009173, allocations: 60.89 kB / 311.2 MB, free: 11.06 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002819/0.009455, allocations: 232.6 kB / 311.5 MB, free: 10.8 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.84e-05/0.009483, allocations: 25.38 kB / 311.5 MB, free: 10.77 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.494e-05/0.009528, allocations: 40.31 kB / 311.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003505/0.009879, allocations: 375.1 kB / 311.9 MB, free: 10.33 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.009892, allocations: 192 / 311.9 MB, free: 10.33 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.179e-05/0.009914, allocations: 16.38 kB / 311.9 MB, free: 10.32 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.859e-06/0.009924, allocations: 11.94 kB / 311.9 MB, free: 10.3 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000137/0.01006, allocations: 102.9 kB / 312 MB, free: 10.2 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00099/0.01105, allocations: 0.8567 MB / 312.9 MB, free: 9.309 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000255/0.01131, allocations: 147.1 kB / 313 MB, free: 9.156 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.129e-05/0.01137, allocations: 57.3 kB / 313.1 MB, free: 9.098 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.881e-05/0.01139, allocations: 8.172 kB / 313.1 MB, free: 9.09 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.01141, allocations: 34.78 kB / 313.1 MB, free: 9.047 MB / 282.7 MB Notification: Performance of pre-optimization done (n=27): time 1.352e-06/0.01141, allocations: 0 / 313.1 MB, free: 9.047 MB / 282.7 MB Notification: Performance of matching and sorting (n=27): time 0.0002218/0.01163, allocations: 155.7 kB / 313.3 MB, free: 8.891 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.676e-05/0.01168, allocations: 110.8 kB / 313.4 MB, free: 8.758 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.01182, allocations: 250.8 kB / 313.6 MB, free: 8.5 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.01184, allocations: 29.7 kB / 313.7 MB, free: 8.465 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.989e-05/0.01192, allocations: 196.8 kB / 313.8 MB, free: 8.266 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.789e-05/0.01197, allocations: 95.16 kB / 313.9 MB, free: 8.172 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.84e-05/0.01204, allocations: 61.67 kB / 314 MB, free: 8.105 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.33e-05/0.01213, allocations: 342.7 kB / 314.3 MB, free: 7.762 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.651e-05/0.01218, allocations: 32.84 kB / 314.4 MB, free: 7.727 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.551e-05/0.01227, allocations: 147.5 kB / 314.5 MB, free: 7.543 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001243/0.0124, allocations: 142.8 kB / 314.6 MB, free: 7.383 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.0124, allocations: 0 / 314.6 MB, free: 7.383 MB / 282.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0001706/0.01257, allocations: 167.5 kB / 314.8 MB, free: 7.215 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.01259, allocations: 12.19 kB / 314.8 MB, free: 7.203 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.01259, allocations: 0 / 314.8 MB, free: 7.203 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.0126, allocations: 4 kB / 314.8 MB, free: 7.199 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001939/0.0128, allocations: 84.69 kB / 314.9 MB, free: 7.117 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.0128, allocations: 3.984 kB / 314.9 MB, free: 7.113 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.761e-05/0.01288, allocations: 35.72 kB / 314.9 MB, free: 7.078 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.01289, allocations: 4 kB / 315 MB, free: 7.074 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.658e-05/0.01298, allocations: 116.1 kB / 315.1 MB, free: 6.957 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.973e-05/0.01306, allocations: 145.2 kB / 315.2 MB, free: 6.777 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001113/0.01317, allocations: 134.2 kB / 315.3 MB, free: 6.625 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.11e-07/0.01317, allocations: 3.938 kB / 315.3 MB, free: 6.621 MB / 282.7 MB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.0001539/0.01332, allocations: 165.5 kB / 315.5 MB, free: 6.453 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.865e-06/0.01333, allocations: 8.188 kB / 315.5 MB, free: 6.445 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.514e-06/0.01333, allocations: 4 kB / 315.5 MB, free: 6.441 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.657e-06/0.01334, allocations: 4 kB / 315.5 MB, free: 6.438 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001528/0.01349, allocations: 80.67 kB / 315.6 MB, free: 6.359 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.01349, allocations: 4 kB / 315.6 MB, free: 6.355 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.029e-05/0.01356, allocations: 23.84 kB / 315.6 MB, free: 6.332 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.01357, allocations: 4 kB / 315.6 MB, free: 6.328 MB / 282.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 9.109e-05/0.01366, allocations: 196.2 kB / 315.8 MB, free: 6.129 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.405e-05/0.0137, allocations: 31.91 kB / 315.9 MB, free: 6.098 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001716/0.01387, allocations: 166.3 kB / 316 MB, free: 5.93 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.01387, allocations: 4 kB / 316 MB, free: 5.926 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.01387, allocations: 0 / 316 MB, free: 5.926 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.01387, allocations: 0 / 316 MB, free: 5.926 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002027/0.01408, allocations: 201.6 kB / 316.2 MB, free: 5.711 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.01408, allocations: 0 / 316.2 MB, free: 5.711 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001593/0.01424, allocations: 73.31 kB / 316.3 MB, free: 5.645 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.01424, allocations: 4 kB / 316.3 MB, free: 5.641 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.01425, allocations: 4 kB / 316.3 MB, free: 5.637 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.01425, allocations: 3.938 kB / 316.3 MB, free: 5.633 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.01425, allocations: 4 kB / 316.3 MB, free: 5.629 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002273/0.01448, allocations: 272.6 kB / 316.6 MB, free: 5.348 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.818e-05/0.01453, allocations: 31.75 kB / 316.6 MB, free: 5.316 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.217e-05/0.01455, allocations: 11.98 kB / 316.6 MB, free: 5.305 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.816e-05/0.01463, allocations: 15.94 kB / 316.6 MB, free: 5.289 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.566e-05/0.01467, allocations: 11.97 kB / 316.6 MB, free: 5.277 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.01467, allocations: 11.94 kB / 316.7 MB, free: 5.266 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.574e-05/0.01474, allocations: 92.62 kB / 316.7 MB, free: 5.172 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01474, allocations: 0 / 316.7 MB, free: 5.172 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000261/0.015, allocations: 155.5 kB / 316.9 MB, free: 5.02 MB / 282.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 8.741e-05/0.01509, allocations: 84.41 kB / 317 MB, free: 4.926 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002449/0.01533, allocations: 197.6 kB / 317.2 MB, free: 4.727 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/0.01534, allocations: 4 kB / 317.2 MB, free: 4.723 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.405e-05/0.0154, allocations: 76.73 kB / 317.2 MB, free: 4.645 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002502/0.01565, allocations: 62.67 kB / 317.3 MB, free: 4.586 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009002/0.01655, allocations: 0.6478 MB / 318 MB, free: 3.91 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.453e-05/0.01662, allocations: 96.94 kB / 318.1 MB, free: 3.793 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001213/0.01674, allocations: 46.27 kB / 318.1 MB, free: 3.75 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001609/0.0169, allocations: 115.3 kB / 318.2 MB, free: 3.637 MB / 282.7 MB Notification: Performance of SimCode: time 7.21e-07/0.0169, allocations: 0 / 318.2 MB, free: 3.637 MB / 282.7 MB Notification: Performance of Templates: time 0.005494/0.0224, allocations: 3.464 MB / 321.7 MB, free: 284 kB / 282.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8788107191212475]