Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.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_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") translateModel(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") [: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.001744/0.001744, allocations: 188.9 kB / 7.804 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4643/0.4643, allocations: 90.85 MB / 99.07 MB, free: 14.98 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.189/1.189, allocations: 221.4 MB / 342.8 MB, free: 5.426 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.0009432/0.0009432, allocations: 104 kB / 415.5 MB, free: 6.449 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 6.602e-06/6.632e-06, allocations: 0 / 493.9 MB, free: 8.102 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.33, allocations: 72.3 MB / 0.5529 GB, free: 73.48 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5263/0.8564, allocations: 386.8 MB / 0.9307 GB, free: 3.773 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003135/0.8567, allocations: 89.14 kB / 0.9307 GB, free: 3.73 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.898/2.754, allocations: 0.5609 GB / 1.492 GB, free: 71.8 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0002342/2.755, allocations: 45.44 kB / 1.492 GB, free: 71.79 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.005499/2.76, allocations: 1.923 MB / 1.494 GB, free: 70.91 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/2.76, allocations: 7.438 kB / 1.494 GB, free: 70.91 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005002/2.765, allocations: 0.6625 MB / 1.494 GB, free: 70.82 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004587/2.77, allocations: 1.802 MB / 1.496 GB, free: 70.44 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001505/2.77, allocations: 84.81 kB / 1.496 GB, free: 70.4 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003649/2.77, allocations: 74.31 kB / 1.496 GB, free: 70.4 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00244/2.773, allocations: 1.024 MB / 1.497 GB, free: 70.39 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002712/2.776, allocations: 1.28 MB / 1.498 GB, free: 70.14 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.217e-05/2.776, allocations: 14.31 kB / 1.498 GB, free: 70.14 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001782/2.776, allocations: 6 kB / 1.498 GB, free: 70.14 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.866e-05/2.776, allocations: 49.7 kB / 1.498 GB, free: 70.14 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01147/2.787, allocations: 7.06 MB / 1.505 GB, free: 66.93 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008642/2.788, allocations: 495.8 kB / 1.506 GB, free: 66.91 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004824/2.789, allocations: 313.8 kB / 1.506 GB, free: 66.9 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0011/2.79, allocations: 1.27 MB / 1.507 GB, free: 65.49 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006844/2.791, allocations: 0.4935 MB / 1.508 GB, free: 65.31 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=65): time 3.928e-06/2.791, allocations: 2.406 kB / 1.508 GB, free: 65.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=65): time 0.002278/2.793, allocations: 0.8296 MB / 1.509 GB, free: 65.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000131/2.793, allocations: 477 kB / 1.509 GB, free: 64.63 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001606/2.795, allocations: 0.9957 MB / 1.51 GB, free: 64.48 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.000124/2.795, allocations: 29.61 kB / 1.51 GB, free: 64.45 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004636/2.795, allocations: 0.5337 MB / 1.511 GB, free: 64.14 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002104/2.795, allocations: 222.7 kB / 1.511 GB, free: 63.99 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.119e-05/2.796, allocations: 0 / 1.511 GB, free: 63.99 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.566e-05/2.796, allocations: 344 kB / 1.511 GB, free: 63.69 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005031/2.796, allocations: 306.5 kB / 1.511 GB, free: 63.68 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006884/2.797, allocations: 0.6104 MB / 1.512 GB, free: 63.35 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00123/2.798, allocations: 433.1 kB / 1.512 GB, free: 63.34 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/2.798, allocations: 7.438 kB / 1.512 GB, free: 63.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003952/2.802, allocations: 1.178 MB / 1.514 GB, free: 63.22 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004985/2.803, allocations: 2.453 MB / 1.516 GB, free: 60.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-05/2.803, allocations: 10.81 kB / 1.516 GB, free: 60.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006902/2.803, allocations: 273.8 kB / 1.516 GB, free: 60.67 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001469/2.805, allocations: 269.3 kB / 1.517 GB, free: 60.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001076/2.806, allocations: 0.9033 MB / 1.517 GB, free: 60.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002655/2.809, allocations: 249.7 kB / 1.518 GB, free: 60.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001428/2.809, allocations: 59.84 kB / 1.518 GB, free: 60.09 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/2.809, allocations: 3.594 kB / 1.518 GB, free: 60.09 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003559/2.812, allocations: 1.02 MB / 1.519 GB, free: 60.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/2.812, allocations: 11.66 kB / 1.519 GB, free: 60.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005405/2.813, allocations: 270 kB / 1.519 GB, free: 60.06 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001418/2.814, allocations: 276.8 kB / 1.519 GB, free: 60.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001002/2.815, allocations: 0.8943 MB / 1.52 GB, free: 59.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002194/2.817, allocations: 207.3 kB / 1.52 GB, free: 59.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000124/2.818, allocations: 57.94 kB / 1.52 GB, free: 59.5 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.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 (90): * Single equations (assignments): 88 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0003264/2.818, allocations: 137.9 kB / 1.52 GB, free: 59.39 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004328/2.818, allocations: 129.5 kB / 1.521 GB, free: 59.33 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003003/2.821, allocations: 0.934 MB / 1.522 GB, free: 59.25 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-05/2.821, allocations: 13.41 kB / 1.522 GB, free: 59.25 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/2.821, allocations: 3.844 kB / 1.522 GB, free: 59.25 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002383/2.824, allocations: 0.8221 MB / 1.522 GB, free: 59.07 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005859/2.83, allocations: 3.105 MB / 1.525 GB, free: 58.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/2.83, allocations: 6.625 kB / 1.525 GB, free: 58.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00105/2.831, allocations: 171.9 kB / 1.526 GB, free: 58.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000587/2.831, allocations: 268.4 kB / 1.526 GB, free: 58.02 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.844e-05/2.831, allocations: 19.14 kB / 1.526 GB, free: 58.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001011/2.832, allocations: 0.8963 MB / 1.527 GB, free: 57.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.085e-06/2.832, allocations: 9.938 kB / 1.527 GB, free: 57.5 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003563/2.836, allocations: 1.745 MB / 1.528 GB, free: 56.88 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007854/2.837, allocations: 371.9 kB / 1.529 GB, free: 56.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003783/2.837, allocations: 24.58 kB / 1.529 GB, free: 56.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001856/2.839, allocations: 137.8 kB / 1.529 GB, free: 56.71 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001328/2.839, allocations: 65.73 kB / 1.529 GB, free: 56.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.671e-05/2.839, allocations: 37.69 kB / 1.529 GB, free: 56.7 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.001201/2.841, allocations: 0.755 MB / 1.53 GB, free: 56.59 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003482/2.844, allocations: 0.9883 MB / 1.531 GB, free: 56.41 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,heaPum.com.isOn,N.T_start,N.count) * Number of discrete states: 2 (N.count,heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 44 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.002036/2.846, allocations: 0.8907 MB / 1.532 GB, free: 56.2 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002516/2.849, allocations: 1.343 MB / 1.533 GB, free: 56.11 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/2.849, allocations: 6.75 kB / 1.533 GB, free: 56.11 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0007285/2.849, allocations: 398.1 kB / 1.533 GB, free: 56.11 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0027/2.852, allocations: 0.5474 MB / 1.534 GB, free: 56.1 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006125/2.858, allocations: 2.13 MB / 1.536 GB, free: 55.48 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001236/2.86, allocations: 1.397 MB / 1.537 GB, free: 54.76 MB / 0.6198 GB Notification: Performance of SimCode: time 6.91e-07/2.86, allocations: 0 / 1.537 GB, free: 54.76 MB / 0.6198 GB Notification: Performance of Templates: time 0.05883/2.918, allocations: 40 MB / 1.576 GB, free: 52.64 MB / 0.6198 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe 2>&1)