Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.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_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") translateModel(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") [: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.001049/0.00105, allocations: 187 kB / 7.803 MB, free: 2.438 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4609/0.4609, allocations: 90.85 MB / 99.07 MB, free: 14.94 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.168/1.168, allocations: 221.4 MB / 342.8 MB, free: 5.445 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.001009/0.001009, allocations: 97.7 kB / 415.5 MB, free: 6.457 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 6.142e-06/6.242e-06, allocations: 0 / 493.9 MB, free: 8.102 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.3235, allocations: 72.3 MB / 0.5529 GB, free: 73.27 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5335/0.8571, allocations: 386.2 MB / 0.93 GB, free: 4.797 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002206/0.8573, allocations: 90.38 kB / 0.9301 GB, free: 4.754 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.804/2.662, allocations: 0.5605 GB / 1.491 GB, free: 84.54 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001515/2.662, allocations: 45.56 kB / 1.491 GB, free: 84.54 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.004002/2.666, allocations: 1.862 MB / 1.492 GB, free: 83.71 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/2.666, allocations: 6.125 kB / 1.492 GB, free: 83.71 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004295/2.67, allocations: 0.6594 MB / 1.493 GB, free: 83.62 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00315/2.673, allocations: 1.798 MB / 1.495 GB, free: 83.27 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.182e-05/2.674, allocations: 82.17 kB / 1.495 GB, free: 83.23 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001394/2.674, allocations: 68.69 kB / 1.495 GB, free: 83.23 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001797/2.676, allocations: 1.003 MB / 1.496 GB, free: 83.23 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002007/2.678, allocations: 1.274 MB / 1.497 GB, free: 82.96 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.001e-05/2.678, allocations: 5.625 kB / 1.497 GB, free: 82.96 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001186/2.678, allocations: 3.781 kB / 1.497 GB, free: 82.96 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.993e-05/2.678, allocations: 51.88 kB / 1.497 GB, free: 82.96 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009431/2.687, allocations: 7.299 MB / 1.504 GB, free: 79.42 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008118/2.688, allocations: 0.523 MB / 1.505 GB, free: 79.4 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004037/2.688, allocations: 312.8 kB / 1.505 GB, free: 79.38 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001047/2.69, allocations: 1.266 MB / 1.506 GB, free: 77.97 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/2.69, allocations: 44.34 kB / 1.506 GB, free: 77.93 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=64): time 2.735e-06/2.69, allocations: 0 / 1.506 GB, free: 77.93 MB / 0.6042 GB Notification: Performance of matching and sorting (n=64): time 0.001853/2.691, allocations: 0.8021 MB / 1.507 GB, free: 77.82 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/2.691, allocations: 111.2 kB / 1.507 GB, free: 77.69 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001158/2.693, allocations: 0.9671 MB / 1.508 GB, free: 77.54 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.471e-05/2.693, allocations: 28.83 kB / 1.508 GB, free: 77.51 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003034/2.693, allocations: 0.5226 MB / 1.509 GB, free: 77.2 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000174/2.693, allocations: 217.8 kB / 1.509 GB, free: 77.06 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.477e-05/2.693, allocations: 0 / 1.509 GB, free: 77.06 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.078e-05/2.693, allocations: 331.8 kB / 1.509 GB, free: 76.76 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004425/2.694, allocations: 287.4 kB / 1.51 GB, free: 76.76 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005613/2.694, allocations: 0.5627 MB / 1.51 GB, free: 76.43 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00105/2.695, allocations: 404.2 kB / 1.511 GB, free: 76.43 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/2.695, allocations: 3.906 kB / 1.511 GB, free: 76.42 MB / 0.6042 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002096/2.698, allocations: 1.079 MB / 1.512 GB, free: 76.31 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004254/2.698, allocations: 2.453 MB / 1.514 GB, free: 73.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/2.698, allocations: 3.969 kB / 1.514 GB, free: 73.77 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008291/2.699, allocations: 359.9 kB / 1.514 GB, free: 73.77 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00136/2.7, allocations: 248.8 kB / 1.515 GB, free: 73.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001333/2.702, allocations: 1.104 MB / 1.516 GB, free: 73.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00225/2.704, allocations: 225.8 kB / 1.516 GB, free: 73.19 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001044/2.704, allocations: 50.48 kB / 1.516 GB, free: 73.19 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/2.704, allocations: 3.781 kB / 1.516 GB, free: 73.19 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002002/2.706, allocations: 0.9305 MB / 1.517 GB, free: 73.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/2.706, allocations: 6.938 kB / 1.517 GB, free: 73.17 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007389/2.707, allocations: 358.3 kB / 1.517 GB, free: 73.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001366/2.708, allocations: 256.3 kB / 1.517 GB, free: 73.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00133/2.709, allocations: 1.098 MB / 1.519 GB, free: 72.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002112/2.712, allocations: 190.6 kB / 1.519 GB, free: 72.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001353/2.712, allocations: 51.73 kB / 1.519 GB, free: 72.59 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.heaPum.com.isOn,heaPum.com.isOn) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * 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 {5 22} Notification: Performance of prepare postOptimizeDAE: time 0.0003535/2.712, allocations: 129.9 kB / 1.519 GB, free: 72.48 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000239/2.712, allocations: 124.2 kB / 1.519 GB, free: 72.41 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002134/2.714, allocations: 0.9214 MB / 1.52 GB, free: 72.34 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/2.714, allocations: 11.3 kB / 1.52 GB, free: 72.34 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/2.714, allocations: 0 / 1.52 GB, free: 72.34 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001444/2.716, allocations: 0.8159 MB / 1.521 GB, free: 72.15 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004891/2.721, allocations: 2.858 MB / 1.524 GB, free: 71.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/2.721, allocations: 7.781 kB / 1.524 GB, free: 71.26 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009566/2.722, allocations: 160.9 kB / 1.524 GB, free: 71.26 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007354/2.723, allocations: 356.5 kB / 1.524 GB, free: 71.24 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.584e-05/2.723, allocations: 19.77 kB / 1.524 GB, free: 71.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002143/2.725, allocations: 1.203 MB / 1.525 GB, free: 70.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/2.725, allocations: 3.719 kB / 1.525 GB, free: 70.71 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001845/2.727, allocations: 1.229 MB / 1.526 GB, free: 70.14 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006309/2.727, allocations: 369.6 kB / 1.527 GB, free: 69.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002073/2.728, allocations: 3.969 kB / 1.527 GB, free: 69.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001583/2.729, allocations: 130.3 kB / 1.527 GB, free: 69.97 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/2.729, allocations: 52.55 kB / 1.527 GB, free: 69.97 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.612e-05/2.729, allocations: 49.41 kB / 1.527 GB, free: 69.97 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0009546/2.73, allocations: 0.7345 MB / 1.528 GB, free: 69.86 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002929/2.733, allocations: 0.9815 MB / 1.529 GB, free: 69.68 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {5 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.001601/2.735, allocations: 0.8697 MB / 1.53 GB, free: 69.46 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002377/2.737, allocations: 1.249 MB / 1.531 GB, free: 69.43 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/2.737, allocations: 3.812 kB / 1.531 GB, free: 69.43 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001277/2.739, allocations: 465.4 kB / 1.531 GB, free: 69.42 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002494/2.741, allocations: 0.5558 MB / 1.532 GB, free: 69.41 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005314/2.746, allocations: 1.952 MB / 1.534 GB, free: 68.84 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009729/2.747, allocations: 1.379 MB / 1.535 GB, free: 68.11 MB / 0.6042 GB Notification: Performance of SimCode: time 1.272e-06/2.747, allocations: 3.062 kB / 1.535 GB, free: 68.11 MB / 0.6042 GB Notification: Performance of Templates: time 0.0578/2.805, allocations: 38.98 MB / 1.573 GB, free: 66.22 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)