Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_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/IDEAS 3.0.0/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static") translateModel(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_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.003032/0.003032, allocations: 178.9 kB / 7.452 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6692/0.6692, allocations: 130.6 MB / 138.5 MB, free: 2.219 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.514/1.514, allocations: 221.3 MB / 391.4 MB, free: 13.09 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 89.73 kB / 473.4 MB, free: 14.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 9.899e-06/9.919e-06, allocations: 2 kB / 0.5479 GB, free: 89.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.155, allocations: 81.59 MB / 0.6276 GB, free: 18.22 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.216/1.371, allocations: 396 MB / 1.014 GB, free: 192.5 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002327/1.372, allocations: 89.8 kB / 1.014 GB, free: 192.4 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.096/3.468, allocations: 0.5585 GB / 1.573 GB, free: 91.32 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002944/3.468, allocations: 46.2 kB / 1.573 GB, free: 91.31 MB / 0.6823 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.006439/3.474, allocations: 1.857 MB / 1.575 GB, free: 90.39 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/3.474, allocations: 14.38 kB / 1.575 GB, free: 90.39 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005962/3.48, allocations: 0.7148 MB / 1.575 GB, free: 90.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005896/3.486, allocations: 1.803 MB / 1.577 GB, free: 89.92 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001994/3.487, allocations: 90.56 kB / 1.577 GB, free: 89.88 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005157/3.487, allocations: 70.44 kB / 1.577 GB, free: 89.88 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003157/3.49, allocations: 1.029 MB / 1.578 GB, free: 89.88 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003448/3.494, allocations: 1.294 MB / 1.58 GB, free: 89.61 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.866e-05/3.494, allocations: 5.953 kB / 1.58 GB, free: 89.61 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002484/3.494, allocations: 3.844 kB / 1.58 GB, free: 89.61 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.01e-05/3.494, allocations: 50.02 kB / 1.58 GB, free: 89.61 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01326/3.507, allocations: 7.391 MB / 1.587 GB, free: 86.04 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001036/3.509, allocations: 0.5564 MB / 1.587 GB, free: 86 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005656/3.509, allocations: 323.1 kB / 1.588 GB, free: 85.99 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001126/3.51, allocations: 1.269 MB / 1.589 GB, free: 84.59 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/3.51, allocations: 41.44 kB / 1.589 GB, free: 84.55 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=66): time 2.765e-06/3.51, allocations: 3.812 kB / 1.589 GB, free: 84.55 MB / 0.6823 GB Notification: Performance of matching and sorting (n=66): time 0.002394/3.513, allocations: 0.8623 MB / 1.59 GB, free: 84.43 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.554e-05/3.513, allocations: 114.6 kB / 1.59 GB, free: 84.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001826/3.515, allocations: 0.9674 MB / 1.591 GB, free: 84.16 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001611/3.515, allocations: 29.5 kB / 1.591 GB, free: 84.12 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005005/3.515, allocations: 0.5248 MB / 1.591 GB, free: 83.82 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002281/3.516, allocations: 221.5 kB / 1.592 GB, free: 83.67 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.699e-05/3.516, allocations: 0 / 1.592 GB, free: 83.67 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.581e-05/3.516, allocations: 338.9 kB / 1.592 GB, free: 83.37 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00055/3.516, allocations: 299.7 kB / 1.592 GB, free: 83.37 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006915/3.517, allocations: 0.5758 MB / 1.593 GB, free: 83.05 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001237/3.518, allocations: 418.5 kB / 1.593 GB, free: 83.04 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/3.518, allocations: 0 / 1.593 GB, free: 83.04 MB / 0.6823 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002659/3.521, allocations: 1.124 MB / 1.594 GB, free: 82.92 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000494/3.521, allocations: 2.455 MB / 1.597 GB, free: 80.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.93e-05/3.521, allocations: 11.5 kB / 1.597 GB, free: 80.38 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001043/3.522, allocations: 449.6 kB / 1.597 GB, free: 80.37 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001406/3.524, allocations: 247.1 kB / 1.597 GB, free: 80.37 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001619/3.526, allocations: 1.158 MB / 1.599 GB, free: 79.83 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00261/3.528, allocations: 242.1 kB / 1.599 GB, free: 79.79 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001287/3.528, allocations: 55.03 kB / 1.599 GB, free: 79.79 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.077e-06/3.528, allocations: 3.469 kB / 1.599 GB, free: 79.79 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002264/3.531, allocations: 0.9758 MB / 1.6 GB, free: 79.76 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.198e-06/3.531, allocations: 6.781 kB / 1.6 GB, free: 79.76 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009175/3.532, allocations: 443.4 kB / 1.6 GB, free: 79.75 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001377/3.533, allocations: 255.8 kB / 1.6 GB, free: 79.75 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0015/3.534, allocations: 1.153 MB / 1.602 GB, free: 79.22 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002331/3.537, allocations: 200.1 kB / 1.602 GB, free: 79.18 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001388/3.537, allocations: 58.2 kB / 1.602 GB, free: 79.18 MB / 0.6823 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 24} Notification: Performance of prepare postOptimizeDAE: time 0.0003537/3.537, allocations: 127.1 kB / 1.602 GB, free: 79.07 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002649/3.538, allocations: 125.5 kB / 1.602 GB, free: 79.01 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004133/3.542, allocations: 1.06 MB / 1.603 GB, free: 78.93 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/3.542, allocations: 7.625 kB / 1.603 GB, free: 78.93 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/3.542, allocations: 3.281 kB / 1.603 GB, free: 78.93 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003434/3.545, allocations: 0.9488 MB / 1.604 GB, free: 78.74 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005961/3.551, allocations: 2.969 MB / 1.607 GB, free: 77.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.784e-06/3.551, allocations: 3.875 kB / 1.607 GB, free: 77.82 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009751/3.552, allocations: 155.7 kB / 1.607 GB, free: 77.82 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009989/3.553, allocations: 439 kB / 1.608 GB, free: 77.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.597e-05/3.553, allocations: 17.38 kB / 1.608 GB, free: 77.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001499/3.555, allocations: 1.149 MB / 1.609 GB, free: 77.27 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/3.555, allocations: 3.375 kB / 1.609 GB, free: 77.27 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002451/3.557, allocations: 1.28 MB / 1.61 GB, free: 76.71 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007818/3.558, allocations: 367.8 kB / 1.61 GB, free: 76.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002366/3.558, allocations: 6.969 kB / 1.61 GB, free: 76.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001808/3.56, allocations: 140.5 kB / 1.61 GB, free: 76.55 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/3.56, allocations: 49.75 kB / 1.61 GB, free: 76.54 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001224/3.56, allocations: 51.94 kB / 1.611 GB, free: 76.54 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.001497/3.562, allocations: 0.7311 MB / 1.611 GB, free: 76.43 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003999/3.566, allocations: 0.9873 MB / 1.612 GB, free: 76.25 MB / 0.6823 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 {4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.002259/3.568, allocations: 0.8913 MB / 1.613 GB, free: 76.02 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003269/3.571, allocations: 1.304 MB / 1.614 GB, free: 75.99 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/3.571, allocations: 1.625 kB / 1.614 GB, free: 75.99 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009515/3.572, allocations: 376.1 kB / 1.615 GB, free: 75.97 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003073/3.576, allocations: 0.5551 MB / 1.615 GB, free: 75.91 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005254/3.581, allocations: 1.855 MB / 1.617 GB, free: 75.07 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001331/3.582, allocations: 1.375 MB / 1.618 GB, free: 74.33 MB / 0.6823 GB Notification: Performance of SimCode: time 1.042e-06/3.582, allocations: 0 / 1.618 GB, free: 74.33 MB / 0.6823 GB Notification: Performance of Templates: time 0.07585/3.658, allocations: 40.36 MB / 1.658 GB, free: 50.59 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe 2>&1)