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.001619/0.001619, allocations: 109.1 kB / 17.14 MB, free: 5.93 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.001843/0.001843, allocations: 204 kB / 20.11 MB, free: 2.977 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.561/1.561, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.1025/0.1025, allocations: 24.03 MB / 333.6 MB, free: 1.57 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.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: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002106/0.002106, allocations: 73.11 kB / 468.9 MB, free: 31.34 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1393, allocations: 59.54 MB / 0.516 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop): time 0.004075/0.1433, allocations: 2.309 MB / 0.5183 GB, free: 9.465 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001094/0.1444, allocations: 0.561 MB / 0.5188 GB, free: 8.898 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001171/0.1445, allocations: 4 kB / 0.5189 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001467/0.1447, allocations: 27.7 kB / 0.5189 GB, free: 8.867 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001342/0.1448, allocations: 55.48 kB / 0.5189 GB, free: 8.812 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001683/0.145, allocations: 51.88 kB / 0.519 GB, free: 8.762 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002753/0.1453, allocations: 215 kB / 0.5192 GB, free: 8.551 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002063/0.1455, allocations: 80.56 kB / 0.5193 GB, free: 8.473 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.1456, allocations: 83.66 kB / 0.5193 GB, free: 8.391 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001468/0.1457, allocations: 83.69 kB / 0.5194 GB, free: 8.309 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.626e-05/0.1458, allocations: 23.94 kB / 0.5194 GB, free: 8.285 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.157e-05/0.1458, allocations: 16 kB / 0.5195 GB, free: 8.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.768e-05/0.1458, allocations: 43.91 kB / 0.5195 GB, free: 8.227 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001181/0.146, allocations: 95.53 kB / 0.5196 GB, free: 8.133 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003992/0.1464, allocations: 211.1 kB / 0.5198 GB, free: 7.926 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1464, allocations: 4 kB / 0.5198 GB, free: 7.922 MB / 382.1 MB Notification: Performance of FrontEnd: time 5.37e-06/0.1464, allocations: 3.984 kB / 0.5198 GB, free: 7.918 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.1464, allocations: 4 kB / 0.5198 GB, free: 7.914 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.0008158/0.1472, allocations: 475.1 kB / 0.5203 GB, free: 7.402 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.1472, allocations: 8.031 kB / 0.5203 GB, free: 7.395 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.893e-05/0.1473, allocations: 24.8 kB / 0.5203 GB, free: 7.371 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004293/0.1477, allocations: 212.1 kB / 0.5205 GB, free: 7.125 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.345e-05/0.1477, allocations: 16.81 kB / 0.5205 GB, free: 7.109 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.179e-05/0.1478, allocations: 16.38 kB / 0.5205 GB, free: 7.094 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003703/0.1482, allocations: 179.6 kB / 0.5207 GB, free: 6.914 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.1482, allocations: 0 / 0.5207 GB, free: 6.914 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.469e-05/0.1482, allocations: 12 kB / 0.5207 GB, free: 6.902 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.203e-05/0.1482, allocations: 4 kB / 0.5207 GB, free: 6.898 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002779/0.1485, allocations: 117.7 kB / 0.5208 GB, free: 6.785 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001239/0.1497, allocations: 0.6759 MB / 0.5215 GB, free: 6.043 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003233/0.15, allocations: 130.4 kB / 0.5216 GB, free: 5.906 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001405/0.1502, allocations: 61.11 kB / 0.5217 GB, free: 5.844 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.1502, allocations: 4 kB / 0.5217 GB, free: 5.84 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.819e-05/0.1502, allocations: 38.5 kB / 0.5217 GB, free: 5.793 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.313e-06/0.1502, allocations: 0 / 0.5217 GB, free: 5.793 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004841/0.1507, allocations: 171.9 kB / 0.5219 GB, free: 5.621 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/0.1508, allocations: 55.34 kB / 0.5219 GB, free: 5.555 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.1509, allocations: 133.8 kB / 0.5221 GB, free: 5.41 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.849e-05/0.1509, allocations: 25.7 kB / 0.5221 GB, free: 5.379 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.171e-05/0.151, allocations: 136.2 kB / 0.5222 GB, free: 5.242 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.48e-05/0.1511, allocations: 59.47 kB / 0.5223 GB, free: 5.184 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.673e-05/0.1511, allocations: 37.7 kB / 0.5223 GB, free: 5.141 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.1513, allocations: 322.8 kB / 0.5226 GB, free: 4.816 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.981e-05/0.1514, allocations: 35.98 kB / 0.5226 GB, free: 4.781 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/0.1515, allocations: 77.47 kB / 0.5227 GB, free: 4.695 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002337/0.1518, allocations: 121.7 kB / 0.5228 GB, free: 4.566 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1518, allocations: 0 / 0.5228 GB, free: 4.566 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000305/0.1521, allocations: 171.4 kB / 0.523 GB, free: 4.395 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.1521, allocations: 8 kB / 0.523 GB, free: 4.387 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.1521, allocations: 0 / 0.523 GB, free: 4.387 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.1521, allocations: 0 / 0.523 GB, free: 4.387 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001754/0.1523, allocations: 39.98 kB / 0.523 GB, free: 4.348 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.1523, allocations: 0 / 0.523 GB, free: 4.348 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.666e-05/0.1524, allocations: 19.84 kB / 0.5231 GB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.1524, allocations: 7.984 kB / 0.5231 GB, free: 4.32 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 0.0001374/0.1525, allocations: 134.7 kB / 0.5232 GB, free: 4.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.495e-05/0.1525, allocations: 15.89 kB / 0.5232 GB, free: 4.164 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.781e-05/0.1526, allocations: 16.84 kB / 0.5232 GB, free: 4.148 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1526, allocations: 0 / 0.5232 GB, free: 4.148 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.1526, allocations: 4 kB / 0.5232 GB, free: 4.145 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.1526, allocations: 0 / 0.5232 GB, free: 4.145 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003071/0.1529, allocations: 253.5 kB / 0.5235 GB, free: 3.848 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.1529, allocations: 3.938 kB / 0.5235 GB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001874/0.1531, allocations: 43.92 kB / 0.5235 GB, free: 3.801 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.1531, allocations: 4 kB / 0.5235 GB, free: 3.797 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.1531, allocations: 0 / 0.5235 GB, free: 3.797 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.1531, allocations: 7.938 kB / 0.5235 GB, free: 3.789 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.1531, allocations: 0 / 0.5235 GB, free: 3.789 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004474/0.1536, allocations: 283.3 kB / 0.5238 GB, free: 3.496 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.306e-05/0.1536, allocations: 96.95 kB / 0.5239 GB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.459e-05/0.1537, allocations: 8 kB / 0.5239 GB, free: 3.375 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.1538, allocations: 4 kB / 0.5239 GB, free: 3.371 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.066e-05/0.1538, allocations: 16.05 kB / 0.5239 GB, free: 3.355 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.936e-06/0.1538, allocations: 4 kB / 0.5239 GB, free: 3.352 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.624e-05/0.1539, allocations: 98.64 kB / 0.524 GB, free: 3.258 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1539, allocations: 0 / 0.524 GB, free: 3.258 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002834/0.1542, allocations: 51.84 kB / 0.5241 GB, free: 3.207 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 0.000111/0.1543, allocations: 99.19 kB / 0.5242 GB, free: 3.098 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002882/0.1546, allocations: 108.1 kB / 0.5243 GB, free: 2.992 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1546, allocations: 4 kB / 0.5243 GB, free: 2.988 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.1547, allocations: 47.92 kB / 0.5243 GB, free: 2.941 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002765/0.155, allocations: 23.86 kB / 0.5243 GB, free: 2.918 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/0.156, allocations: 472.4 kB / 0.5248 GB, free: 2.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005903/0.1566, allocations: 0.7201 MB / 0.5255 GB, free: 1.684 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.079e-05/0.1566, allocations: 8.656 kB / 0.5255 GB, free: 1.676 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.939e-05/0.1567, allocations: 15.44 kB / 0.5255 GB, free: 1.664 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1567, allocations: 0 / 0.5255 GB, free: 1.664 MB / 382.1 MB Notification: Performance of Templates: time 0.004587/0.1613, allocations: 1.24 MB / 0.5267 GB, free: 448 kB / 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: 5.003568280488253] Failed to read output from testmodel.py, exit status != 0: 0.16925285384058952 0.182519862 0.033309958 Calling exit ...