Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.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_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed") translateModel(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed") [: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.003941/0.003941, allocations: 178.2 kB / 7.454 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.7363/0.7363, allocations: 130.6 MB / 138.5 MB, free: 2.148 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.539/1.539, allocations: 221.3 MB / 391.4 MB, free: 12.98 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.0009763/0.0009762, allocations: 109 kB / 473.4 MB, free: 14.29 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 8.716e-06/8.746e-06, allocations: 0.8125 kB / 0.5479 GB, free: 89.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1558, allocations: 81.59 MB / 0.6276 GB, free: 18.16 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.185/1.341, allocations: 396 MB / 1.014 GB, free: 216.2 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002372/1.341, allocations: 95.73 kB / 1.014 GB, free: 216.1 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.06/3.401, allocations: 0.5584 GB / 1.573 GB, free: 98.45 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0003408/3.401, allocations: 46 kB / 1.573 GB, free: 98.44 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.006646/3.408, allocations: 1.849 MB / 1.575 GB, free: 97.54 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/3.408, allocations: 10.09 kB / 1.575 GB, free: 97.54 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006163/3.414, allocations: 0.7079 MB / 1.575 GB, free: 97.45 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006748/3.421, allocations: 1.802 MB / 1.577 GB, free: 97.07 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002581/3.421, allocations: 93.33 kB / 1.577 GB, free: 97.03 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005887/3.422, allocations: 68.69 kB / 1.577 GB, free: 97.03 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003062/3.425, allocations: 1.039 MB / 1.578 GB, free: 97.02 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003487/3.428, allocations: 1.295 MB / 1.579 GB, free: 96.77 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.944e-05/3.428, allocations: 0 / 1.579 GB, free: 96.77 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002744/3.428, allocations: 3.781 kB / 1.579 GB, free: 96.77 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.332e-05/3.429, allocations: 50.33 kB / 1.58 GB, free: 96.77 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01378/3.442, allocations: 7.088 MB / 1.586 GB, free: 93.55 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009374/3.443, allocations: 0.505 MB / 1.587 GB, free: 93.52 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005351/3.444, allocations: 321.7 kB / 1.587 GB, free: 93.52 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001197/3.445, allocations: 1.265 MB / 1.588 GB, free: 92.11 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/3.445, allocations: 49.47 kB / 1.589 GB, free: 92.07 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=64): time 4.388e-06/3.445, allocations: 0 / 1.589 GB, free: 92.07 MB / 0.6667 GB Notification: Performance of matching and sorting (n=64): time 0.01119/3.456, allocations: 1.455 MB / 1.59 GB, free: 91.95 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.716e-05/3.457, allocations: 112.5 kB / 1.59 GB, free: 91.82 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002464/3.459, allocations: 0.9711 MB / 1.591 GB, free: 91.67 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0003115/3.459, allocations: 29.2 kB / 1.591 GB, free: 91.64 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007011/3.46, allocations: 0.5354 MB / 1.592 GB, free: 91.32 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004233/3.46, allocations: 219.4 kB / 1.592 GB, free: 91.18 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001108/3.461, allocations: 3.281 kB / 1.592 GB, free: 91.18 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001124/3.461, allocations: 334.9 kB / 1.592 GB, free: 90.88 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006725/3.461, allocations: 319 kB / 1.592 GB, free: 90.87 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008188/3.462, allocations: 0.5802 MB / 1.593 GB, free: 90.57 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001422/3.464, allocations: 430.8 kB / 1.593 GB, free: 90.55 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.255e-06/3.464, allocations: 0 / 1.593 GB, free: 90.55 MB / 0.6667 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.01125/3.475, allocations: 1.703 MB / 1.595 GB, free: 90.44 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006813/3.476, allocations: 2.45 MB / 1.597 GB, free: 87.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.947e-05/3.476, allocations: 7.594 kB / 1.597 GB, free: 87.9 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009485/3.477, allocations: 360.6 kB / 1.598 GB, free: 87.89 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001678/3.478, allocations: 259.1 kB / 1.598 GB, free: 87.89 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001404/3.48, allocations: 0.9697 MB / 1.599 GB, free: 87.36 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003075/3.483, allocations: 236.4 kB / 1.599 GB, free: 87.32 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002517/3.483, allocations: 56.94 kB / 1.599 GB, free: 87.32 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/3.483, allocations: 2.656 kB / 1.599 GB, free: 87.32 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01089/3.494, allocations: 1.547 MB / 1.601 GB, free: 87.29 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.001e-05/3.494, allocations: 7.625 kB / 1.601 GB, free: 87.29 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009088/3.495, allocations: 362.4 kB / 1.601 GB, free: 87.29 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001738/3.497, allocations: 257.4 kB / 1.601 GB, free: 87.29 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001611/3.498, allocations: 0.9586 MB / 1.602 GB, free: 86.76 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00306/3.502, allocations: 206.5 kB / 1.602 GB, free: 86.72 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004101/3.502, allocations: 57.06 kB / 1.603 GB, free: 86.72 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 (86): * Single equations (assignments): 85 * 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 {2 19} Notification: Performance of prepare postOptimizeDAE: time 0.0005852/3.503, allocations: 129.4 kB / 1.603 GB, free: 86.61 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000655/3.503, allocations: 126.1 kB / 1.603 GB, free: 86.54 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002892/3.506, allocations: 0.9339 MB / 1.604 GB, free: 86.46 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-05/3.506, allocations: 5.844 kB / 1.604 GB, free: 86.46 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/3.506, allocations: 3.719 kB / 1.604 GB, free: 86.46 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001717/3.508, allocations: 0.8258 MB / 1.605 GB, free: 86.28 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006711/3.515, allocations: 2.543 MB / 1.607 GB, free: 85.81 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.261e-05/3.515, allocations: 7.562 kB / 1.607 GB, free: 85.81 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001077/3.516, allocations: 158.9 kB / 1.607 GB, free: 85.81 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007544/3.517, allocations: 356 kB / 1.608 GB, free: 85.8 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.147e-05/3.517, allocations: 15.72 kB / 1.608 GB, free: 85.8 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001279/3.518, allocations: 0.966 MB / 1.608 GB, free: 85.28 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/3.518, allocations: 3.781 kB / 1.608 GB, free: 85.28 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003166/3.521, allocations: 1.677 MB / 1.61 GB, free: 84.25 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001158/3.522, allocations: 377.2 kB / 1.61 GB, free: 83.98 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005498/3.523, allocations: 3.938 kB / 1.61 GB, free: 83.98 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002212/3.525, allocations: 134.7 kB / 1.611 GB, free: 83.98 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/3.525, allocations: 59.8 kB / 1.611 GB, free: 83.96 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001373/3.525, allocations: 41.3 kB / 1.611 GB, free: 83.96 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.001577/3.527, allocations: 0.7416 MB / 1.611 GB, free: 83.61 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.004513/3.531, allocations: 0.9785 MB / 1.612 GB, free: 83.37 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * 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 (46): * Single equations (assignments): 43 * 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 {2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.002699/3.534, allocations: 0.8982 MB / 1.613 GB, free: 83.13 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002871/3.537, allocations: 1.281 MB / 1.614 GB, free: 82.69 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 9.267e-06/3.537, allocations: 2.969 kB / 1.615 GB, free: 82.69 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0007393/3.538, allocations: 366.7 kB / 1.615 GB, free: 82.56 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003298/3.541, allocations: 0.5609 MB / 1.615 GB, free: 82.45 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007744/3.549, allocations: 2.002 MB / 1.617 GB, free: 81.61 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002175/3.551, allocations: 1.391 MB / 1.619 GB, free: 80.85 MB / 0.6667 GB Notification: Performance of SimCode: time 1.342e-06/3.551, allocations: 1.125 kB / 1.619 GB, free: 80.85 MB / 0.6667 GB Notification: Performance of Templates: time 0.07391/3.625, allocations: 39.69 MB / 1.657 GB, free: 63.39 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe 2>&1)