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.001451/0.001451, allocations: 78.09 kB / 19.76 MB, free: 2.031 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.001574/0.001574, allocations: 157.9 kB / 23.01 MB, free: 4.945 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.458/1.458, allocations: 177.2 MB / 203.4 MB, free: 8.938 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.1175/0.1175, allocations: 17.8 MB / 277.6 MB, free: 15.33 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_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.002082/0.002082, allocations: 70.39 kB / 414.6 MB, free: 4.477 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1166, allocations: 59.56 MB / 474.2 MB, free: 8.801 MB / 446.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop): time 0.003715/0.1203, allocations: 2.218 MB / 476.4 MB, free: 6.57 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001045/0.1214, allocations: 0.5182 MB / 476.9 MB, free: 6.047 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.446e-05/0.1214, allocations: 4 kB / 476.9 MB, free: 6.043 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001351/0.1216, allocations: 35.7 kB / 477 MB, free: 6.008 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001196/0.1217, allocations: 55.48 kB / 477 MB, free: 5.953 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001509/0.1219, allocations: 51.88 kB / 477.1 MB, free: 5.902 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002756/0.1221, allocations: 215 kB / 477.3 MB, free: 5.691 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002005/0.1223, allocations: 69.39 kB / 477.4 MB, free: 5.625 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.1224, allocations: 79.67 kB / 477.4 MB, free: 5.547 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001429/0.1226, allocations: 79.61 kB / 477.5 MB, free: 5.469 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.702e-05/0.1226, allocations: 16 kB / 477.5 MB, free: 5.453 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.794e-05/0.1227, allocations: 20 kB / 477.6 MB, free: 5.434 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.174e-05/0.1227, allocations: 35.92 kB / 477.6 MB, free: 5.398 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.1228, allocations: 87.64 kB / 477.7 MB, free: 5.309 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003105/0.1231, allocations: 211.1 kB / 477.9 MB, free: 5.102 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1231, allocations: 4 kB / 477.9 MB, free: 5.098 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1231, allocations: 4 kB / 477.9 MB, free: 5.094 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.1231, allocations: 0 / 477.9 MB, free: 5.094 MB / 446.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.0007806/0.1239, allocations: 402 kB / 478.3 MB, free: 4.668 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.1239, allocations: 15.97 kB / 478.3 MB, free: 4.652 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.034e-05/0.124, allocations: 24.73 kB / 478.3 MB, free: 4.629 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003321/0.1243, allocations: 154.3 kB / 478.5 MB, free: 4.453 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.807e-05/0.1244, allocations: 16.88 kB / 478.5 MB, free: 4.438 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.068e-05/0.1244, allocations: 20.38 kB / 478.5 MB, free: 4.418 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003994/0.1248, allocations: 202.1 kB / 478.7 MB, free: 4.211 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.18e-05/0.1248, allocations: 0 / 478.7 MB, free: 4.211 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.193e-05/0.1249, allocations: 8 kB / 478.7 MB, free: 4.203 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.1249, allocations: 4 kB / 478.7 MB, free: 4.199 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002942/0.1252, allocations: 121.9 kB / 478.8 MB, free: 4.082 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001097/0.1263, allocations: 0.567 MB / 479.4 MB, free: 3.473 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003359/0.1266, allocations: 114.5 kB / 479.5 MB, free: 3.352 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001786/0.1268, allocations: 68.77 kB / 479.6 MB, free: 3.281 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.1268, allocations: 0 / 479.6 MB, free: 3.281 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.591e-05/0.1268, allocations: 38.56 kB / 479.6 MB, free: 3.234 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.002e-06/0.1268, allocations: 0 / 479.6 MB, free: 3.234 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004715/0.1273, allocations: 173.7 kB / 479.8 MB, free: 3.059 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.1273, allocations: 59.39 kB / 479.8 MB, free: 2.988 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.1275, allocations: 129.2 kB / 480 MB, free: 2.855 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/0.1275, allocations: 29.7 kB / 480 MB, free: 2.82 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.708e-05/0.1276, allocations: 132.4 kB / 480.1 MB, free: 2.688 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.422e-05/0.1277, allocations: 59.48 kB / 480.2 MB, free: 2.629 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.666e-05/0.1277, allocations: 33.7 kB / 480.2 MB, free: 2.59 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.1279, allocations: 322.8 kB / 480.5 MB, free: 2.266 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.128, allocations: 39.98 kB / 480.6 MB, free: 2.227 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001283/0.1281, allocations: 67.41 kB / 480.6 MB, free: 2.148 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002195/0.1284, allocations: 119.4 kB / 480.8 MB, free: 2.02 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1284, allocations: 0 / 480.8 MB, free: 2.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003056/0.1287, allocations: 180 kB / 480.9 MB, free: 1.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.1287, allocations: 7.938 kB / 480.9 MB, free: 1.832 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1287, allocations: 0 / 480.9 MB, free: 1.832 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.1287, allocations: 7.938 kB / 480.9 MB, free: 1.824 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002028/0.1289, allocations: 40.08 kB / 481 MB, free: 1.785 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.1289, allocations: 4 kB / 481 MB, free: 1.781 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.789e-05/0.129, allocations: 19.88 kB / 481 MB, free: 1.762 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.129, allocations: 4 kB / 481 MB, free: 1.758 MB / 446.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.0001173/0.1291, allocations: 129.8 kB / 481.1 MB, free: 1.621 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.7e-05/0.1292, allocations: 11.89 kB / 481.2 MB, free: 1.609 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.599e-05/0.1292, allocations: 16.78 kB / 481.2 MB, free: 1.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1292, allocations: 0 / 481.2 MB, free: 1.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.1292, allocations: 0 / 481.2 MB, free: 1.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.1292, allocations: 0 / 481.2 MB, free: 1.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002395/0.1295, allocations: 185.2 kB / 481.4 MB, free: 1.379 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1295, allocations: 0 / 481.4 MB, free: 1.379 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001899/0.1297, allocations: 39.91 kB / 481.4 MB, free: 1.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1297, allocations: 0 / 481.4 MB, free: 1.34 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.1297, allocations: 7.938 kB / 481.4 MB, free: 1.332 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1297, allocations: 0 / 481.4 MB, free: 1.332 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1297, allocations: 0 / 481.4 MB, free: 1.332 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004801/0.1302, allocations: 286.8 kB / 481.7 MB, free: 1.039 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.074e-05/0.1302, allocations: 11.94 kB / 481.7 MB, free: 1.027 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.029e-05/0.1302, allocations: 8 kB / 481.7 MB, free: 1.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.1303, allocations: 8 kB / 481.7 MB, free: 1.012 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.6e-05/0.1304, allocations: 11.97 kB / 481.7 MB, free: 1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.828e-06/0.1304, allocations: 11.94 kB / 481.7 MB, free: 0.9883 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.741e-05/0.1305, allocations: 95.27 kB / 481.8 MB, free: 0.8945 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1305, allocations: 0 / 481.8 MB, free: 0.8945 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002829/0.1307, allocations: 47.89 kB / 481.9 MB, free: 0.8477 MB / 446.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.0001339/0.1309, allocations: 107.1 kB / 482 MB, free: 0.7344 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002892/0.1312, allocations: 107.8 kB / 482.1 MB, free: 0.6289 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1312, allocations: 0 / 482.1 MB, free: 0.6289 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001159/0.1313, allocations: 51.92 kB / 482.1 MB, free: 0.5781 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/0.1316, allocations: 15.98 kB / 482.1 MB, free: 0.5625 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.1326, allocations: 481.9 kB / 482.6 MB, free: 68 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2224/0.3551, allocations: 112.2 kB / 482.7 MB, free: 52.12 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001095/0.3552, allocations: 12.56 kB / 482.7 MB, free: 52.12 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.968e-05/0.3552, allocations: 20.28 kB / 482.8 MB, free: 52.12 MB / 446.1 MB Notification: Performance of SimCode: time 1.303e-06/0.3552, allocations: 0 / 482.8 MB, free: 52.12 MB / 446.1 MB Notification: Performance of Templates: time 0.004025/0.3592, allocations: 1.1 MB / 483.9 MB, free: 52.06 MB / 446.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 -s ida -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.8656934830360115] Failed to read output from testmodel.py, exit status != 0: 0.3680098110344261 0.377139787 0.251304156 Calling exit ...