Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.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/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/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_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") translateModel(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") [: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.002605/0.002606, allocations: 178.4 kB / 7.451 MB, free: 2.34 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.673/0.673, allocations: 130.6 MB / 138.5 MB, free: 2.199 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.624/1.624, allocations: 221.4 MB / 391.4 MB, free: 13.06 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.00105/0.00105, allocations: 109.9 kB / 473.5 MB, free: 14.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.522e-06/6.612e-06, allocations: 0 / 0.5479 GB, free: 89.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1474, allocations: 81.57 MB / 0.6276 GB, free: 18.21 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.093/1.241, allocations: 397.3 MB / 1.016 GB, free: 215 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001973/1.241, allocations: 91.95 kB / 1.016 GB, free: 214.9 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.395/4.636, allocations: 1.064 GB / 2.079 GB, free: 59.34 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000393/4.636, allocations: 79.61 kB / 2.08 GB, free: 59.32 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 583 * Number of variables: 583 Notification: Performance of Generate backend data structure: time 0.009458/4.646, allocations: 3.242 MB / 2.083 GB, free: 57.81 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/4.646, allocations: 6.562 kB / 2.083 GB, free: 57.81 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009954/4.656, allocations: 1.308 MB / 2.084 GB, free: 57.63 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008276/4.664, allocations: 3.337 MB / 2.087 GB, free: 57.08 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002245/4.664, allocations: 169.7 kB / 2.087 GB, free: 57.01 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005513/4.665, allocations: 141 kB / 2.088 GB, free: 57.01 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004099/4.669, allocations: 2.003 MB / 2.09 GB, free: 56.99 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004141/4.673, allocations: 2.509 MB / 2.092 GB, free: 56.49 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.841e-05/4.673, allocations: 11.28 kB / 2.092 GB, free: 56.49 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002846/4.673, allocations: 10.97 kB / 2.092 GB, free: 56.49 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-05/4.673, allocations: 93.75 kB / 2.092 GB, free: 56.48 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02291/4.696, allocations: 13.96 MB / 2.106 GB, free: 49.99 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001665/4.698, allocations: 1.083 MB / 2.107 GB, free: 49.77 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007775/4.699, allocations: 0.5813 MB / 2.107 GB, free: 49.76 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001514/4.7, allocations: 1.775 MB / 2.109 GB, free: 47.79 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001287/4.702, allocations: 0.8985 MB / 2.11 GB, free: 47.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=118): time 4.439e-06/4.702, allocations: 0 / 2.11 GB, free: 47.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=122): time 0.01871/4.72, allocations: 10.03 MB / 2.12 GB, free: 41.46 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002367/4.721, allocations: 0.9375 MB / 2.121 GB, free: 40.34 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002908/4.724, allocations: 1.845 MB / 2.122 GB, free: 40.12 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003874/4.724, allocations: 29.36 kB / 2.122 GB, free: 40.09 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008444/4.725, allocations: 0.9875 MB / 2.123 GB, free: 39.52 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005072/4.725, allocations: 413.4 kB / 2.124 GB, free: 39.25 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/4.726, allocations: 0 / 2.124 GB, free: 39.25 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001025/4.726, allocations: 367.5 kB / 2.124 GB, free: 38.95 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009927/4.727, allocations: 0.5822 MB / 2.125 GB, free: 38.95 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001251/4.728, allocations: 1.198 MB / 2.126 GB, free: 38.27 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002276/4.73, allocations: 0.8011 MB / 2.127 GB, free: 38.25 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/4.73, allocations: 8.469 kB / 2.127 GB, free: 38.25 MB / 0.698 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.005225/4.735, allocations: 2.191 MB / 2.129 GB, free: 38.05 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001158/4.737, allocations: 5.085 MB / 2.134 GB, free: 32.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.286e-05/4.737, allocations: 16.56 kB / 2.134 GB, free: 32.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001592/4.738, allocations: 0.7205 MB / 2.135 GB, free: 32.58 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002729/4.741, allocations: 473.5 kB / 2.135 GB, free: 32.58 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004875/4.746, allocations: 2.35 MB / 2.137 GB, free: 31.52 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007033/4.753, allocations: 386.6 kB / 2.138 GB, free: 31.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006021/4.754, allocations: 107.1 kB / 2.138 GB, free: 31.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/4.754, allocations: 3.562 kB / 2.138 GB, free: 31.5 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005413/4.759, allocations: 1.897 MB / 2.14 GB, free: 31.45 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.928e-05/4.759, allocations: 17.62 kB / 2.14 GB, free: 31.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001498/4.761, allocations: 0.7188 MB / 2.14 GB, free: 31.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002529/4.763, allocations: 457.1 kB / 2.141 GB, free: 31.43 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004166/4.767, allocations: 2.351 MB / 2.143 GB, free: 30.37 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005611/4.773, allocations: 312.8 kB / 2.143 GB, free: 30.35 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006103/4.774, allocations: 105.4 kB / 2.143 GB, free: 30.35 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (152): * Single equations (assignments): 149 * 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 {5 22,4 25} Notification: Performance of prepare postOptimizeDAE: time 0.001031/4.775, allocations: 166.8 kB / 2.144 GB, free: 30.23 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001214/4.776, allocations: 247.2 kB / 2.144 GB, free: 30.11 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006294/4.782, allocations: 1.697 MB / 2.146 GB, free: 30 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.874e-05/4.782, allocations: 21.66 kB / 2.146 GB, free: 30 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.31e-05/4.782, allocations: 5.812 kB / 2.146 GB, free: 30 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004193/4.786, allocations: 1.516 MB / 2.147 GB, free: 29.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01478/4.801, allocations: 6.014 MB / 2.153 GB, free: 27.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.672e-05/4.801, allocations: 9.406 kB / 2.153 GB, free: 27.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001889/4.803, allocations: 287.5 kB / 2.153 GB, free: 27.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001326/4.805, allocations: 0.6017 MB / 2.154 GB, free: 27.78 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001643/4.805, allocations: 41.09 kB / 2.154 GB, free: 27.78 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003484/4.808, allocations: 2.105 MB / 2.156 GB, free: 26.72 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.061e-05/4.808, allocations: 10.38 kB / 2.156 GB, free: 26.72 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006875/4.815, allocations: 3.158 MB / 2.159 GB, free: 25.54 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002701/4.818, allocations: 0.6129 MB / 2.16 GB, free: 25.33 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001303/4.819, allocations: 14.25 kB / 2.16 GB, free: 25.33 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004297/4.824, allocations: 262.7 kB / 2.16 GB, free: 25.32 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002338/4.824, allocations: 98.55 kB / 2.16 GB, free: 25.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002592/4.824, allocations: 73.78 kB / 2.16 GB, free: 25.32 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.003465/4.828, allocations: 1.378 MB / 2.161 GB, free: 25.17 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.007938/4.835, allocations: 1.569 MB / 2.163 GB, free: 25.05 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (heaPum1.port_b1.h_outflow,heaPum1.port_b2.h_outflow) * 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 (80): * Single equations (assignments): 74 * 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,5 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.003463/4.839, allocations: 1.492 MB / 2.164 GB, free: 24.66 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.006793/4.846, allocations: 2.764 MB / 2.167 GB, free: 24.53 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.521e-05/4.846, allocations: 0.7188 kB / 2.167 GB, free: 24.53 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002297/4.848, allocations: 0.8618 MB / 2.168 GB, free: 24.51 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006094/4.854, allocations: 1.032 MB / 2.169 GB, free: 24.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0123/4.867, allocations: 3.958 MB / 2.173 GB, free: 23.43 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002068/4.869, allocations: 2.045 MB / 2.175 GB, free: 22.69 MB / 0.698 GB Notification: Performance of SimCode: time 7.82e-07/4.869, allocations: 2.281 kB / 2.175 GB, free: 22.69 MB / 0.698 GB Notification: Performance of Templates: time 0.1239/4.993, allocations: 74.78 MB / 2.248 GB, free: 10.11 MB / 0.7136 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe 2>&1)