Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/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_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") translateModel(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.002604/0.002604, allocations: 180.4 kB / 7.455 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7/0.7, allocations: 130.6 MB / 138.5 MB, free: 2.133 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.722/1.722, allocations: 221.3 MB / 391.4 MB, free: 13.05 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.0009436/0.0009435, allocations: 112.6 kB / 473.5 MB, free: 14.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 9.698e-06/9.728e-06, allocations: 3.938 kB / 0.5479 GB, free: 89.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.185/0.185, allocations: 81.57 MB / 0.6276 GB, free: 18.17 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.203/1.389, allocations: 397.8 MB / 1.016 GB, free: 214.6 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002637/1.389, allocations: 87.95 kB / 1.016 GB, free: 214.5 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.726/5.115, allocations: 1.063 GB / 2.079 GB, free: 58.88 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0005359/5.115, allocations: 83.83 kB / 2.079 GB, free: 58.86 MB / 0.698 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.01113/5.126, allocations: 3.212 MB / 2.083 GB, free: 57.38 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/5.126, allocations: 8.25 kB / 2.083 GB, free: 57.38 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01115/5.138, allocations: 1.402 MB / 2.084 GB, free: 57.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009972/5.148, allocations: 3.342 MB / 2.087 GB, free: 56.66 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003634/5.148, allocations: 168.4 kB / 2.087 GB, free: 56.59 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001018/5.149, allocations: 140.9 kB / 2.087 GB, free: 56.59 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005842/5.155, allocations: 2.021 MB / 2.089 GB, free: 56.57 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008653/5.164, allocations: 2.516 MB / 2.092 GB, free: 56.07 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001265/5.164, allocations: 6.75 kB / 2.092 GB, free: 56.07 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008382/5.165, allocations: 9.938 kB / 2.092 GB, free: 56.07 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001047/5.165, allocations: 71.56 kB / 2.092 GB, free: 56.07 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02826/5.193, allocations: 14.11 MB / 2.106 GB, free: 49.48 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002062/5.195, allocations: 1.13 MB / 2.107 GB, free: 49.24 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001008/5.196, allocations: 0.6148 MB / 2.107 GB, free: 49.23 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001574/5.198, allocations: 1.775 MB / 2.109 GB, free: 47.26 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001492/5.199, allocations: 0.9232 MB / 2.11 GB, free: 46.98 MB / 0.698 GB Notification: Performance of pre-optimization done (n=118): time 5.741e-06/5.199, allocations: 0 / 2.11 GB, free: 46.98 MB / 0.698 GB Notification: Performance of matching and sorting (n=122): time 0.02446/5.224, allocations: 10.1 MB / 2.12 GB, free: 40.96 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002966/5.224, allocations: 0.935 MB / 2.121 GB, free: 39.84 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003144/5.227, allocations: 1.839 MB / 2.123 GB, free: 39.62 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004098/5.228, allocations: 36.39 kB / 2.123 GB, free: 39.59 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001054/5.229, allocations: 0.9741 MB / 2.124 GB, free: 39.03 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006138/5.23, allocations: 409.7 kB / 2.124 GB, free: 38.77 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/5.23, allocations: 0 / 2.124 GB, free: 38.77 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001181/5.23, allocations: 367.2 kB / 2.124 GB, free: 38.46 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001076/5.231, allocations: 0.6129 MB / 2.125 GB, free: 38.46 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001347/5.232, allocations: 1.224 MB / 2.126 GB, free: 37.78 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002276/5.234, allocations: 0.8141 MB / 2.127 GB, free: 37.77 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.777e-06/5.235, allocations: 7.438 kB / 2.127 GB, free: 37.77 MB / 0.698 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.005502/5.24, allocations: 2.255 MB / 2.129 GB, free: 37.56 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001013/5.241, allocations: 5.097 MB / 2.134 GB, free: 32.12 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.039e-05/5.241, allocations: 14.84 kB / 2.134 GB, free: 32.12 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001956/5.243, allocations: 0.8901 MB / 2.135 GB, free: 32.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002604/5.246, allocations: 454.6 kB / 2.135 GB, free: 32.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003179/5.249, allocations: 2.369 MB / 2.138 GB, free: 31.04 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005396/5.254, allocations: 397.1 kB / 2.138 GB, free: 31.02 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003295/5.255, allocations: 104.2 kB / 2.138 GB, free: 31.02 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.678e-06/5.255, allocations: 3.719 kB / 2.138 GB, free: 31.02 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004395/5.259, allocations: 1.97 MB / 2.14 GB, free: 30.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/5.259, allocations: 18.06 kB / 2.14 GB, free: 30.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001767/5.261, allocations: 0.8869 MB / 2.141 GB, free: 30.94 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002451/5.263, allocations: 441.5 kB / 2.142 GB, free: 30.94 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003097/5.266, allocations: 2.381 MB / 2.144 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004721/5.271, allocations: 324 kB / 2.144 GB, free: 29.85 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002637/5.271, allocations: 104.9 kB / 2.144 GB, free: 29.85 MB / 0.698 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.0005517/5.272, allocations: 158.4 kB / 2.144 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005369/5.273, allocations: 243.1 kB / 2.145 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005811/5.278, allocations: 1.763 MB / 2.146 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.272e-05/5.278, allocations: 17.53 kB / 2.146 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.909e-06/5.278, allocations: 3.812 kB / 2.146 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004618/5.283, allocations: 1.553 MB / 2.148 GB, free: 29.22 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01083/5.294, allocations: 6.147 MB / 2.154 GB, free: 27.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/5.294, allocations: 3.812 kB / 2.154 GB, free: 27.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001799/5.296, allocations: 286.9 kB / 2.154 GB, free: 27.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001671/5.297, allocations: 0.7676 MB / 2.155 GB, free: 27.28 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001322/5.298, allocations: 34.44 kB / 2.155 GB, free: 27.28 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002591/5.3, allocations: 2.111 MB / 2.157 GB, free: 26.21 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/5.3, allocations: 9.938 kB / 2.157 GB, free: 26.21 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007197/5.307, allocations: 3.271 MB / 2.16 GB, free: 25.04 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002273/5.31, allocations: 0.6225 MB / 2.161 GB, free: 24.82 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006952/5.31, allocations: 11.56 kB / 2.161 GB, free: 24.82 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003571/5.314, allocations: 277.7 kB / 2.161 GB, free: 24.82 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002033/5.314, allocations: 102.7 kB / 2.161 GB, free: 24.81 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001661/5.314, allocations: 77.31 kB / 2.161 GB, free: 24.81 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.00227/5.317, allocations: 1.381 MB / 2.163 GB, free: 24.66 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.005977/5.323, allocations: 1.569 MB / 2.164 GB, free: 24.54 MB / 0.698 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.002754/5.325, allocations: 1.512 MB / 2.166 GB, free: 24.14 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004681/5.33, allocations: 2.64 MB / 2.168 GB, free: 24.01 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/5.33, allocations: 3.969 kB / 2.168 GB, free: 24.01 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001418/5.332, allocations: 0.7661 MB / 2.169 GB, free: 24.01 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004844/5.336, allocations: 1.036 MB / 2.17 GB, free: 23.99 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008379/5.345, allocations: 3.776 MB / 2.174 GB, free: 22.91 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001774/5.347, allocations: 2.033 MB / 2.176 GB, free: 22.17 MB / 0.698 GB Notification: Performance of SimCode: time 7.32e-07/5.347, allocations: 1.781 kB / 2.176 GB, free: 22.17 MB / 0.698 GB Notification: Performance of Templates: time 0.119/5.466, allocations: 77.03 MB / 2.251 GB, free: 8.496 MB / 0.7136 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1)