Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/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.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") translateModel(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.003176/0.003176, allocations: 183.9 kB / 7.456 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6771/0.6771, allocations: 130.6 MB / 138.5 MB, free: 2.188 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.596/1.596, allocations: 221.4 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.001042/0.001042, allocations: 92.88 kB / 473.4 MB, free: 14.43 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 1.097e-05/1.101e-05, allocations: 0.9062 kB / 0.5479 GB, free: 89.11 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1779/0.178, allocations: 81.58 MB / 0.6276 GB, free: 18.26 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.058/1.236, allocations: 395.6 MB / 1.014 GB, free: 216.7 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002484/1.237, allocations: 87.95 kB / 1.014 GB, free: 216.7 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.794/3.031, allocations: 0.5584 GB / 1.572 GB, free: 98.17 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002706/3.031, allocations: 37.7 kB / 1.572 GB, free: 98.16 MB / 0.6667 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.007847/3.039, allocations: 1.864 MB / 1.574 GB, free: 97.27 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.89e-05/3.039, allocations: 6.906 kB / 1.574 GB, free: 97.27 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005611/3.044, allocations: 0.6522 MB / 1.575 GB, free: 97.18 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004985/3.049, allocations: 1.81 MB / 1.577 GB, free: 96.8 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001832/3.05, allocations: 85.12 kB / 1.577 GB, free: 96.76 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004891/3.05, allocations: 65.91 kB / 1.577 GB, free: 96.76 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002705/3.053, allocations: 1.002 MB / 1.578 GB, free: 96.75 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002884/3.056, allocations: 1.273 MB / 1.579 GB, free: 96.49 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.016e-05/3.056, allocations: 3 kB / 1.579 GB, free: 96.49 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002073/3.056, allocations: 3.75 kB / 1.579 GB, free: 96.49 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.195e-05/3.056, allocations: 57.02 kB / 1.579 GB, free: 96.49 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01111/3.067, allocations: 7.292 MB / 1.586 GB, free: 92.94 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008724/3.068, allocations: 0.5241 MB / 1.587 GB, free: 92.91 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004242/3.069, allocations: 310.9 kB / 1.587 GB, free: 92.9 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001101/3.07, allocations: 1.268 MB / 1.588 GB, free: 91.49 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/3.07, allocations: 40.81 kB / 1.588 GB, free: 91.45 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=64): time 3.226e-06/3.07, allocations: 0 / 1.588 GB, free: 91.45 MB / 0.6667 GB Notification: Performance of matching and sorting (n=64): time 0.002002/3.072, allocations: 0.8097 MB / 1.589 GB, free: 91.33 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/3.072, allocations: 111.2 kB / 1.589 GB, free: 91.21 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001242/3.073, allocations: 0.9666 MB / 1.59 GB, free: 91.06 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 9.116e-05/3.073, allocations: 29.58 kB / 1.59 GB, free: 91.03 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003707/3.073, allocations: 0.5242 MB / 1.591 GB, free: 90.72 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001905/3.074, allocations: 217.9 kB / 1.591 GB, free: 90.58 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.351e-05/3.074, allocations: 0 / 1.591 GB, free: 90.58 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.166e-05/3.074, allocations: 332.2 kB / 1.591 GB, free: 90.28 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000446/3.074, allocations: 282.2 kB / 1.591 GB, free: 90.27 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005819/3.075, allocations: 0.5659 MB / 1.592 GB, free: 89.95 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001137/3.076, allocations: 404 kB / 1.592 GB, free: 89.94 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/3.076, allocations: 6.5 kB / 1.592 GB, free: 89.94 MB / 0.6667 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002298/3.078, allocations: 1.075 MB / 1.593 GB, free: 89.83 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005126/3.079, allocations: 2.457 MB / 1.596 GB, free: 87.29 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.705e-05/3.079, allocations: 7.625 kB / 1.596 GB, free: 87.29 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008818/3.08, allocations: 363.3 kB / 1.596 GB, free: 87.27 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001477/3.081, allocations: 256.2 kB / 1.596 GB, free: 87.27 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001441/3.083, allocations: 1.093 MB / 1.597 GB, free: 86.74 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002402/3.085, allocations: 234.8 kB / 1.598 GB, free: 86.7 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001355/3.085, allocations: 51.66 kB / 1.598 GB, free: 86.7 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 9.638e-06/3.085, allocations: 3.656 kB / 1.598 GB, free: 86.7 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002095/3.087, allocations: 0.9236 MB / 1.599 GB, free: 86.68 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/3.087, allocations: 4.156 kB / 1.599 GB, free: 86.68 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007439/3.088, allocations: 357 kB / 1.599 GB, free: 86.66 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001386/3.09, allocations: 255 kB / 1.599 GB, free: 86.66 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001347/3.091, allocations: 1.097 MB / 1.6 GB, free: 86.13 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002079/3.093, allocations: 195.9 kB / 1.601 GB, free: 86.09 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001228/3.093, allocations: 55.2 kB / 1.601 GB, free: 86.09 MB / 0.6667 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.0003098/3.093, allocations: 124 kB / 1.601 GB, free: 85.98 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003164/3.094, allocations: 124 kB / 1.601 GB, free: 85.92 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002239/3.096, allocations: 0.9306 MB / 1.602 GB, free: 85.83 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/3.096, allocations: 3.938 kB / 1.602 GB, free: 85.83 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/3.096, allocations: 0 / 1.602 GB, free: 85.83 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001543/3.098, allocations: 0.8141 MB / 1.603 GB, free: 85.65 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005975/3.104, allocations: 2.856 MB / 1.605 GB, free: 84.75 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/3.104, allocations: 3.406 kB / 1.605 GB, free: 84.75 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009946/3.105, allocations: 162.9 kB / 1.605 GB, free: 84.75 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000792/3.105, allocations: 362.2 kB / 1.606 GB, free: 84.74 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.666e-05/3.106, allocations: 17.27 kB / 1.606 GB, free: 84.74 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002326/3.108, allocations: 1.204 MB / 1.607 GB, free: 84.21 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.314e-06/3.108, allocations: 7.406 kB / 1.607 GB, free: 84.21 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00219/3.11, allocations: 1.228 MB / 1.608 GB, free: 83.64 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008621/3.111, allocations: 360.1 kB / 1.609 GB, free: 83.48 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004111/3.111, allocations: 7.781 kB / 1.609 GB, free: 83.48 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002032/3.113, allocations: 134.9 kB / 1.609 GB, free: 83.47 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/3.114, allocations: 52.66 kB / 1.609 GB, free: 83.47 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001333/3.114, allocations: 45.58 kB / 1.609 GB, free: 83.47 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.001368/3.115, allocations: 0.7317 MB / 1.609 GB, free: 83.15 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003938/3.119, allocations: 0.9792 MB / 1.61 GB, free: 82.92 MB / 0.6667 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.002234/3.121, allocations: 0.8704 MB / 1.611 GB, free: 82.7 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002632/3.124, allocations: 1.252 MB / 1.613 GB, free: 82.27 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 8.435e-06/3.124, allocations: 3.906 kB / 1.613 GB, free: 82.27 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001373/3.125, allocations: 465.2 kB / 1.613 GB, free: 82.15 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003116/3.128, allocations: 0.5537 MB / 1.614 GB, free: 82.05 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006421/3.135, allocations: 1.955 MB / 1.615 GB, free: 81.24 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00113/3.136, allocations: 1.372 MB / 1.617 GB, free: 80.49 MB / 0.6667 GB Notification: Performance of SimCode: time 6.01e-07/3.136, allocations: 0 / 1.617 GB, free: 80.49 MB / 0.6667 GB Notification: Performance of Templates: time 0.06994/3.206, allocations: 38.99 MB / 1.655 GB, free: 66.11 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)