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.001027/0.001027, allocations: 77.88 kB / 21.46 MB, free: 3.043 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.0009792/0.0009792, allocations: 166.8 kB / 24.85 MB, free: 9.199 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.034/1.034, allocations: 177.1 MB / 205.3 MB, free: 5.52 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.06893/0.06893, allocations: 18.14 MB / 280 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.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 1.132e-06/1.132e-06, allocations: 0 / 358.6 MB, free: 8.57 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.094e-05/2.207e-05, allocations: 2.312 kB / 358.6 MB, free: 8.566 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatPump_case_001): time 0.002249/0.002271, allocations: 1.742 MB / 360.3 MB, free: 6.816 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002163/0.002488, allocations: 67.73 kB / 360.4 MB, free: 6.75 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.965e-05/0.002537, allocations: 4 kB / 360.4 MB, free: 6.746 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 4.154e-05/0.002579, allocations: 7.922 kB / 360.4 MB, free: 6.738 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001584/0.002737, allocations: 19.8 kB / 360.4 MB, free: 6.719 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.243e-05/0.0028, allocations: 15.97 kB / 360.4 MB, free: 6.703 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000108/0.002908, allocations: 83.59 kB / 360.5 MB, free: 6.621 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.003016, allocations: 28.2 kB / 360.5 MB, free: 6.59 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.926e-05/0.003045, allocations: 23.92 kB / 360.6 MB, free: 6.566 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.943e-05/0.003125, allocations: 31.91 kB / 360.6 MB, free: 6.535 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.003143, allocations: 8 kB / 360.6 MB, free: 6.527 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.035e-05/0.003153, allocations: 4 kB / 360.6 MB, free: 6.523 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.343e-05/0.003177, allocations: 19.92 kB / 360.6 MB, free: 6.504 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.658e-05/0.003203, allocations: 31.91 kB / 360.6 MB, free: 6.473 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 9.236e-05/0.003296, allocations: 51.77 kB / 360.7 MB, free: 6.422 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.003297, allocations: 0 / 360.7 MB, free: 6.422 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.003299, allocations: 4 kB / 360.7 MB, free: 6.418 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.003303, allocations: 0 / 360.7 MB, free: 6.418 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.0002946/0.003597, allocations: 396.6 kB / 361.1 MB, free: 5.992 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.893e-05/0.003626, allocations: 12.92 kB / 361.1 MB, free: 5.98 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.097e-05/0.003667, allocations: 20.89 kB / 361.1 MB, free: 5.961 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.634e-05/0.003763, allocations: 120.5 kB / 361.2 MB, free: 5.816 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.003777, allocations: 8.562 kB / 361.3 MB, free: 5.809 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.003789, allocations: 8.375 kB / 361.3 MB, free: 5.801 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.003898, allocations: 74.72 kB / 361.3 MB, free: 5.723 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.003906, allocations: 0 / 361.3 MB, free: 5.723 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.003917, allocations: 4 kB / 361.3 MB, free: 5.719 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.003922, allocations: 0 / 361.3 MB, free: 5.719 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.681e-05/0.003969, allocations: 26.78 kB / 361.4 MB, free: 5.695 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005562/0.004525, allocations: 332.2 kB / 361.7 MB, free: 5.344 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.004635, allocations: 50.98 kB / 361.7 MB, free: 5.281 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.839e-05/0.004663, allocations: 19.72 kB / 361.8 MB, free: 5.258 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.327e-05/0.004676, allocations: 0 / 361.8 MB, free: 5.258 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.004703, allocations: 45.44 kB / 361.8 MB, free: 5.203 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 8.21e-07/0.004704, allocations: 0 / 361.8 MB, free: 5.203 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.00015/0.004854, allocations: 61.58 kB / 361.9 MB, free: 5.137 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.004889, allocations: 51.41 kB / 361.9 MB, free: 5.074 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.275e-05/0.004982, allocations: 165.9 kB / 362.1 MB, free: 4.895 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.004992, allocations: 29.7 kB / 362.1 MB, free: 4.859 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.517e-05/0.005048, allocations: 154.9 kB / 362.3 MB, free: 4.703 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.259e-05/0.00506, allocations: 27.78 kB / 362.3 MB, free: 4.676 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.031e-05/0.00509, allocations: 27.36 kB / 362.3 MB, free: 4.641 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.005197, allocations: 0.4922 MB / 362.8 MB, free: 4.137 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.364e-05/0.005211, allocations: 7.984 kB / 362.8 MB, free: 4.129 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.589e-05/0.005237, allocations: 35.06 kB / 362.8 MB, free: 4.082 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.643e-05/0.005283, allocations: 50.97 kB / 362.9 MB, free: 4.02 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.005285, allocations: 0 / 362.9 MB, free: 4.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 7.164e-05/0.005357, allocations: 78.02 kB / 363 MB, free: 3.938 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/0.005367, allocations: 8 kB / 363 MB, free: 3.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.005371, allocations: 0 / 363 MB, free: 3.93 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.454e-06/0.005378, allocations: 0 / 363 MB, free: 3.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.187e-05/0.00545, allocations: 23.98 kB / 363 MB, free: 3.906 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.585e-06/0.005452, allocations: 0 / 363 MB, free: 3.906 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.145e-05/0.005474, allocations: 8 kB / 363 MB, free: 3.898 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-06/0.005478, allocations: 0 / 363 MB, free: 3.898 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 7.954e-05/0.005558, allocations: 172.4 kB / 363.2 MB, free: 3.719 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.587e-05/0.005584, allocations: 8.016 kB / 363.2 MB, free: 3.711 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.783e-05/0.005681, allocations: 66.11 kB / 363.2 MB, free: 3.645 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.005684, allocations: 4 kB / 363.3 MB, free: 3.641 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.005686, allocations: 0 / 363.3 MB, free: 3.641 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.005688, allocations: 0 / 363.3 MB, free: 3.641 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.911e-05/0.005787, allocations: 113.2 kB / 363.4 MB, free: 3.504 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.005789, allocations: 7.938 kB / 363.4 MB, free: 3.496 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.997e-05/0.005829, allocations: 15.92 kB / 363.4 MB, free: 3.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.005831, allocations: 4 kB / 363.4 MB, free: 3.477 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.018e-06/0.005836, allocations: 0 / 363.4 MB, free: 3.477 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.005837, allocations: 0 / 363.4 MB, free: 3.477 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.005838, allocations: 4 kB / 363.4 MB, free: 3.473 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.079e-05/0.005929, allocations: 203.9 kB / 363.6 MB, free: 3.254 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.048e-05/0.005939, allocations: 7.938 kB / 363.6 MB, free: 3.246 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.226e-06/0.005948, allocations: 4 kB / 363.6 MB, free: 3.242 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.844e-05/0.005976, allocations: 0 / 363.6 MB, free: 3.242 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.206e-05/0.005988, allocations: 7.969 kB / 363.6 MB, free: 3.234 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.005991, allocations: 4 kB / 363.6 MB, free: 3.23 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.073e-05/0.006022, allocations: 123.2 kB / 363.7 MB, free: 3.109 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006022, allocations: 0 / 363.7 MB, free: 3.109 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001477/0.00617, allocations: 23.89 kB / 363.8 MB, free: 3.086 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 6.342e-05/0.006233, allocations: 103.2 kB / 363.9 MB, free: 2.973 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 6.977e-05/0.006303, allocations: 39.89 kB / 363.9 MB, free: 2.93 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.006305, allocations: 4 kB / 363.9 MB, free: 2.926 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.66e-05/0.006321, allocations: 19.62 kB / 363.9 MB, free: 2.902 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001743/0.006496, allocations: 15.91 kB / 363.9 MB, free: 2.887 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003515/0.006847, allocations: 174.4 kB / 364.1 MB, free: 2.688 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.113e-05/0.006878, allocations: 67.28 kB / 364.2 MB, free: 2.602 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.384e-05/0.006902, allocations: 4.125 kB / 364.2 MB, free: 2.598 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.147e-05/0.006944, allocations: 74.2 kB / 364.2 MB, free: 2.523 MB / 330.7 MB Notification: Performance of SimCode: time 7.22e-07/0.006944, allocations: 0 / 364.2 MB, free: 2.523 MB / 330.7 MB Notification: Performance of Templates: time 0.002035/0.00898, allocations: 0.5098 MB / 364.8 MB, free: 2.02 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=240 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8062812886200845]