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.001405/0.001405, allocations: 73.11 kB / 20.67 MB, free: 3.828 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.001657/0.001657, allocations: 177 kB / 24.08 MB, free: 432 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.9604/0.9604, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.06473/0.06473, allocations: 18.13 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_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.392e-06/1.392e-06, allocations: 0 / 357.8 MB, free: 7.516 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.128e-05/2.267e-05, allocations: 2.312 kB / 357.8 MB, free: 7.512 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop): time 0.007716/0.007739, allocations: 2.339 MB / 360.1 MB, free: 5.152 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000912/0.008651, allocations: 0.5336 MB / 360.6 MB, free: 4.613 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.008763, allocations: 4 kB / 360.6 MB, free: 4.609 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001281/0.008891, allocations: 27.72 kB / 360.7 MB, free: 4.582 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001227/0.009014, allocations: 67.36 kB / 360.7 MB, free: 4.516 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001431/0.009157, allocations: 43.92 kB / 360.8 MB, free: 4.473 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002223/0.009379, allocations: 230.8 kB / 361 MB, free: 4.246 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001673/0.009546, allocations: 69.39 kB / 361.1 MB, free: 4.18 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.009652, allocations: 83.77 kB / 361.1 MB, free: 4.098 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/0.009773, allocations: 59.86 kB / 361.2 MB, free: 4.039 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.071e-05/0.009803, allocations: 16 kB / 361.2 MB, free: 4.023 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.041e-05/0.009834, allocations: 20 kB / 361.2 MB, free: 4.004 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.489e-05/0.009869, allocations: 39.83 kB / 361.3 MB, free: 3.965 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.257e-05/0.009941, allocations: 75.83 kB / 361.4 MB, free: 3.891 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001987/0.01014, allocations: 143.5 kB / 361.5 MB, free: 3.75 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.01014, allocations: 0 / 361.5 MB, free: 3.75 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.01014, allocations: 0 / 361.5 MB, free: 3.75 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.616e-06/0.01015, allocations: 7.938 kB / 361.5 MB, free: 3.742 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.0005026/0.01065, allocations: 0.4964 MB / 362 MB, free: 3.211 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.01069, allocations: 8.031 kB / 362 MB, free: 3.203 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.557e-05/0.01074, allocations: 36.84 kB / 362 MB, free: 3.168 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001663/0.01091, allocations: 152.4 kB / 362.2 MB, free: 2.992 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.01093, allocations: 12.88 kB / 362.2 MB, free: 2.98 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.45e-05/0.01096, allocations: 24.38 kB / 362.2 MB, free: 2.957 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000218/0.01118, allocations: 163.1 kB / 362.4 MB, free: 2.781 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.01119, allocations: 4.188 kB / 362.4 MB, free: 2.777 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.01121, allocations: 8.375 kB / 362.4 MB, free: 2.77 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/0.01122, allocations: 11.92 kB / 362.4 MB, free: 2.758 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.01132, allocations: 61.39 kB / 362.5 MB, free: 2.695 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006971/0.01202, allocations: 0.5707 MB / 363 MB, free: 2.086 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.0122, allocations: 98.98 kB / 363.1 MB, free: 1.977 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.01231, allocations: 35.67 kB / 363.2 MB, free: 1.938 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.142e-05/0.01232, allocations: 7.938 kB / 363.2 MB, free: 1.93 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.01234, allocations: 45.31 kB / 363.2 MB, free: 1.875 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 1.884e-06/0.01234, allocations: 0 / 363.2 MB, free: 1.875 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002135/0.01256, allocations: 116.9 kB / 363.3 MB, free: 1.758 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.476e-05/0.01258, allocations: 55.41 kB / 363.4 MB, free: 1.691 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.849e-05/0.01267, allocations: 189.3 kB / 363.6 MB, free: 1.492 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.01269, allocations: 33.7 kB / 363.6 MB, free: 1.453 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.913e-05/0.01277, allocations: 187.1 kB / 363.8 MB, free: 1.266 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.725e-05/0.01281, allocations: 51.53 kB / 363.8 MB, free: 1.215 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.413e-05/0.01286, allocations: 39.36 kB / 363.9 MB, free: 1.168 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.01299, allocations: 0.4961 MB / 364.4 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.517e-05/0.01303, allocations: 15.98 kB / 364.4 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.127e-05/0.01309, allocations: 70.64 kB / 364.5 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001067/0.01319, allocations: 89.47 kB / 364.6 MB, free: 468 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.0132, allocations: 7.938 kB / 364.6 MB, free: 460 kB / 282.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001666/0.01336, allocations: 121.5 kB / 364.7 MB, free: 332 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.01338, allocations: 4 kB / 364.7 MB, free: 328 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.01338, allocations: 4 kB / 364.7 MB, free: 324 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.01339, allocations: 0 / 364.7 MB, free: 324 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/0.01352, allocations: 39.92 kB / 364.7 MB, free: 284 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.01353, allocations: 7.938 kB / 364.7 MB, free: 276 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.838e-05/0.01357, allocations: 11.95 kB / 364.7 MB, free: 264 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.397e-06/0.01358, allocations: 12.08 kB / 364.8 MB, free: 252 kB / 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 8.349e-05/0.01367, allocations: 160.5 kB / 364.9 MB, free: 80 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.614e-05/0.0137, allocations: 23.91 kB / 364.9 MB, free: 56 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.119e-05/0.01373, allocations: 16.72 kB / 365 MB, free: 40 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.01374, allocations: 0 / 365 MB, free: 40 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.01374, allocations: 11.94 kB / 365 MB, free: 28 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.01374, allocations: 0 / 365 MB, free: 28 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002058/0.01395, allocations: 145.2 kB / 365.1 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.01395, allocations: 0 / 365.1 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001273/0.01408, allocations: 31.98 kB / 365.1 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.01408, allocations: 11.98 kB / 365.1 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.0141, allocations: 4 kB / 365.2 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.0141, allocations: 0 / 365.2 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.0141, allocations: 0 / 365.2 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002547/0.01435, allocations: 290.2 kB / 365.4 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.852e-05/0.01437, allocations: 11.89 kB / 365.4 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.01439, allocations: 0 / 365.4 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.32e-05/0.01447, allocations: 8 kB / 365.5 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.335e-05/0.0145, allocations: 11.97 kB / 365.5 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.585e-06/0.01451, allocations: 8.031 kB / 365.5 MB, free: 15.47 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.471e-05/0.01457, allocations: 143.2 kB / 365.6 MB, free: 15.33 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01457, allocations: 0 / 365.6 MB, free: 15.33 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002737/0.01484, allocations: 51.83 kB / 365.7 MB, free: 15.28 MB / 298.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 9.243e-05/0.01493, allocations: 95.25 kB / 365.8 MB, free: 15.18 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001404/0.01507, allocations: 79.52 kB / 365.8 MB, free: 15.1 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01507, allocations: 0 / 365.8 MB, free: 15.1 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.105e-05/0.01513, allocations: 43.17 kB / 365.9 MB, free: 15.05 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002543/0.01538, allocations: 28.11 kB / 365.9 MB, free: 15.03 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007871/0.01617, allocations: 409.2 kB / 366.3 MB, free: 14.6 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.125e-05/0.01622, allocations: 71.83 kB / 366.4 MB, free: 14.51 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.648e-05/0.01627, allocations: 20.58 kB / 366.4 MB, free: 14.49 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.497e-05/0.01636, allocations: 90.19 kB / 366.5 MB, free: 14.4 MB / 298.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01636, allocations: 0 / 366.5 MB, free: 14.4 MB / 298.7 MB Notification: Performance of Templates: time 0.003777/0.02014, allocations: 1.252 MB / 367.7 MB, free: 13.17 MB / 298.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 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.656641779933125]