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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001536/0.001536, allocations: 103.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00158/0.00158, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 225.6 MB / 249.9 MB, free: 3.223 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09626/0.09626, allocations: 22.7 MB / 327.7 MB, free: 7.293 MB / 254.1 MB [Timeout remaining time 90] 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.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 0.002016/0.002016, allocations: 70.02 kB / 461 MB, free: 40.86 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09221/0.09423, allocations: 58.03 MB / 0.5069 GB, free: 6.684 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatPump_case_001): time 0.002194/0.09642, allocations: 1.687 MB / 0.5085 GB, free: 4.984 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002092/0.09663, allocations: 59.75 kB / 0.5086 GB, free: 4.926 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.5e-05/0.09668, allocations: 0 / 0.5086 GB, free: 4.926 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 4.231e-05/0.09672, allocations: 7.922 kB / 0.5086 GB, free: 4.918 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000113/0.09683, allocations: 23.78 kB / 0.5086 GB, free: 4.895 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.625e-05/0.09688, allocations: 23.92 kB / 0.5086 GB, free: 4.871 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 8.397e-05/0.09696, allocations: 71.72 kB / 0.5087 GB, free: 4.801 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.09708, allocations: 32.14 kB / 0.5087 GB, free: 4.766 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.87e-05/0.09711, allocations: 31.86 kB / 0.5088 GB, free: 4.734 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.091e-05/0.09718, allocations: 35.84 kB / 0.5088 GB, free: 4.699 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.0972, allocations: 12 kB / 0.5088 GB, free: 4.688 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.407e-05/0.09721, allocations: 7.938 kB / 0.5088 GB, free: 4.68 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.602e-05/0.09723, allocations: 15.94 kB / 0.5088 GB, free: 4.664 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.159e-05/0.09726, allocations: 39.86 kB / 0.5089 GB, free: 4.625 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 8.556e-05/0.09735, allocations: 83.62 kB / 0.509 GB, free: 4.543 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.09735, allocations: 0 / 0.509 GB, free: 4.543 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.09735, allocations: 0 / 0.509 GB, free: 4.543 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.196e-06/0.09735, allocations: 0 / 0.509 GB, free: 4.543 MB / 366.1 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.0002757/0.09763, allocations: 375.5 kB / 0.5093 GB, free: 4.125 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.818e-05/0.09766, allocations: 12.03 kB / 0.5093 GB, free: 4.113 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.251e-05/0.09769, allocations: 12.89 kB / 0.5093 GB, free: 4.102 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.488e-05/0.09776, allocations: 180.2 kB / 0.5095 GB, free: 3.887 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.09778, allocations: 4.562 kB / 0.5095 GB, free: 3.883 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/0.09779, allocations: 8.375 kB / 0.5095 GB, free: 3.875 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.09793, allocations: 88.42 kB / 0.5096 GB, free: 3.785 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.09793, allocations: 0 / 0.5096 GB, free: 3.785 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.09795, allocations: 8 kB / 0.5096 GB, free: 3.777 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.09795, allocations: 0 / 0.5096 GB, free: 3.777 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.897e-05/0.09803, allocations: 51.97 kB / 0.5097 GB, free: 3.727 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000427/0.09846, allocations: 457.7 kB / 0.5101 GB, free: 3.211 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.546e-05/0.09854, allocations: 54.5 kB / 0.5102 GB, free: 3.148 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.423e-05/0.09858, allocations: 20.95 kB / 0.5102 GB, free: 3.125 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.09859, allocations: 4 kB / 0.5102 GB, free: 3.121 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.718e-05/0.09861, allocations: 34.56 kB / 0.5102 GB, free: 3.078 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.09861, allocations: 0 / 0.5102 GB, free: 3.078 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0001695/0.09878, allocations: 77.62 kB / 0.5103 GB, free: 2.996 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.293e-05/0.0988, allocations: 59.34 kB / 0.5103 GB, free: 2.926 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.243e-05/0.09886, allocations: 105.8 kB / 0.5104 GB, free: 2.812 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.334e-06/0.09886, allocations: 25.7 kB / 0.5105 GB, free: 2.781 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.345e-05/0.0989, allocations: 108.2 kB / 0.5106 GB, free: 2.672 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.16e-05/0.09891, allocations: 27.73 kB / 0.5106 GB, free: 2.645 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.128e-05/0.09894, allocations: 25.7 kB / 0.5106 GB, free: 2.613 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.497e-05/0.09898, allocations: 318.8 kB / 0.5109 GB, free: 2.293 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.566e-05/0.09901, allocations: 8 kB / 0.5109 GB, free: 2.285 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.098e-05/0.09904, allocations: 38.5 kB / 0.511 GB, free: 2.238 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.977e-05/0.0991, allocations: 62.48 kB / 0.511 GB, free: 2.168 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.0991, allocations: 4 kB / 0.511 GB, free: 2.164 MB / 366.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 9.895e-05/0.0992, allocations: 85.61 kB / 0.5111 GB, free: 2.074 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.09921, allocations: 4 kB / 0.5111 GB, free: 2.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.09922, allocations: 4 kB / 0.5111 GB, free: 2.066 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.09923, allocations: 0 / 0.5111 GB, free: 2.066 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.882e-05/0.09933, allocations: 15.98 kB / 0.5111 GB, free: 2.051 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.09934, allocations: 7.938 kB / 0.5111 GB, free: 2.043 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.624e-05/0.09937, allocations: 7.891 kB / 0.5112 GB, free: 2.035 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.09938, allocations: 4.5 kB / 0.5112 GB, free: 2.031 MB / 366.1 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 4.971e-05/0.09943, allocations: 126.6 kB / 0.5113 GB, free: 1.898 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.09945, allocations: 3.953 kB / 0.5113 GB, free: 1.895 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001281/0.09958, allocations: 78.23 kB / 0.5114 GB, free: 1.816 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.09958, allocations: 0 / 0.5114 GB, free: 1.816 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/0.09959, allocations: 11.88 kB / 0.5114 GB, free: 1.805 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.09959, allocations: 4 kB / 0.5114 GB, free: 1.801 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001339/0.09973, allocations: 185.6 kB / 0.5115 GB, free: 1.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.09973, allocations: 0 / 0.5115 GB, free: 1.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.323e-05/0.09979, allocations: 12 kB / 0.5116 GB, free: 1.559 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.09979, allocations: 4 kB / 0.5116 GB, free: 1.555 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.0998, allocations: 0 / 0.5116 GB, free: 1.555 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.0998, allocations: 3.984 kB / 0.5116 GB, free: 1.551 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.0998, allocations: 7.938 kB / 0.5116 GB, free: 1.543 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.526e-05/0.0999, allocations: 163.5 kB / 0.5117 GB, free: 1.367 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.964e-05/0.09992, allocations: 81.06 kB / 0.5118 GB, free: 1.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.164e-05/0.09993, allocations: 0 / 0.5118 GB, free: 1.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.772e-05/0.09999, allocations: 8 kB / 0.5118 GB, free: 1.262 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.56e-05/0.1, allocations: 7.938 kB / 0.5118 GB, free: 1.254 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.063e-05/0.1, allocations: 7.984 kB / 0.5118 GB, free: 1.246 MB / 366.1 MB Notification: Performance of sorting global known variables: time 2.723e-05/0.1, allocations: 83.28 kB / 0.5119 GB, free: 1.164 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1, allocations: 0 / 0.5119 GB, free: 1.164 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002274/0.1003, allocations: 19.89 kB / 0.5119 GB, free: 1.145 MB / 366.1 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 7.085e-05/0.1003, allocations: 95.25 kB / 0.512 GB, free: 1.039 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001193/0.1005, allocations: 43.92 kB / 0.5121 GB, free: 0.9961 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1005, allocations: 4.125 kB / 0.5121 GB, free: 0.9922 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.522e-05/0.1005, allocations: 27.86 kB / 0.5121 GB, free: 0.9648 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002892/0.1008, allocations: 4 kB / 0.5121 GB, free: 0.9609 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003307/0.1011, allocations: 192 kB / 0.5123 GB, free: 0.7422 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.78e-05/0.1012, allocations: 0.6924 MB / 0.513 GB, free: 24 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.748e-05/0.1012, allocations: 11.44 kB / 0.513 GB, free: 12 kB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1012, allocations: 4 kB / 0.513 GB, free: 8 kB / 366.1 MB Notification: Performance of Templates: time 0.00239/0.1036, allocations: 0.8293 MB / 0.5138 GB, free: 15.18 MB / 382.1 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]