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.001427/0.001427, allocations: 82.64 kB / 19.96 MB, free: 1.754 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.001497/0.001497, allocations: 161.9 kB / 23.23 MB, free: 4.883 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.616/1.616, allocations: 177.1 MB / 203.5 MB, free: 9.156 MB / 190.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.1044/0.1044, allocations: 18.13 MB / 278.1 MB, free: 15.04 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: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 415.6 MB, free: 2.566 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.058e-05/3.23e-05, allocations: 6.219 kB / 415.6 MB, free: 2.559 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control): time 0.005025/0.005058, allocations: 2.975 MB / 418.5 MB, free: 15.56 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00201/0.007068, allocations: 0.9113 MB / 419.5 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002841/0.007352, allocations: 11.94 kB / 419.5 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000263/0.007615, allocations: 67.31 kB / 419.5 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003608/0.007976, allocations: 107 kB / 419.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005275/0.008504, allocations: 199.6 kB / 419.8 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006279/0.009131, allocations: 490.6 kB / 420.3 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003079/0.009439, allocations: 142.5 kB / 420.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003273/0.009767, allocations: 159.5 kB / 420.6 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000248/0.01001, allocations: 135.5 kB / 420.7 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.939e-05/0.01009, allocations: 36 kB / 420.8 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.851e-05/0.01017, allocations: 40 kB / 420.8 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.112e-05/0.01026, allocations: 87.67 kB / 420.9 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001732/0.01044, allocations: 131.6 kB / 421 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000601/0.01104, allocations: 470.4 kB / 421.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.01104, allocations: 7.938 kB / 421.5 MB, free: 12.6 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.91e-07/0.01104, allocations: 0 / 421.5 MB, free: 12.6 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.176e-05/0.01105, allocations: 0 / 421.5 MB, free: 12.6 MB / 350.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.001219/0.01227, allocations: 0.6261 MB / 422.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.01231, allocations: 8.922 kB / 422.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001024/0.01241, allocations: 52.66 kB / 422.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000477/0.01289, allocations: 272.4 kB / 422.5 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.014e-05/0.01293, allocations: 29.38 kB / 422.5 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.21e-05/0.01299, allocations: 28.38 kB / 422.5 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007844/0.01378, allocations: 458.5 kB / 423 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.118e-05/0.0138, allocations: 4.125 kB / 423 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.654e-05/0.01384, allocations: 16.38 kB / 423 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/0.01386, allocations: 11.94 kB / 423 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005911/0.01445, allocations: 243.9 kB / 423.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00202/0.01647, allocations: 1.067 MB / 424.3 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007528/0.01722, allocations: 283.8 kB / 424.6 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000246/0.01746, allocations: 109.3 kB / 424.7 MB, free: 9.258 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.222e-05/0.0175, allocations: 4.234 kB / 424.7 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/0.01753, allocations: 38.73 kB / 424.7 MB, free: 9.207 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.523e-06/0.01753, allocations: 0 / 424.7 MB, free: 9.207 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.0007999/0.01833, allocations: 330.5 kB / 425 MB, free: 8.883 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.226e-05/0.01841, allocations: 110.8 kB / 425.1 MB, free: 8.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002934/0.01871, allocations: 252.2 kB / 425.4 MB, free: 8.492 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.63e-05/0.01874, allocations: 29.7 kB / 425.4 MB, free: 8.457 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001734/0.01892, allocations: 216.3 kB / 425.6 MB, free: 8.242 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.883e-05/0.01901, allocations: 99.17 kB / 425.7 MB, free: 8.145 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.01911, allocations: 57.66 kB / 425.8 MB, free: 8.082 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000177/0.01929, allocations: 342.8 kB / 426.1 MB, free: 7.738 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002448/0.01953, allocations: 84.83 kB / 426.2 MB, free: 7.652 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003584/0.01989, allocations: 219.5 kB / 426.4 MB, free: 7.398 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000532/0.02042, allocations: 247.4 kB / 426.7 MB, free: 7.137 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.02042, allocations: 0 / 426.7 MB, free: 7.137 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006197/0.02104, allocations: 301.3 kB / 427 MB, free: 6.836 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.02107, allocations: 11.98 kB / 427 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.02107, allocations: 3.938 kB / 427 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.02109, allocations: 4 kB / 427 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003147/0.02141, allocations: 63.91 kB / 427 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/0.02142, allocations: 4 kB / 427 MB, free: 6.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001898/0.02161, allocations: 36.02 kB / 427.1 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.768e-05/0.02163, allocations: 19.94 kB / 427.1 MB, free: 6.695 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002754/0.02191, allocations: 180.1 kB / 427.3 MB, free: 6.516 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002525/0.02216, allocations: 195 kB / 427.5 MB, free: 6.285 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003805/0.02254, allocations: 218.1 kB / 427.7 MB, free: 6.051 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.723e-06/0.02254, allocations: 4.031 kB / 427.7 MB, free: 6.047 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.0005019/0.02305, allocations: 273.3 kB / 427.9 MB, free: 5.773 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.02306, allocations: 14.12 kB / 428 MB, free: 5.762 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.036e-06/0.02306, allocations: 0 / 428 MB, free: 5.762 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.02307, allocations: 7.938 kB / 428 MB, free: 5.754 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002814/0.02336, allocations: 63.91 kB / 428 MB, free: 5.691 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.02336, allocations: 7.938 kB / 428 MB, free: 5.684 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001766/0.02354, allocations: 28.06 kB / 428.1 MB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.845e-05/0.02356, allocations: 8 kB / 428.1 MB, free: 5.648 MB / 350.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.0001729/0.02373, allocations: 204.1 kB / 428.3 MB, free: 5.441 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.789e-05/0.02381, allocations: 27.81 kB / 428.3 MB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006087/0.02442, allocations: 272.5 kB / 428.6 MB, free: 5.145 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.02442, allocations: 0 / 428.6 MB, free: 5.145 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.02443, allocations: 0 / 428.6 MB, free: 5.145 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/0.02443, allocations: 4 kB / 428.6 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004114/0.02485, allocations: 285.1 kB / 428.8 MB, free: 4.832 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.02485, allocations: 0 / 428.8 MB, free: 4.832 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003234/0.02517, allocations: 55.91 kB / 428.9 MB, free: 4.777 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.02518, allocations: 4 kB / 428.9 MB, free: 4.773 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.169e-05/0.0252, allocations: 4 kB / 428.9 MB, free: 4.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.0252, allocations: 3.938 kB / 428.9 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.02521, allocations: 3.984 kB / 428.9 MB, free: 4.762 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008327/0.02604, allocations: 476.3 kB / 429.4 MB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.02615, allocations: 55.77 kB / 429.4 MB, free: 4.227 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.459e-05/0.02619, allocations: 4 kB / 429.4 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002032/0.0264, allocations: 15.92 kB / 429.5 MB, free: 4.207 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.442e-05/0.02646, allocations: 19.97 kB / 429.5 MB, free: 4.188 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/0.02648, allocations: 4 kB / 429.5 MB, free: 4.184 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002643/0.02674, allocations: 183.1 kB / 429.7 MB, free: 4.004 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.02674, allocations: 0 / 429.7 MB, free: 4.004 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000531/0.02727, allocations: 151.6 kB / 429.8 MB, free: 3.855 MB / 350.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.0001374/0.02741, allocations: 111.1 kB / 429.9 MB, free: 3.738 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000763/0.02817, allocations: 323.7 kB / 430.2 MB, free: 3.422 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.02818, allocations: 0 / 430.2 MB, free: 3.422 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000231/0.02841, allocations: 107.8 kB / 430.3 MB, free: 3.316 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004962/0.0289, allocations: 77.69 kB / 430.4 MB, free: 3.242 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/0.0303, allocations: 0.6788 MB / 431.1 MB, free: 2.531 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000216/0.03051, allocations: 186.8 kB / 431.3 MB, free: 2.324 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001933/0.03071, allocations: 46.22 kB / 431.3 MB, free: 2.281 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.027e-05/0.0308, allocations: 28.48 kB / 431.3 MB, free: 2.25 MB / 350.1 MB Notification: Performance of SimCode: time 4.6e-07/0.0308, allocations: 0 / 431.3 MB, free: 2.25 MB / 350.1 MB Notification: Performance of Templates: time 0.00892/0.03972, allocations: 3.032 MB / 434.4 MB, free: 15.29 MB / 366.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: 4.730410974472761] Failed to read output from testmodel.py, exit status != 0: 0.04954606294631958 0.07716608599999994 0.06049064799999994 Calling exit ...