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.0009024/0.0009024, allocations: 71.59 kB / 20.8 MB, free: 3.711 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.001102/0.001102, allocations: 165.3 kB / 24.09 MB, free: 424 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.9143/0.9143, allocations: 177.1 MB / 204.4 MB, free: 5.699 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.06247/0.06247, allocations: 18.13 MB / 279 MB, free: 11.46 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 1.693e-06/1.693e-06, allocations: 0 / 416.6 MB, free: 12.32 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.285e-05/3.455e-05, allocations: 2.281 kB / 416.6 MB, free: 12.32 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control): time 0.003324/0.003358, allocations: 2.985 MB / 419.5 MB, free: 10.32 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001428/0.004786, allocations: 0.8926 MB / 420.4 MB, free: 9.703 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002451/0.005032, allocations: 12.06 kB / 420.4 MB, free: 9.699 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002163/0.005248, allocations: 77.44 kB / 420.5 MB, free: 9.645 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002571/0.005505, allocations: 104.6 kB / 420.6 MB, free: 9.566 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004089/0.005914, allocations: 202.7 kB / 420.8 MB, free: 9.449 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004659/0.00638, allocations: 490.7 kB / 421.3 MB, free: 9.191 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003098/0.00669, allocations: 143.8 kB / 421.4 MB, free: 9.113 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00019/0.00688, allocations: 160.4 kB / 421.6 MB, free: 9.039 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002072/0.007087, allocations: 127.9 kB / 421.7 MB, free: 8.992 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.575e-05/0.007143, allocations: 38.16 kB / 421.8 MB, free: 8.992 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.976e-05/0.007192, allocations: 39.44 kB / 421.8 MB, free: 8.992 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.703e-05/0.007249, allocations: 88.72 kB / 421.9 MB, free: 8.93 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001073/0.007357, allocations: 132.3 kB / 422 MB, free: 8.867 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005349/0.007892, allocations: 473.2 kB / 422.5 MB, free: 8.668 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.007896, allocations: 5.062 kB / 422.5 MB, free: 8.664 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.584e-06/0.007899, allocations: 4.656 kB / 422.5 MB, free: 8.66 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.00791, allocations: 0 / 422.5 MB, free: 8.66 MB / 330.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.0008332/0.008743, allocations: 0.6193 MB / 423.1 MB, free: 8.195 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.008783, allocations: 14.84 kB / 423.1 MB, free: 8.191 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.911e-05/0.008852, allocations: 48.09 kB / 423.2 MB, free: 8.168 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003776/0.00923, allocations: 269.5 kB / 423.4 MB, free: 7.945 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.877e-05/0.009258, allocations: 25.38 kB / 423.5 MB, free: 7.934 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.695e-05/0.009305, allocations: 34.56 kB / 423.5 MB, free: 7.922 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005339/0.009839, allocations: 459.5 kB / 423.9 MB, free: 7.637 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.479e-05/0.009864, allocations: 6.203 kB / 423.9 MB, free: 7.633 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.774e-05/0.009892, allocations: 15.12 kB / 424 MB, free: 7.621 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.009903, allocations: 13.66 kB / 424 MB, free: 7.617 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003701/0.01027, allocations: 250.3 kB / 424.2 MB, free: 7.527 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00125/0.01152, allocations: 1.06 MB / 425.3 MB, free: 6.797 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005153/0.01204, allocations: 279 kB / 425.6 MB, free: 6.68 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001505/0.01219, allocations: 110.2 kB / 425.7 MB, free: 6.637 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.01221, allocations: 3.047 kB / 425.7 MB, free: 6.637 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.787e-05/0.01223, allocations: 38.78 kB / 425.7 MB, free: 6.594 MB / 330.7 MB Notification: Performance of pre-optimization done (n=27): time 2.104e-06/0.01223, allocations: 0 / 425.7 MB, free: 6.594 MB / 330.7 MB Notification: Performance of matching and sorting (n=27): time 0.0005235/0.01276, allocations: 329.6 kB / 426 MB, free: 6.453 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.0128, allocations: 111.4 kB / 426.1 MB, free: 6.324 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002272/0.01302, allocations: 255.1 kB / 426.4 MB, free: 6.172 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.01304, allocations: 30.7 kB / 426.4 MB, free: 6.137 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.01315, allocations: 225.5 kB / 426.6 MB, free: 5.949 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.727e-05/0.01319, allocations: 102.7 kB / 426.7 MB, free: 5.867 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.635e-05/0.01326, allocations: 59.09 kB / 426.8 MB, free: 5.828 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.132e-05/0.01331, allocations: 338.8 kB / 427.1 MB, free: 5.504 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.01344, allocations: 88.34 kB / 427.2 MB, free: 5.469 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001714/0.01362, allocations: 208.7 kB / 427.4 MB, free: 5.297 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002982/0.01391, allocations: 250 kB / 427.7 MB, free: 5.145 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-06/0.01392, allocations: 0.5 kB / 427.7 MB, free: 5.145 MB / 330.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003837/0.0143, allocations: 297.6 kB / 427.9 MB, free: 5.012 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/0.01433, allocations: 6.562 kB / 428 MB, free: 5.012 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.01434, allocations: 5.594 kB / 428 MB, free: 5.008 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.365e-05/0.01436, allocations: 3.875 kB / 428 MB, free: 5.008 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001912/0.01455, allocations: 71.39 kB / 428 MB, free: 5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.01456, allocations: 6.359 kB / 428 MB, free: 4.996 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.01466, allocations: 28.91 kB / 428.1 MB, free: 4.98 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.96e-05/0.01468, allocations: 16.92 kB / 428.1 MB, free: 4.973 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001697/0.01485, allocations: 181.7 kB / 428.3 MB, free: 4.848 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001414/0.01499, allocations: 193.9 kB / 428.4 MB, free: 4.68 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002221/0.01522, allocations: 219.5 kB / 428.7 MB, free: 4.539 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.893e-06/0.01522, allocations: 1.188 kB / 428.7 MB, free: 4.539 MB / 330.7 MB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.0003164/0.01554, allocations: 277.5 kB / 428.9 MB, free: 4.406 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.01555, allocations: 5.531 kB / 428.9 MB, free: 4.406 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.434e-06/0.01555, allocations: 1.906 kB / 428.9 MB, free: 4.406 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.763e-06/0.01556, allocations: 9.297 kB / 429 MB, free: 4.402 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001587/0.01571, allocations: 60.98 kB / 429 MB, free: 4.398 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.01572, allocations: 3.266 kB / 429 MB, free: 4.398 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.505e-05/0.01581, allocations: 29.27 kB / 429 MB, free: 4.379 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.01582, allocations: 12.41 kB / 429.1 MB, free: 4.375 MB / 330.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.394e-05/0.01591, allocations: 199.1 kB / 429.2 MB, free: 4.18 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.003e-05/0.01596, allocations: 33.53 kB / 429.3 MB, free: 4.16 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004423/0.01641, allocations: 277.7 kB / 429.6 MB, free: 4.027 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.01641, allocations: 3.375 kB / 429.6 MB, free: 4.027 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.657e-06/0.01642, allocations: 1.969 kB / 429.6 MB, free: 4.027 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.01643, allocations: 1.219 kB / 429.6 MB, free: 4.027 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003163/0.01674, allocations: 276.8 kB / 429.8 MB, free: 3.832 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.01675, allocations: 5.094 kB / 429.8 MB, free: 3.828 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001868/0.01693, allocations: 65.73 kB / 429.9 MB, free: 3.816 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.01694, allocations: 1.344 kB / 429.9 MB, free: 3.816 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.01695, allocations: 5.312 kB / 429.9 MB, free: 3.812 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.01696, allocations: 7.219 kB / 429.9 MB, free: 3.809 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.01696, allocations: 0 / 429.9 MB, free: 3.809 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000505/0.01746, allocations: 476.1 kB / 430.4 MB, free: 3.535 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.996e-05/0.01754, allocations: 46.44 kB / 430.4 MB, free: 3.508 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.846e-05/0.01757, allocations: 10.8 kB / 430.4 MB, free: 3.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.01767, allocations: 18.84 kB / 430.5 MB, free: 3.492 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.013e-05/0.01773, allocations: 18.69 kB / 430.5 MB, free: 3.488 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.01775, allocations: 6.094 kB / 430.5 MB, free: 3.488 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001234/0.01787, allocations: 185.4 kB / 430.7 MB, free: 3.375 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01787, allocations: 0 / 430.7 MB, free: 3.375 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003583/0.01823, allocations: 152.6 kB / 430.8 MB, free: 3.328 MB / 330.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 9.299e-05/0.01832, allocations: 101.1 kB / 430.9 MB, free: 3.238 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004846/0.0188, allocations: 329.8 kB / 431.2 MB, free: 3.129 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.01881, allocations: 0.6562 kB / 431.2 MB, free: 3.129 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001361/0.01894, allocations: 104.7 kB / 431.3 MB, free: 3.098 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003881/0.01933, allocations: 69.98 kB / 431.4 MB, free: 3.07 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.0204, allocations: 0.685 MB / 432.1 MB, free: 2.641 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001731/0.02057, allocations: 187.2 kB / 432.3 MB, free: 2.555 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001487/0.02072, allocations: 39.89 kB / 432.3 MB, free: 2.543 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.807e-05/0.02078, allocations: 24.16 kB / 432.3 MB, free: 2.531 MB / 330.7 MB Notification: Performance of SimCode: time 6.61e-07/0.02078, allocations: 0 / 432.3 MB, free: 2.531 MB / 330.7 MB Notification: Performance of Templates: time 0.006304/0.02708, allocations: 3.047 MB / 435.4 MB, free: 2.047 MB / 330.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=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 2.897751724347472] Failed to read output from testmodel.py, exit status != 0: 0.03456397633999586 0.04831404899999994 0.037791136 Calling exit ...