Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") translateModel(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0018/0.001799, allocations: 176.2 kB / 7.46 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6001/0.6001, allocations: 133.5 MB / 141.4 MB, free: 15.72 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.12/1.12, allocations: 221.3 MB / 395 MB, free: 10.26 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008376/0.0008376, allocations: 105.3 kB / 477.8 MB, free: 10.88 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.691e-06/5.711e-06, allocations: 0 / 0.5528 GB, free: 89.03 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1061, allocations: 82.31 MB / 0.6332 GB, free: 14.16 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7201/0.8263, allocations: 397.4 MB / 1.021 GB, free: 236.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002212/0.8266, allocations: 92.94 kB / 1.021 GB, free: 236.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.724/3.551, allocations: 1.062 GB / 2.084 GB, free: 59.48 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0002731/3.551, allocations: 83.67 kB / 2.084 GB, free: 59.48 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 577 * Number of variables: 577 Notification: Performance of Generate backend data structure: time 0.006054/3.557, allocations: 3.197 MB / 2.087 GB, free: 58.21 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/3.557, allocations: 9.25 kB / 2.087 GB, free: 58.21 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008294/3.566, allocations: 1.308 MB / 2.088 GB, free: 58.04 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00517/3.571, allocations: 3.343 MB / 2.092 GB, free: 57.55 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001342/3.571, allocations: 167.8 kB / 2.092 GB, free: 57.48 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002676/3.571, allocations: 136.4 kB / 2.092 GB, free: 57.48 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003144/3.574, allocations: 1.974 MB / 2.094 GB, free: 57.46 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003359/3.578, allocations: 2.463 MB / 2.096 GB, free: 56.98 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.227e-05/3.578, allocations: 11.28 kB / 2.096 GB, free: 56.98 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002152/3.578, allocations: 12.94 kB / 2.096 GB, free: 56.98 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.407e-05/3.578, allocations: 72.12 kB / 2.096 GB, free: 56.98 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01625/3.594, allocations: 13.74 MB / 2.11 GB, free: 50.7 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001305/3.596, allocations: 1.059 MB / 2.111 GB, free: 50.48 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007588/3.596, allocations: 0.5972 MB / 2.111 GB, free: 50.46 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001361/3.598, allocations: 1.781 MB / 2.113 GB, free: 48.5 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001084/3.599, allocations: 0.9024 MB / 2.114 GB, free: 48.21 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=118): time 3.226e-06/3.599, allocations: 0 / 2.114 GB, free: 48.21 MB / 0.7136 GB Notification: Performance of matching and sorting (n=118): time 0.005188/3.604, allocations: 1.686 MB / 2.116 GB, free: 48.01 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001978/3.604, allocations: 0.9374 MB / 2.117 GB, free: 46.88 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002386/3.607, allocations: 1.856 MB / 2.118 GB, free: 46.66 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001629/3.607, allocations: 33.55 kB / 2.118 GB, free: 46.63 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007075/3.608, allocations: 0.9749 MB / 2.119 GB, free: 46.07 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003332/3.608, allocations: 410.3 kB / 2.12 GB, free: 45.81 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/3.608, allocations: 0 / 2.12 GB, free: 45.81 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.98e-05/3.608, allocations: 365.9 kB / 2.12 GB, free: 45.5 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008907/3.609, allocations: 0.5992 MB / 2.121 GB, free: 45.5 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001137/3.61, allocations: 1.192 MB / 2.122 GB, free: 44.84 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001991/3.612, allocations: 0.8142 MB / 2.123 GB, free: 44.83 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.662e-06/3.612, allocations: 3.562 kB / 2.123 GB, free: 44.83 MB / 0.7136 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.004125/3.616, allocations: 2.123 MB / 2.125 GB, free: 44.63 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007927/3.617, allocations: 4.911 MB / 2.13 GB, free: 39.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/3.617, allocations: 11.22 kB / 2.13 GB, free: 39.39 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001097/3.618, allocations: 0.5276 MB / 2.13 GB, free: 39.37 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002605/3.621, allocations: 0.5034 MB / 2.131 GB, free: 39.37 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001877/3.623, allocations: 1.801 MB / 2.132 GB, free: 38.31 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00464/3.627, allocations: 471.7 kB / 2.133 GB, free: 38.22 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000198/3.628, allocations: 104.3 kB / 2.133 GB, free: 38.22 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.113e-06/3.628, allocations: 3.625 kB / 2.133 GB, free: 38.22 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003663/3.631, allocations: 1.828 MB / 2.135 GB, free: 38.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/3.631, allocations: 13.81 kB / 2.135 GB, free: 38.18 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001024/3.632, allocations: 0.5361 MB / 2.135 GB, free: 38.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002523/3.635, allocations: 492.8 kB / 2.136 GB, free: 38.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001782/3.637, allocations: 1.801 MB / 2.137 GB, free: 37.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004071/3.641, allocations: 372.2 kB / 2.138 GB, free: 37.04 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001835/3.641, allocations: 105.2 kB / 2.138 GB, free: 37.04 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,heaPum.stage,$PRE.heaPum1.com.isOn,heaPum1.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (170): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 17,2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0004852/3.641, allocations: 161.5 kB / 2.138 GB, free: 36.92 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004383/3.642, allocations: 244 kB / 2.138 GB, free: 36.8 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005299/3.647, allocations: 1.716 MB / 2.14 GB, free: 36.7 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.672e-05/3.647, allocations: 15.84 kB / 2.14 GB, free: 36.7 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/3.647, allocations: 7 kB / 2.14 GB, free: 36.7 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004169/3.651, allocations: 1.525 MB / 2.141 GB, free: 36.4 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01039/3.662, allocations: 6.112 MB / 2.147 GB, free: 34.47 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.016e-05/3.662, allocations: 13.56 kB / 2.147 GB, free: 34.47 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001748/3.664, allocations: 301.2 kB / 2.148 GB, free: 34.47 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001022/3.665, allocations: 0.518 MB / 2.148 GB, free: 34.45 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000101/3.665, allocations: 40.47 kB / 2.148 GB, free: 34.45 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001776/3.666, allocations: 1.791 MB / 2.15 GB, free: 33.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/3.666, allocations: 9.781 kB / 2.15 GB, free: 33.39 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004866/3.671, allocations: 3.16 MB / 2.153 GB, free: 32.16 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001121/3.673, allocations: 0.6284 MB / 2.154 GB, free: 31.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004195/3.673, allocations: 16.41 kB / 2.154 GB, free: 31.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003/3.676, allocations: 266.9 kB / 2.154 GB, free: 31.92 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001643/3.676, allocations: 102.4 kB / 2.154 GB, free: 31.91 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001299/3.676, allocations: 72.38 kB / 2.154 GB, free: 31.91 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.001741/3.678, allocations: 1.388 MB / 2.155 GB, free: 31.77 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.004357/3.682, allocations: 1.817 MB / 2.157 GB, free: 31.44 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 4 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U,heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum.stage,heaPum1.com.isOn,N.T_start,N.count) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 17,2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.002281/3.685, allocations: 1.486 MB / 2.159 GB, free: 31.05 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003894/3.689, allocations: 2.521 MB / 2.161 GB, free: 30.94 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.034e-06/3.689, allocations: 6.375 kB / 2.161 GB, free: 30.94 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001243/3.69, allocations: 0.7441 MB / 2.162 GB, free: 30.93 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004788/3.695, allocations: 1.048 MB / 2.163 GB, free: 30.9 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009832/3.704, allocations: 4.069 MB / 2.167 GB, free: 29.82 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001731/3.706, allocations: 2.044 MB / 2.169 GB, free: 29.08 MB / 0.7136 GB Notification: Performance of SimCode: time 6.41e-07/3.706, allocations: 0 / 2.169 GB, free: 29.08 MB / 0.7136 GB Notification: Performance of Templates: time 0.09375/3.8, allocations: 74.05 MB / 2.241 GB, free: 24.62 MB / 0.7136 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1)