Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop.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.0009671/0.0009671, 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.001002/0.001002, allocations: 177 kB / 24.17 MB, free: 332 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 1.043/1.043, allocations: 177.1 MB / 204.6 MB, free: 5.473 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.06651/0.06651, allocations: 18.14 MB / 279.2 MB, free: 11.2 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_OpenLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop") translateModel(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 304.6 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.893e-05/2.078e-05, allocations: 4.844 kB / 304.6 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop): time 0.00305/0.003071, allocations: 2.376 MB / 306.9 MB, free: 14.97 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001007/0.004078, allocations: 0.5478 MB / 307.5 MB, free: 14.59 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.00419, allocations: 4.031 kB / 307.5 MB, free: 14.59 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001298/0.00432, allocations: 27.39 kB / 307.5 MB, free: 14.58 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000134/0.004453, allocations: 71.52 kB / 307.6 MB, free: 14.52 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001705/0.004624, allocations: 47.25 kB / 307.6 MB, free: 14.5 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002367/0.004861, allocations: 227 kB / 307.9 MB, free: 14.38 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001571/0.005018, allocations: 72.48 kB / 307.9 MB, free: 14.34 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.005118, allocations: 78.19 kB / 308 MB, free: 14.28 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/0.005232, allocations: 65.39 kB / 308.1 MB, free: 14.23 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.768e-05/0.00526, allocations: 20 kB / 308.1 MB, free: 14.21 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.146e-05/0.005281, allocations: 16 kB / 308.1 MB, free: 14.2 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.815e-05/0.005319, allocations: 46.05 kB / 308.1 MB, free: 14.16 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.649e-05/0.005376, allocations: 64.88 kB / 308.2 MB, free: 14.1 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002859/0.005662, allocations: 144.5 kB / 308.4 MB, free: 13.98 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.005664, allocations: 0.5625 kB / 308.4 MB, free: 13.98 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.42e-07/0.005664, allocations: 3.938 kB / 308.4 MB, free: 13.98 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.97e-06/0.005669, allocations: 0 / 308.4 MB, free: 13.98 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0004238/0.006093, allocations: 385.1 kB / 308.7 MB, free: 13.61 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.006125, allocations: 12.03 kB / 308.7 MB, free: 13.59 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.877e-05/0.006174, allocations: 31.55 kB / 308.8 MB, free: 13.57 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/0.006335, allocations: 143.2 kB / 308.9 MB, free: 13.41 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.006355, allocations: 16.88 kB / 308.9 MB, free: 13.39 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.682e-05/0.006381, allocations: 17.03 kB / 308.9 MB, free: 13.38 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002113/0.006593, allocations: 168.4 kB / 309.1 MB, free: 13.22 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.006604, allocations: 4.172 kB / 309.1 MB, free: 13.22 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.006616, allocations: 4.375 kB / 309.1 MB, free: 13.21 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.006624, allocations: 12.64 kB / 309.1 MB, free: 13.2 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.966e-05/0.006723, allocations: 52.89 kB / 309.2 MB, free: 13.16 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005782/0.007301, allocations: 468.9 kB / 309.6 MB, free: 12.71 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001627/0.007464, allocations: 82.92 kB / 309.7 MB, free: 12.63 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.244e-05/0.007507, allocations: 40.59 kB / 309.8 MB, free: 12.59 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.045e-05/0.007517, allocations: 4 kB / 309.8 MB, free: 12.59 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.00754, allocations: 38.5 kB / 309.8 MB, free: 12.54 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 1.232e-06/0.007542, allocations: 0 / 309.8 MB, free: 12.54 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0001657/0.007707, allocations: 98.2 kB / 309.9 MB, free: 12.45 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.495e-05/0.007732, allocations: 55.41 kB / 310 MB, free: 12.38 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.629e-05/0.007799, allocations: 132.1 kB / 310.1 MB, free: 12.25 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.007811, allocations: 25.7 kB / 310.1 MB, free: 12.21 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.005e-05/0.007861, allocations: 132.4 kB / 310.2 MB, free: 12.08 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.948e-05/0.00789, allocations: 63.47 kB / 310.3 MB, free: 12.02 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.681e-05/0.007927, allocations: 33.7 kB / 310.3 MB, free: 11.98 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.008045, allocations: 326.8 kB / 310.7 MB, free: 11.65 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.945e-05/0.008065, allocations: 15.98 kB / 310.7 MB, free: 11.64 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.984e-05/0.008104, allocations: 55.34 kB / 310.7 MB, free: 11.57 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.515e-05/0.008179, allocations: 72.31 kB / 310.8 MB, free: 11.49 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.008182, allocations: 0 / 310.8 MB, free: 11.49 MB / 282.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001025/0.008284, allocations: 105.9 kB / 310.9 MB, free: 11.38 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.008296, allocations: 4 kB / 310.9 MB, free: 11.38 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.008302, allocations: 4 kB / 310.9 MB, free: 11.38 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.008314, allocations: 96 / 310.9 MB, free: 11.38 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001607/0.008474, allocations: 59.23 kB / 311 MB, free: 11.32 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.008479, allocations: 7.984 kB / 311 MB, free: 11.31 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.441e-05/0.008513, allocations: 15.89 kB / 311 MB, free: 11.3 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.283e-06/0.008521, allocations: 11.94 kB / 311 MB, free: 11.29 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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 6.048e-05/0.008581, allocations: 117.8 kB / 311.1 MB, free: 11.16 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.133e-05/0.008602, allocations: 7.984 kB / 311.1 MB, free: 11.15 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.494e-05/0.008627, allocations: 20.78 kB / 311.1 MB, free: 11.13 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.008629, allocations: 0 / 311.1 MB, free: 11.13 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.008633, allocations: 7.938 kB / 311.1 MB, free: 11.12 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.008639, allocations: 11.92 kB / 311.2 MB, free: 11.11 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001254/0.008764, allocations: 121.7 kB / 311.3 MB, free: 10.98 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.008765, allocations: 0 / 311.3 MB, free: 10.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.00887, allocations: 35.98 kB / 311.3 MB, free: 10.94 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.008873, allocations: 3.984 kB / 311.3 MB, free: 10.94 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.008883, allocations: 8 kB / 311.3 MB, free: 10.93 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.008884, allocations: 0 / 311.3 MB, free: 10.93 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.008885, allocations: 0 / 311.3 MB, free: 10.93 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001626/0.009048, allocations: 211.3 kB / 311.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.161e-05/0.009059, allocations: 11.97 kB / 311.5 MB, free: 10.7 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.045e-05/0.00907, allocations: 4 kB / 311.5 MB, free: 10.69 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.044e-05/0.00912, allocations: 11.98 kB / 311.6 MB, free: 10.68 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.095e-05/0.009151, allocations: 11.92 kB / 311.6 MB, free: 10.67 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.157e-06/0.009155, allocations: 0 / 311.6 MB, free: 10.67 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.862e-05/0.009174, allocations: 29.47 kB / 311.6 MB, free: 10.64 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009174, allocations: 0 / 311.6 MB, free: 10.64 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001608/0.009335, allocations: 51.84 kB / 311.7 MB, free: 10.59 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Cbody.T,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 (16): * Single equations (assignments): 16 * 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 6.917e-05/0.009404, allocations: 76.42 kB / 311.7 MB, free: 10.5 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001019/0.009506, allocations: 85.16 kB / 311.8 MB, free: 10.42 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.009509, allocations: 0 / 311.8 MB, free: 10.42 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.602e-05/0.009545, allocations: 39.45 kB / 311.8 MB, free: 10.38 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001342/0.00968, allocations: 16 kB / 311.9 MB, free: 10.36 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005909/0.01027, allocations: 407.8 kB / 312.3 MB, free: 9.941 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001164/0.01039, allocations: 71.83 kB / 312.3 MB, free: 9.852 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.371e-05/0.01043, allocations: 9.156 kB / 312.3 MB, free: 9.84 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.742e-05/0.0105, allocations: 75.36 kB / 312.4 MB, free: 9.766 MB / 282.7 MB Notification: Performance of SimCode: time 5.01e-07/0.0105, allocations: 0 / 312.4 MB, free: 9.766 MB / 282.7 MB Notification: Performance of Templates: time 0.002852/0.01335, allocations: 1.297 MB / 313.7 MB, free: 8.52 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop.makefile [Timeout 660] (rm -f AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop.pipe ; mkfifo AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop.pipe ; head -c 1048576 < AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop.pipe >> ../files/AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop.sim & ./AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.790868130978197]