Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001.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.001308/0.001308, allocations: 84.23 kB / 20.23 MB, free: 4.207 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.002511/0.002511, allocations: 157.6 kB / 23.53 MB, free: 0.9023 MB / 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.582/1.582, allocations: 177.2 MB / 203.9 MB, free: 5.586 MB / 186.7 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.1171/0.1171, allocations: 18.13 MB / 278.5 MB, free: 11.32 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.ThermSys_component_models.HeatPump_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001") translateModel(AES.Coursework.ThermSys_component_models.HeatPump_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.594e-06/2.594e-06, allocations: 0 / 356.5 MB, free: 9.355 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.457e-05/3.716e-05, allocations: 2.312 kB / 356.5 MB, free: 9.352 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatPump_case_001): time 0.003659/0.003696, allocations: 1.688 MB / 358.2 MB, free: 7.656 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002384/0.003935, allocations: 59.75 kB / 358.3 MB, free: 7.598 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.873e-05/0.003983, allocations: 4 kB / 358.3 MB, free: 7.594 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 4.931e-05/0.004033, allocations: 7.922 kB / 358.3 MB, free: 7.586 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001427/0.004175, allocations: 31.77 kB / 358.3 MB, free: 7.555 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.348e-05/0.004229, allocations: 11.98 kB / 358.3 MB, free: 7.543 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001428/0.004372, allocations: 83.59 kB / 358.4 MB, free: 7.461 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.004504, allocations: 28.2 kB / 358.4 MB, free: 7.43 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.445e-05/0.004548, allocations: 19.98 kB / 358.5 MB, free: 7.41 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.00465, allocations: 31.83 kB / 358.5 MB, free: 7.379 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.425e-05/0.004674, allocations: 8 kB / 358.5 MB, free: 7.371 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.279e-05/0.004697, allocations: 8 kB / 358.5 MB, free: 7.363 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.605e-05/0.004723, allocations: 15.94 kB / 358.5 MB, free: 7.348 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.627e-05/0.004779, allocations: 31.91 kB / 358.6 MB, free: 7.316 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001575/0.004937, allocations: 79.7 kB / 358.6 MB, free: 7.238 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.004939, allocations: 0 / 358.6 MB, free: 7.238 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.00494, allocations: 0 / 358.6 MB, free: 7.238 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.004945, allocations: 0 / 358.6 MB, free: 7.238 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005236/0.005469, allocations: 298.3 kB / 358.9 MB, free: 6.914 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.005508, allocations: 8.922 kB / 358.9 MB, free: 6.906 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.051e-05/0.005569, allocations: 12.89 kB / 358.9 MB, free: 6.895 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.005703, allocations: 129.6 kB / 359.1 MB, free: 6.742 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.00572, allocations: 4.562 kB / 359.1 MB, free: 6.738 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.005738, allocations: 8.375 kB / 359.1 MB, free: 6.73 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.005937, allocations: 94.73 kB / 359.2 MB, free: 6.633 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.005945, allocations: 0 / 359.2 MB, free: 6.633 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.00596, allocations: 4 kB / 359.2 MB, free: 6.629 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.005968, allocations: 4 kB / 359.2 MB, free: 6.625 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001168/0.006084, allocations: 47.97 kB / 359.2 MB, free: 6.578 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006126/0.006697, allocations: 304.3 kB / 359.5 MB, free: 6.25 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.00682, allocations: 54.52 kB / 359.6 MB, free: 6.188 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.903e-05/0.006869, allocations: 20.95 kB / 359.6 MB, free: 6.164 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.006886, allocations: 0 / 359.6 MB, free: 6.164 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.638e-05/0.006922, allocations: 34.56 kB / 359.6 MB, free: 6.121 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 7.81e-07/0.006923, allocations: 4 kB / 359.6 MB, free: 6.117 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002434/0.007166, allocations: 73.64 kB / 359.7 MB, free: 6.039 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.289e-05/0.007219, allocations: 59.34 kB / 359.8 MB, free: 5.969 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.007326, allocations: 105.8 kB / 359.9 MB, free: 5.855 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.007347, allocations: 29.7 kB / 359.9 MB, free: 5.82 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.323e-05/0.00743, allocations: 104.2 kB / 360 MB, free: 5.715 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.407e-05/0.007454, allocations: 23.8 kB / 360 MB, free: 5.691 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-05/0.007499, allocations: 21.7 kB / 360.1 MB, free: 5.664 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.007674, allocations: 322.8 kB / 360.4 MB, free: 5.34 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.792e-05/0.007711, allocations: 19.98 kB / 360.4 MB, free: 5.32 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.505e-05/0.007766, allocations: 38.56 kB / 360.4 MB, free: 5.273 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.107e-05/0.007858, allocations: 54.5 kB / 360.5 MB, free: 5.211 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.007859, allocations: 0 / 360.5 MB, free: 5.211 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001411/0.008, allocations: 89.52 kB / 360.6 MB, free: 5.117 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.008015, allocations: 6.031 kB / 360.6 MB, free: 5.113 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.008025, allocations: 4 kB / 360.6 MB, free: 5.109 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.008044, allocations: 0 / 360.6 MB, free: 5.109 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.008166, allocations: 24.05 kB / 360.6 MB, free: 5.086 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.008172, allocations: 0 / 360.6 MB, free: 5.086 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.751e-05/0.008209, allocations: 0 / 360.6 MB, free: 5.086 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.008221, allocations: 8 kB / 360.6 MB, free: 5.078 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 9 * 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.0001071/0.008328, allocations: 121.7 kB / 360.7 MB, free: 4.949 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.966e-05/0.008358, allocations: 7.953 kB / 360.7 MB, free: 4.941 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001728/0.00853, allocations: 78.11 kB / 360.8 MB, free: 4.863 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.008532, allocations: 0 / 360.8 MB, free: 4.863 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.008537, allocations: 0 / 360.8 MB, free: 4.863 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.00854, allocations: 0 / 360.8 MB, free: 4.863 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000182/0.008722, allocations: 137.2 kB / 360.9 MB, free: 4.699 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.008725, allocations: 4.484 kB / 360.9 MB, free: 4.695 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.033e-05/0.008796, allocations: 11.94 kB / 361 MB, free: 4.684 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.0088, allocations: 4 kB / 361 MB, free: 4.68 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.008813, allocations: 8 kB / 361 MB, free: 4.672 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.008814, allocations: 0 / 361 MB, free: 4.672 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.008815, allocations: 0 / 361 MB, free: 4.672 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002206/0.009035, allocations: 167.6 kB / 361.1 MB, free: 4.492 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.174e-05/0.009047, allocations: 3.984 kB / 361.1 MB, free: 4.488 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.009062, allocations: 4 kB / 361.1 MB, free: 4.484 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.863e-05/0.009121, allocations: 0 / 361.1 MB, free: 4.484 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.101e-05/0.009142, allocations: 8 kB / 361.2 MB, free: 4.477 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/0.009148, allocations: 4 kB / 361.2 MB, free: 4.473 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.056e-05/0.009209, allocations: 83.27 kB / 361.2 MB, free: 4.391 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009209, allocations: 0 / 361.2 MB, free: 4.391 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002389/0.009448, allocations: 19.95 kB / 361.3 MB, free: 4.371 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (7): * Single equations (assignments): 7 * 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.0001338/0.009581, allocations: 99.19 kB / 361.4 MB, free: 4.262 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001277/0.009709, allocations: 44.03 kB / 361.4 MB, free: 4.219 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.009711, allocations: 0 / 361.4 MB, free: 4.219 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.593e-05/0.009747, allocations: 24.05 kB / 361.4 MB, free: 4.195 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003379/0.01008, allocations: 15.94 kB / 361.4 MB, free: 4.18 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004375/0.01052, allocations: 172.8 kB / 361.6 MB, free: 3.984 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.015e-05/0.01061, allocations: 79.27 kB / 361.7 MB, free: 3.887 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.789e-05/0.01065, allocations: 8 kB / 361.7 MB, free: 3.879 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.295e-05/0.01069, allocations: 12.5 kB / 361.7 MB, free: 3.863 MB / 330.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01069, allocations: 0 / 361.7 MB, free: 3.863 MB / 330.7 MB Notification: Performance of Templates: time 0.002951/0.01364, allocations: 464.7 kB / 362.2 MB, free: 3.414 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001.sim & ./AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.6634027630789205]