Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") translateModel(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001006/0.001006, allocations: 188 kB / 7.805 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.4436/0.4436, allocations: 90.84 MB / 99.07 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.164/1.164, allocations: 221.4 MB / 342.8 MB, free: 5.121 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.0009918/0.0009921, allocations: 94.36 kB / 415.5 MB, free: 6.387 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 1.072e-05/1.075e-05, allocations: 4 kB / 493.9 MB, free: 8.055 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.3246, allocations: 72.29 MB / 0.5529 GB, free: 73.2 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5918/0.9165, allocations: 387.9 MB / 0.9317 GB, free: 0.918 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002509/0.9168, allocations: 90.3 kB / 0.9318 GB, free: 0.875 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.433/4.35, allocations: 1.068 GB / 2 GB, free: 48.72 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.000294/4.35, allocations: 87.55 kB / 2 GB, free: 48.71 MB / 0.6355 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.007899/4.358, allocations: 3.238 MB / 2.003 GB, free: 47.14 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/4.358, allocations: 9.531 kB / 2.003 GB, free: 47.14 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009412/4.368, allocations: 1.303 MB / 2.004 GB, free: 46.96 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00712/4.375, allocations: 3.346 MB / 2.008 GB, free: 46.4 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000171/4.375, allocations: 170.3 kB / 2.008 GB, free: 46.33 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003347/4.376, allocations: 138.9 kB / 2.008 GB, free: 46.33 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004257/4.38, allocations: 1.998 MB / 2.01 GB, free: 46.32 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003999/4.384, allocations: 2.515 MB / 2.012 GB, free: 45.82 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.422e-05/4.384, allocations: 3.094 kB / 2.012 GB, free: 45.82 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002415/4.384, allocations: 7.812 kB / 2.012 GB, free: 45.82 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.879e-05/4.384, allocations: 98.22 kB / 2.012 GB, free: 45.8 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01965/4.404, allocations: 13.95 MB / 2.026 GB, free: 39.31 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001495/4.405, allocations: 1.085 MB / 2.027 GB, free: 39.09 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007906/4.406, allocations: 0.5735 MB / 2.028 GB, free: 39.08 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001398/4.408, allocations: 1.778 MB / 2.029 GB, free: 37.11 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001145/4.409, allocations: 0.9032 MB / 2.03 GB, free: 36.82 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=118): time 3.898e-06/4.409, allocations: 0 / 2.03 GB, free: 36.82 MB / 0.6355 GB Notification: Performance of matching and sorting (n=122): time 0.01728/4.426, allocations: 10.02 MB / 2.04 GB, free: 30.79 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002045/4.426, allocations: 0.9393 MB / 2.041 GB, free: 29.66 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002909/4.429, allocations: 1.839 MB / 2.043 GB, free: 29.45 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0003431/4.43, allocations: 33.62 kB / 2.043 GB, free: 29.41 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001055/4.431, allocations: 0.9892 MB / 2.044 GB, free: 28.85 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005011/4.431, allocations: 409.8 kB / 2.044 GB, free: 28.59 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/4.431, allocations: 0 / 2.044 GB, free: 28.59 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001531/4.431, allocations: 371.4 kB / 2.045 GB, free: 28.28 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001117/4.433, allocations: 0.5869 MB / 2.045 GB, free: 28.27 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00149/4.434, allocations: 1.197 MB / 2.046 GB, free: 27.59 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002267/4.436, allocations: 0.8034 MB / 2.047 GB, free: 27.57 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/4.436, allocations: 3.875 kB / 2.047 GB, free: 27.57 MB / 0.6355 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.004709/4.441, allocations: 2.18 MB / 2.049 GB, free: 27.38 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008794/4.442, allocations: 5.096 MB / 2.054 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.948e-05/4.442, allocations: 13.12 kB / 2.054 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001559/4.444, allocations: 0.714 MB / 2.055 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002511/4.446, allocations: 468.4 kB / 2.055 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00363/4.45, allocations: 2.363 MB / 2.058 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005041/4.455, allocations: 377.2 kB / 2.058 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002575/4.455, allocations: 105.2 kB / 2.058 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/4.455, allocations: 10.86 kB / 2.058 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004188/4.459, allocations: 1.896 MB / 2.06 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/4.459, allocations: 11.12 kB / 2.06 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001456/4.461, allocations: 0.7243 MB / 2.061 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002567/4.463, allocations: 450 kB / 2.061 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003518/4.467, allocations: 2.363 MB / 2.063 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004357/4.471, allocations: 320.4 kB / 2.064 GB, free: 19.67 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002162/4.471, allocations: 103 kB / 2.064 GB, free: 19.67 MB / 0.6355 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.000533/4.472, allocations: 162.9 kB / 2.064 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004416/4.472, allocations: 244.3 kB / 2.064 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005032/4.477, allocations: 1.702 MB / 2.066 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.631e-05/4.478, allocations: 15.84 kB / 2.066 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/4.478, allocations: 5.188 kB / 2.066 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003697/4.481, allocations: 1.52 MB / 2.067 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01217/4.493, allocations: 6.013 MB / 2.073 GB, free: 17.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.227e-06/4.493, allocations: 6 kB / 2.073 GB, free: 17.12 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001852/4.495, allocations: 296.6 kB / 2.074 GB, free: 17.12 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001247/4.497, allocations: 0.6016 MB / 2.074 GB, free: 17.1 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001104/4.497, allocations: 38.02 kB / 2.074 GB, free: 17.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003177/4.5, allocations: 2.109 MB / 2.076 GB, free: 16.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.714e-06/4.5, allocations: 10.22 kB / 2.076 GB, free: 16.04 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005632/4.506, allocations: 3.16 MB / 2.079 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001645/4.507, allocations: 0.6125 MB / 2.08 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004369/4.508, allocations: 11.78 kB / 2.08 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003187/4.511, allocations: 266.3 kB / 2.08 GB, free: 14.63 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001762/4.511, allocations: 105.4 kB / 2.08 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001399/4.511, allocations: 72.84 kB / 2.08 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.001906/4.513, allocations: 1.38 MB / 2.082 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.004984/4.518, allocations: 1.569 MB / 2.083 GB, free: 14.36 MB / 0.6355 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.002469/4.521, allocations: 1.489 MB / 2.085 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00561/4.526, allocations: 2.763 MB / 2.087 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/4.526, allocations: 5.781 kB / 2.087 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001974/4.528, allocations: 0.8491 MB / 2.088 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004851/4.533, allocations: 1.035 MB / 2.089 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01009/4.543, allocations: 3.964 MB / 2.093 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001762/4.545, allocations: 2.052 MB / 2.095 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of SimCode: time 6.81e-07/4.545, allocations: 0 / 2.095 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of Templates: time 0.352/4.897, allocations: 74.75 MB / 2.168 GB, free: 101.6 MB / 0.6511 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe 2>&1)