Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.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_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") translateModel(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") [: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.001124/0.001125, allocations: 188 kB / 7.804 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.45/0.45, 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.302/1.302, allocations: 221.4 MB / 342.8 MB, free: 5.195 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.001065/0.001065, allocations: 87.09 kB / 415.5 MB, free: 6.438 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 8.857e-06/8.877e-06, allocations: 4 kB / 493.9 MB, free: 8.082 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3692/0.3692, allocations: 72.3 MB / 0.5529 GB, free: 73.45 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6351/1.004, allocations: 388.2 MB / 0.932 GB, free: 15.91 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002808/1.005, allocations: 92.41 kB / 0.9321 GB, free: 15.86 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.291/4.296, allocations: 1.067 GB / 1.999 GB, free: 50.96 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0003964/4.296, allocations: 82.69 kB / 1.999 GB, free: 50.95 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: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.007742/4.304, allocations: 3.205 MB / 2.002 GB, free: 49.44 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/4.304, allocations: 9.844 kB / 2.002 GB, free: 49.44 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01047/4.315, allocations: 1.405 MB / 2.004 GB, free: 49.26 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00695/4.322, allocations: 3.352 MB / 2.007 GB, free: 48.71 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001649/4.322, allocations: 170.8 kB / 2.007 GB, free: 48.64 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003261/4.322, allocations: 135.1 kB / 2.007 GB, free: 48.64 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003632/4.326, allocations: 2.037 MB / 2.009 GB, free: 48.62 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003812/4.33, allocations: 2.503 MB / 2.012 GB, free: 48.14 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.013e-05/4.33, allocations: 13.34 kB / 2.012 GB, free: 48.13 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002541/4.33, allocations: 12.09 kB / 2.012 GB, free: 48.13 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.084e-05/4.33, allocations: 73.45 kB / 2.012 GB, free: 48.13 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0204/4.35, allocations: 13.92 MB / 2.025 GB, free: 41.77 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001535/4.352, allocations: 1.13 MB / 2.026 GB, free: 41.55 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008176/4.353, allocations: 0.624 MB / 2.027 GB, free: 41.55 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001392/4.354, allocations: 1.782 MB / 2.029 GB, free: 39.58 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001215/4.355, allocations: 0.943 MB / 2.03 GB, free: 39.29 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=122): time 3.337e-06/4.355, allocations: 1.469 kB / 2.03 GB, free: 39.29 MB / 0.6355 GB Notification: Performance of matching and sorting (n=122): time 0.005477/4.361, allocations: 1.689 MB / 2.031 GB, free: 39.09 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001984/4.361, allocations: 0.9362 MB / 2.032 GB, free: 37.96 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003082/4.364, allocations: 1.856 MB / 2.034 GB, free: 37.74 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0003998/4.365, allocations: 35.05 kB / 2.034 GB, free: 37.71 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008185/4.365, allocations: 0.9865 MB / 2.035 GB, free: 37.15 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004673/4.366, allocations: 406.3 kB / 2.035 GB, free: 36.89 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/4.366, allocations: 0 / 2.035 GB, free: 36.89 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.81e-05/4.366, allocations: 374.7 kB / 2.036 GB, free: 36.58 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001085/4.367, allocations: 0.6276 MB / 2.036 GB, free: 36.58 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001344/4.369, allocations: 1.22 MB / 2.038 GB, free: 35.92 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002292/4.371, allocations: 0.8405 MB / 2.038 GB, free: 35.9 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.137e-06/4.371, allocations: 3.969 kB / 2.038 GB, free: 35.9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.01321/4.384, allocations: 2.804 MB / 2.041 GB, free: 35.7 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008368/4.385, allocations: 4.901 MB / 2.046 GB, free: 30.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.088e-05/4.385, allocations: 17.41 kB / 2.046 GB, free: 30.46 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001527/4.387, allocations: 0.6991 MB / 2.047 GB, free: 30.44 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003025/4.39, allocations: 0.5017 MB / 2.047 GB, free: 30.44 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002347/4.392, allocations: 1.927 MB / 2.049 GB, free: 29.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005575/4.398, allocations: 484.5 kB / 2.049 GB, free: 29.29 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000345/4.398, allocations: 107 kB / 2.05 GB, free: 29.29 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/4.398, allocations: 3.406 kB / 2.05 GB, free: 29.29 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01237/4.41, allocations: 2.508 MB / 2.052 GB, free: 29.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.458e-05/4.41, allocations: 22.73 kB / 2.052 GB, free: 29.24 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001471/4.412, allocations: 0.711 MB / 2.053 GB, free: 29.22 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002975/4.415, allocations: 493.7 kB / 2.053 GB, free: 29.22 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002216/4.417, allocations: 1.915 MB / 2.055 GB, free: 28.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005095/4.422, allocations: 391.7 kB / 2.055 GB, free: 28.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003016/4.422, allocations: 104.9 kB / 2.056 GB, free: 28.1 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (170): * Single equations (assignments): 167 * 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 {2 19,2 19} Notification: Performance of prepare postOptimizeDAE: time 0.0005969/4.423, allocations: 165.2 kB / 2.056 GB, free: 27.98 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005604/4.424, allocations: 247.6 kB / 2.056 GB, free: 27.86 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01251/4.436, allocations: 2.315 MB / 2.058 GB, free: 27.76 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.53e-05/4.436, allocations: 13.75 kB / 2.058 GB, free: 27.76 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-05/4.436, allocations: 8.188 kB / 2.058 GB, free: 27.76 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01195/4.448, allocations: 2.127 MB / 2.06 GB, free: 27.46 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01839/4.467, allocations: 6.722 MB / 2.067 GB, free: 25.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-05/4.467, allocations: 8.062 kB / 2.067 GB, free: 25.52 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002253/4.469, allocations: 305 kB / 2.067 GB, free: 25.52 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001871/4.471, allocations: 0.6951 MB / 2.068 GB, free: 25.5 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001747/4.471, allocations: 40.52 kB / 2.068 GB, free: 25.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00269/4.474, allocations: 1.916 MB / 2.07 GB, free: 24.45 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.05e-05/4.474, allocations: 13.02 kB / 2.07 GB, free: 24.45 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006107/4.48, allocations: 3.264 MB / 2.073 GB, free: 23.2 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002142/4.482, allocations: 0.6408 MB / 2.074 GB, free: 22.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000605/4.483, allocations: 20.22 kB / 2.074 GB, free: 22.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003529/4.486, allocations: 289.9 kB / 2.074 GB, free: 22.96 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000183/4.486, allocations: 98.05 kB / 2.074 GB, free: 22.96 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001482/4.487, allocations: 73.42 kB / 2.074 GB, free: 22.96 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.002034/4.489, allocations: 1.386 MB / 2.075 GB, free: 22.81 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.005561/4.494, allocations: 1.826 MB / 2.077 GB, free: 22.49 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 4 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U,heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * 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 (84): * Single equations (assignments): 78 * 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,2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.00292/4.497, allocations: 1.514 MB / 2.079 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00462/4.502, allocations: 2.605 MB / 2.081 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.078e-05/4.502, allocations: 4.406 kB / 2.081 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001383/4.503, allocations: 0.7717 MB / 2.082 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004968/4.508, allocations: 1.044 MB / 2.083 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008848/4.517, allocations: 3.903 MB / 2.087 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001923/4.519, allocations: 2.045 MB / 2.089 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of SimCode: time 8.62e-07/4.519, allocations: 0.75 kB / 2.089 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of Templates: time 0.356/4.875, allocations: 76.42 MB / 2.163 GB, free: 110.3 MB / 0.6511 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe 2>&1)