Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_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.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") translateModel(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_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.001164/0.001164, 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.4477/0.4477, allocations: 90.86 MB / 99.08 MB, free: 14.91 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.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.0009739/0.0009739, allocations: 89.48 kB / 415.5 MB, free: 6.406 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 5.31e-06/5.34e-06, allocations: 0 / 493.9 MB, free: 8.066 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.297/0.297, allocations: 72.3 MB / 0.5529 GB, free: 73.25 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5436/0.8407, allocations: 388.4 MB / 0.9322 GB, free: 2.277 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002705/0.841, allocations: 91.05 kB / 0.9322 GB, free: 2.234 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.43/4.271, allocations: 1.067 GB / 2 GB, free: 48.88 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0004913/4.272, allocations: 84.06 kB / 2 GB, free: 48.86 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.009631/4.281, allocations: 3.202 MB / 2.003 GB, free: 47.3 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/4.282, allocations: 9.656 kB / 2.003 GB, free: 47.3 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01116/4.293, allocations: 1.403 MB / 2.004 GB, free: 47.12 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008484/4.301, allocations: 3.34 MB / 2.008 GB, free: 46.57 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002797/4.302, allocations: 173.5 kB / 2.008 GB, free: 46.5 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007461/4.302, allocations: 140 kB / 2.008 GB, free: 46.5 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005169/4.307, allocations: 2.034 MB / 2.01 GB, free: 46.48 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006187/4.314, allocations: 2.508 MB / 2.012 GB, free: 45.98 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.628e-05/4.314, allocations: 11.77 kB / 2.012 GB, free: 45.98 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005511/4.314, allocations: 6.625 kB / 2.012 GB, free: 45.98 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.277e-05/4.314, allocations: 66.28 kB / 2.012 GB, free: 45.98 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02303/4.337, allocations: 14.1 MB / 2.026 GB, free: 39.38 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001661/4.339, allocations: 1.117 MB / 2.027 GB, free: 39.17 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000838/4.34, allocations: 0.6062 MB / 2.028 GB, free: 39.16 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00148/4.342, allocations: 1.783 MB / 2.03 GB, free: 37.19 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00126/4.343, allocations: 0.9295 MB / 2.03 GB, free: 36.9 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=118): time 3.827e-06/4.343, allocations: 2.156 kB / 2.03 GB, free: 36.9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=122): time 0.01896/4.362, allocations: 10.08 MB / 2.04 GB, free: 30.89 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002229/4.362, allocations: 0.9334 MB / 2.041 GB, free: 29.76 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002577/4.365, allocations: 1.849 MB / 2.043 GB, free: 29.54 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002949/4.365, allocations: 33.23 kB / 2.043 GB, free: 29.51 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006863/4.366, allocations: 0.9737 MB / 2.044 GB, free: 28.95 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003705/4.366, allocations: 406.6 kB / 2.044 GB, free: 28.7 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/4.366, allocations: 2.75 kB / 2.044 GB, free: 28.7 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.383e-05/4.366, allocations: 371.7 kB / 2.045 GB, free: 28.39 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009663/4.367, allocations: 0.6044 MB / 2.045 GB, free: 28.38 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001299/4.368, allocations: 1.228 MB / 2.047 GB, free: 27.7 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002498/4.371, allocations: 0.8148 MB / 2.047 GB, free: 27.68 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/4.371, allocations: 3.906 kB / 2.047 GB, free: 27.68 MB / 0.6355 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.004723/4.376, allocations: 2.251 MB / 2.05 GB, free: 27.49 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.00076/4.377, allocations: 5.097 MB / 2.054 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.764e-05/4.377, allocations: 14.16 kB / 2.054 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001876/4.378, allocations: 0.8909 MB / 2.055 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002561/4.381, allocations: 461.2 kB / 2.056 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002955/4.384, allocations: 2.381 MB / 2.058 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004934/4.389, allocations: 396.3 kB / 2.059 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002273/4.389, allocations: 108.9 kB / 2.059 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.005e-06/4.389, allocations: 3.469 kB / 2.059 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004163/4.393, allocations: 1.955 MB / 2.061 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/4.393, allocations: 11.12 kB / 2.061 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001767/4.395, allocations: 0.899 MB / 2.061 GB, free: 20.85 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002475/4.398, allocations: 445.5 kB / 2.062 GB, free: 20.85 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002845/4.4, allocations: 2.37 MB / 2.064 GB, free: 19.78 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004505/4.405, allocations: 329.4 kB / 2.064 GB, free: 19.76 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002445/4.405, allocations: 107.5 kB / 2.065 GB, free: 19.76 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 (148): * Single equations (assignments): 145 * 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 24,4 27} Notification: Performance of prepare postOptimizeDAE: time 0.0006254/4.406, allocations: 162.7 kB / 2.065 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005872/4.406, allocations: 248.4 kB / 2.065 GB, free: 19.52 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005927/4.412, allocations: 1.752 MB / 2.067 GB, free: 19.41 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.982e-05/4.412, allocations: 17.47 kB / 2.067 GB, free: 19.41 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/4.412, allocations: 7.062 kB / 2.067 GB, free: 19.41 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004713/4.417, allocations: 1.546 MB / 2.068 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01036/4.428, allocations: 6.15 MB / 2.074 GB, free: 17.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.811e-05/4.428, allocations: 5.906 kB / 2.074 GB, free: 17.21 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002016/4.43, allocations: 282.7 kB / 2.074 GB, free: 17.21 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001631/4.431, allocations: 0.7705 MB / 2.075 GB, free: 17.19 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001151/4.431, allocations: 34.84 kB / 2.075 GB, free: 17.19 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002624/4.434, allocations: 2.118 MB / 2.077 GB, free: 16.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/4.434, allocations: 7.594 kB / 2.077 GB, free: 16.12 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006778/4.441, allocations: 3.291 MB / 2.081 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001695/4.443, allocations: 0.6182 MB / 2.081 GB, free: 14.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009285/4.444, allocations: 13.44 kB / 2.081 GB, free: 14.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0039/4.447, allocations: 279.2 kB / 2.081 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001837/4.448, allocations: 101.1 kB / 2.082 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001833/4.448, allocations: 71.31 kB / 2.082 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.002572/4.45, allocations: 1.381 MB / 2.083 GB, free: 14.56 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.005754/4.456, allocations: 1.568 MB / 2.084 GB, free: 14.44 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 (76): * Single equations (assignments): 70 * 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 19,4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.002747/4.459, allocations: 1.505 MB / 2.086 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.004715/4.464, allocations: 2.631 MB / 2.089 GB, free: 13.92 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.235e-05/4.464, allocations: 4.688 kB / 2.089 GB, free: 13.92 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001441/4.465, allocations: 0.7812 MB / 2.089 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005439/4.471, allocations: 1.03 MB / 2.09 GB, free: 13.85 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009681/4.48, allocations: 3.771 MB / 2.094 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001873/4.482, allocations: 2.036 MB / 2.096 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of SimCode: time 8.72e-07/4.482, allocations: 3.906 kB / 2.096 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of Templates: time 0.432/4.914, allocations: 77.02 MB / 2.171 GB, free: 101.2 MB / 0.6511 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1)