Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") translateModel(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.00131/0.00131, allocations: 183.2 kB / 7.802 MB, free: 2.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4354/0.4354, allocations: 90.85 MB / 99.08 MB, free: 14.93 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.185/1.185, allocations: 221.4 MB / 342.8 MB, free: 5.109 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009407/0.0009408, allocations: 94.95 kB / 415.5 MB, free: 6.402 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 6.823e-06/6.863e-06, allocations: 0 / 493.9 MB, free: 8.043 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3172, allocations: 72.29 MB / 0.5529 GB, free: 73.39 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5794/0.8966, allocations: 387.7 MB / 0.9315 GB, free: 3.152 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002839/0.897, allocations: 90.58 kB / 0.9316 GB, free: 3.109 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.621/4.518, allocations: 1.067 GB / 1.998 GB, free: 46.11 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0003268/4.519, allocations: 82.47 kB / 1.998 GB, free: 46.09 MB / 0.6511 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.006976/4.526, allocations: 3.197 MB / 2.002 GB, free: 44.6 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/4.526, allocations: 7.906 kB / 2.002 GB, free: 44.6 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01023/4.536, allocations: 1.306 MB / 2.003 GB, free: 44.42 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007844/4.544, allocations: 3.34 MB / 2.006 GB, free: 43.87 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001945/4.544, allocations: 175.6 kB / 2.006 GB, free: 43.79 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000513/4.544, allocations: 135.2 kB / 2.006 GB, free: 43.79 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003836/4.548, allocations: 1.981 MB / 2.008 GB, free: 43.78 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003789/4.552, allocations: 2.462 MB / 2.011 GB, free: 43.29 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.672e-05/4.552, allocations: 7.109 kB / 2.011 GB, free: 43.29 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002486/4.552, allocations: 10.23 kB / 2.011 GB, free: 43.29 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.68e-05/4.553, allocations: 74.33 kB / 2.011 GB, free: 43.29 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01958/4.572, allocations: 13.75 MB / 2.024 GB, free: 36.98 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001429/4.574, allocations: 1.056 MB / 2.025 GB, free: 36.77 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008009/4.574, allocations: 0.5987 MB / 2.026 GB, free: 36.75 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00142/4.576, allocations: 1.777 MB / 2.028 GB, free: 34.79 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001201/4.577, allocations: 0.9042 MB / 2.028 GB, free: 34.5 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=118): time 2.815e-06/4.577, allocations: 1.219 kB / 2.028 GB, free: 34.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=118): time 0.005463/4.583, allocations: 1.685 MB / 2.03 GB, free: 34.3 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001735/4.583, allocations: 0.9375 MB / 2.031 GB, free: 33.18 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002764/4.585, allocations: 1.861 MB / 2.033 GB, free: 32.95 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002926/4.586, allocations: 35.36 kB / 2.033 GB, free: 32.92 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008515/4.587, allocations: 0.9745 MB / 2.034 GB, free: 32.36 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003897/4.587, allocations: 393.3 kB / 2.034 GB, free: 32.11 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/4.587, allocations: 3.062 kB / 2.034 GB, free: 32.11 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.133e-05/4.587, allocations: 370.8 kB / 2.035 GB, free: 31.8 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009783/4.588, allocations: 0.5995 MB / 2.035 GB, free: 31.8 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001269/4.59, allocations: 1.187 MB / 2.036 GB, free: 31.14 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002206/4.592, allocations: 0.8225 MB / 2.037 GB, free: 31.12 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.308e-06/4.592, allocations: 7.875 kB / 2.037 GB, free: 31.12 MB / 0.6511 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.004664/4.596, allocations: 2.125 MB / 2.039 GB, free: 30.92 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008181/4.597, allocations: 4.899 MB / 2.044 GB, free: 25.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.676e-05/4.597, allocations: 14.5 kB / 2.044 GB, free: 25.68 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001151/4.598, allocations: 0.5277 MB / 2.045 GB, free: 25.66 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002712/4.601, allocations: 0.5089 MB / 2.045 GB, free: 25.66 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001985/4.603, allocations: 1.797 MB / 2.047 GB, free: 24.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00502/4.608, allocations: 466.1 kB / 2.047 GB, free: 24.52 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002506/4.608, allocations: 105.9 kB / 2.047 GB, free: 24.52 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/4.608, allocations: 2.25 kB / 2.047 GB, free: 24.52 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004094/4.613, allocations: 1.834 MB / 2.049 GB, free: 24.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/4.613, allocations: 14.09 kB / 2.049 GB, free: 24.46 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001089/4.614, allocations: 0.5314 MB / 2.05 GB, free: 24.45 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002526/4.616, allocations: 0.4885 MB / 2.05 GB, free: 24.45 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001953/4.618, allocations: 1.796 MB / 2.052 GB, free: 23.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004395/4.623, allocations: 381 kB / 2.052 GB, free: 23.33 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002085/4.623, allocations: 107.1 kB / 2.052 GB, free: 23.33 MB / 0.6511 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.0005431/4.623, allocations: 160.1 kB / 2.052 GB, free: 23.21 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006019/4.624, allocations: 243 kB / 2.053 GB, free: 23.09 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005786/4.63, allocations: 1.708 MB / 2.054 GB, free: 22.99 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.112e-05/4.63, allocations: 17.42 kB / 2.054 GB, free: 22.99 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/4.63, allocations: 10.69 kB / 2.054 GB, free: 22.99 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004414/4.634, allocations: 1.524 MB / 2.056 GB, free: 22.7 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01196/4.646, allocations: 6.113 MB / 2.062 GB, free: 20.76 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-05/4.646, allocations: 12.86 kB / 2.062 GB, free: 20.76 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001814/4.648, allocations: 297.6 kB / 2.062 GB, free: 20.76 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001112/4.649, allocations: 0.5237 MB / 2.063 GB, free: 20.74 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001327/4.649, allocations: 35.7 kB / 2.063 GB, free: 20.74 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00206/4.651, allocations: 1.796 MB / 2.064 GB, free: 19.68 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.568e-06/4.651, allocations: 9.125 kB / 2.064 GB, free: 19.68 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0058/4.657, allocations: 3.149 MB / 2.068 GB, free: 18.45 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001778/4.659, allocations: 0.6215 MB / 2.068 GB, free: 18.22 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001042/4.66, allocations: 18.02 kB / 2.068 GB, free: 18.22 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003946/4.664, allocations: 269.4 kB / 2.068 GB, free: 18.21 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001896/4.664, allocations: 104.9 kB / 2.069 GB, free: 18.21 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000214/4.664, allocations: 72.89 kB / 2.069 GB, free: 18.21 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0035/4.668, allocations: 1.388 MB / 2.07 GB, free: 18.06 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.009023/4.677, allocations: 1.823 MB / 2.072 GB, free: 17.73 MB / 0.6511 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.004485/4.682, allocations: 1.49 MB / 2.073 GB, free: 17.34 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.006805/4.688, allocations: 2.522 MB / 2.076 GB, free: 17.2 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.771e-05/4.688, allocations: 3.531 kB / 2.076 GB, free: 17.2 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.00161/4.69, allocations: 0.7412 MB / 2.076 GB, free: 17.16 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006146/4.696, allocations: 1.038 MB / 2.077 GB, free: 17.13 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01356/4.71, allocations: 4.082 MB / 2.081 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002954/4.713, allocations: 2.042 MB / 2.083 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of SimCode: time 1.924e-06/4.713, allocations: 0 / 2.083 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of Templates: time 0.1129/4.826, allocations: 74.05 MB / 2.156 GB, free: 12.75 MB / 0.6823 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1)