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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001763/0.001763, allocations: 103.2 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001831/0.001831, allocations: 187.8 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 225.6 MB / 247.8 MB, free: 13.98 MB / 206.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.1008/0.1008, allocations: 22.7 MB / 325.4 MB, free: 3.559 MB / 254.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002003/0.002003, allocations: 59.89 kB / 457.6 MB, free: 1.301 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1372, allocations: 58.03 MB / 0.5036 GB, free: 7.156 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop): time 0.004446/0.1416, allocations: 2.278 MB / 0.5058 GB, free: 4.863 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001356/0.143, allocations: 0.5259 MB / 0.5063 GB, free: 4.332 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001533/0.1431, allocations: 4 kB / 0.5063 GB, free: 4.328 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002138/0.1433, allocations: 31.66 kB / 0.5064 GB, free: 4.297 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001692/0.1435, allocations: 63.48 kB / 0.5064 GB, free: 4.234 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002368/0.1438, allocations: 43.94 kB / 0.5065 GB, free: 4.191 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003238/0.1441, allocations: 219 kB / 0.5067 GB, free: 3.977 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000255/0.1443, allocations: 68.05 kB / 0.5067 GB, free: 3.906 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001295/0.1445, allocations: 83.72 kB / 0.5068 GB, free: 3.824 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001957/0.1447, allocations: 87.56 kB / 0.5069 GB, free: 3.738 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.677e-05/0.1447, allocations: 20 kB / 0.5069 GB, free: 3.719 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.758e-05/0.1447, allocations: 16 kB / 0.5069 GB, free: 3.703 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.722e-05/0.1448, allocations: 47.84 kB / 0.507 GB, free: 3.656 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001305/0.1449, allocations: 91.59 kB / 0.5071 GB, free: 3.566 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003485/0.1453, allocations: 219.1 kB / 0.5073 GB, free: 3.352 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.034e-05/0.1453, allocations: 4 kB / 0.5073 GB, free: 3.348 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.1453, allocations: 0 / 0.5073 GB, free: 3.348 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.144e-06/0.1453, allocations: 0 / 0.5073 GB, free: 3.348 MB / 382.1 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.0008944/0.1462, allocations: 479.1 kB / 0.5077 GB, free: 2.832 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.1462, allocations: 12.03 kB / 0.5078 GB, free: 2.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.077e-05/0.1463, allocations: 16.84 kB / 0.5078 GB, free: 2.805 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003549/0.1466, allocations: 220 kB / 0.508 GB, free: 2.551 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.566e-05/0.1467, allocations: 12.81 kB / 0.508 GB, free: 2.539 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4e-05/0.1467, allocations: 20.38 kB / 0.508 GB, free: 2.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000374/0.1471, allocations: 175.6 kB / 0.5082 GB, free: 2.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.1471, allocations: 3.938 kB / 0.5082 GB, free: 2.336 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.407e-05/0.1471, allocations: 8 kB / 0.5082 GB, free: 2.328 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.1471, allocations: 8 kB / 0.5082 GB, free: 2.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002803/0.1474, allocations: 121.7 kB / 0.5083 GB, free: 2.203 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001114/0.1485, allocations: 0.6681 MB / 0.509 GB, free: 1.469 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003283/0.1489, allocations: 134.4 kB / 0.5091 GB, free: 1.328 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001326/0.149, allocations: 56.84 kB / 0.5092 GB, free: 1.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.814e-05/0.149, allocations: 4.281 kB / 0.5092 GB, free: 1.266 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.907e-05/0.1491, allocations: 30.56 kB / 0.5092 GB, free: 1.227 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.262e-06/0.1491, allocations: 0 / 0.5092 GB, free: 1.227 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004718/0.1495, allocations: 173.5 kB / 0.5093 GB, free: 1.051 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.323e-05/0.1496, allocations: 59.28 kB / 0.5094 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.1497, allocations: 125.8 kB / 0.5095 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.1497, allocations: 25.7 kB / 0.5096 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.1498, allocations: 140.2 kB / 0.5097 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.831e-05/0.1499, allocations: 67.45 kB / 0.5097 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.819e-05/0.1499, allocations: 29.72 kB / 0.5098 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001843/0.1501, allocations: 322.8 kB / 0.5101 GB, free: 256 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.988e-05/0.1502, allocations: 39.98 kB / 0.5101 GB, free: 216 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.1504, allocations: 71.41 kB / 0.5102 GB, free: 132 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002343/0.1506, allocations: 123 kB / 0.5103 GB, free: 0 / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.438e-05/0.1506, allocations: 1.734 kB / 0.5103 GB, free: 15.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004265/0.151, allocations: 157.9 kB / 0.5105 GB, free: 15.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/0.1511, allocations: 6.031 kB / 0.5105 GB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.1511, allocations: 4.453 kB / 0.5105 GB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/0.1511, allocations: 2.406 kB / 0.5105 GB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001949/0.1513, allocations: 43.92 kB / 0.5105 GB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.1513, allocations: 1.594 kB / 0.5105 GB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.88e-05/0.1514, allocations: 17.98 kB / 0.5105 GB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/0.1514, allocations: 7.031 kB / 0.5105 GB, free: 15.79 MB / 382.1 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 9.786e-05/0.1515, allocations: 135.1 kB / 0.5107 GB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.828e-05/0.1515, allocations: 9.906 kB / 0.5107 GB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.084e-05/0.1516, allocations: 20.62 kB / 0.5107 GB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.1516, allocations: 2.906 kB / 0.5107 GB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.1516, allocations: 4.594 kB / 0.5107 GB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.1516, allocations: 2.484 kB / 0.5107 GB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003081/0.1519, allocations: 249.5 kB / 0.5109 GB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1519, allocations: 4.281 kB / 0.511 GB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001895/0.1521, allocations: 36.69 kB / 0.511 GB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.1521, allocations: 1.625 kB / 0.511 GB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.1521, allocations: 3.844 kB / 0.511 GB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.1521, allocations: 1.469 kB / 0.511 GB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.1521, allocations: 4.547 kB / 0.511 GB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004202/0.1525, allocations: 284.9 kB / 0.5113 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.269e-05/0.1526, allocations: 94.42 kB / 0.5114 GB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.027e-05/0.1526, allocations: 4.094 kB / 0.5114 GB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.1527, allocations: 7.672 kB / 0.5114 GB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.679e-05/0.1528, allocations: 19.41 kB / 0.5114 GB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-06/0.1528, allocations: 3.312 kB / 0.5114 GB, free: 15.26 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.807e-05/0.1528, allocations: 99.39 kB / 0.5115 GB, free: 15.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1528, allocations: 0 / 0.5115 GB, free: 15.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002682/0.1531, allocations: 46.81 kB / 0.5115 GB, free: 15.18 MB / 382.1 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 8.437e-05/0.1532, allocations: 99.78 kB / 0.5116 GB, free: 15.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002662/0.1534, allocations: 115.1 kB / 0.5117 GB, free: 15.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1534, allocations: 0 / 0.5117 GB, free: 15.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.1535, allocations: 53.52 kB / 0.5118 GB, free: 15.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.1538, allocations: 14.83 kB / 0.5118 GB, free: 15.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008261/0.1546, allocations: 472.5 kB / 0.5123 GB, free: 14.86 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001532/0.1548, allocations: 0.7214 MB / 0.513 GB, free: 14.17 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.234e-05/0.1548, allocations: 16.78 kB / 0.513 GB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.809e-05/0.1549, allocations: 16.94 kB / 0.513 GB, free: 14.16 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1549, allocations: 1.25 kB / 0.513 GB, free: 14.16 MB / 382.1 MB Notification: Performance of Templates: time 0.004054/0.1589, allocations: 1.248 MB / 0.5142 GB, free: 14.07 MB / 382.1 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=480 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.993246193043888]