Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed") translateModel(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.002073/0.002073, allocations: 182.5 kB / 7.458 MB, free: 2.52 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6072/0.6072, allocations: 133.5 MB / 141.4 MB, free: 15.7 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.127/1.127, allocations: 221.3 MB / 395 MB, free: 10.24 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.0008592/0.0008592, allocations: 111.5 kB / 477.8 MB, free: 10.9 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.861e-06/5.951e-06, allocations: 2.5 kB / 0.5528 GB, free: 88.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1047, allocations: 82.3 MB / 0.6332 GB, free: 14.14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7189/0.8237, allocations: 396.2 MB / 1.02 GB, free: 200.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001741/0.8239, allocations: 88.06 kB / 1.02 GB, free: 200.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.401/2.225, allocations: 0.5584 GB / 1.579 GB, free: 109.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001149/2.225, allocations: 41.45 kB / 1.579 GB, free: 109.8 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.002898/2.228, allocations: 1.843 MB / 1.58 GB, free: 108.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 2.987e-05/2.228, allocations: 10.69 kB / 1.58 GB, free: 108.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004555/2.233, allocations: 0.7059 MB / 1.581 GB, free: 108.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002594/2.235, allocations: 1.809 MB / 1.583 GB, free: 108.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.337e-05/2.235, allocations: 84.44 kB / 1.583 GB, free: 108.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001499/2.235, allocations: 76.5 kB / 1.583 GB, free: 108.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001572/2.237, allocations: 1.038 MB / 1.584 GB, free: 108.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001727/2.239, allocations: 1.29 MB / 1.585 GB, free: 108.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.047e-05/2.239, allocations: 7.312 kB / 1.585 GB, free: 108.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001154/2.239, allocations: 0 / 1.585 GB, free: 108.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.269e-05/2.239, allocations: 50.61 kB / 1.585 GB, free: 108.2 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007902/2.247, allocations: 7.086 MB / 1.592 GB, free: 104.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006797/2.248, allocations: 0.4989 MB / 1.593 GB, free: 104.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004399/2.248, allocations: 325 kB / 1.593 GB, free: 104.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001051/2.249, allocations: 1.271 MB / 1.594 GB, free: 103.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/2.249, allocations: 45.59 kB / 1.594 GB, free: 103.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=64): time 2.124e-06/2.249, allocations: 0.8438 kB / 1.594 GB, free: 103.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=64): time 0.009821/2.259, allocations: 1.452 MB / 1.596 GB, free: 103.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/2.259, allocations: 113.2 kB / 1.596 GB, free: 103.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001224/2.26, allocations: 0.9727 MB / 1.597 GB, free: 103.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001146/2.26, allocations: 32.73 kB / 1.597 GB, free: 103 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003292/2.261, allocations: 0.5324 MB / 1.597 GB, free: 102.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001758/2.261, allocations: 215.8 kB / 1.598 GB, free: 102.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.624e-05/2.261, allocations: 2.969 kB / 1.598 GB, free: 102.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.863e-05/2.261, allocations: 337.6 kB / 1.598 GB, free: 102.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004815/2.261, allocations: 319.8 kB / 1.598 GB, free: 102.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005745/2.262, allocations: 0.5868 MB / 1.599 GB, free: 102 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/2.263, allocations: 424.3 kB / 1.599 GB, free: 102 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/2.263, allocations: 2.938 kB / 1.599 GB, free: 102 MB / 0.6823 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.009683/2.273, allocations: 1.706 MB / 1.601 GB, free: 101.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003425/2.273, allocations: 2.455 MB / 1.603 GB, free: 99.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/2.273, allocations: 3.438 kB / 1.603 GB, free: 99.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007387/2.274, allocations: 360.8 kB / 1.604 GB, free: 99.29 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001326/2.275, allocations: 261.3 kB / 1.604 GB, free: 99.29 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00102/2.276, allocations: 0.9619 MB / 1.605 GB, free: 98.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002216/2.279, allocations: 237.2 kB / 1.605 GB, free: 98.72 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/2.279, allocations: 58.2 kB / 1.605 GB, free: 98.72 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.25e-06/2.279, allocations: 3.719 kB / 1.605 GB, free: 98.72 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00943/2.288, allocations: 1.548 MB / 1.607 GB, free: 98.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/2.288, allocations: 10.91 kB / 1.607 GB, free: 98.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006504/2.289, allocations: 356 kB / 1.607 GB, free: 98.69 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001288/2.29, allocations: 254 kB / 1.607 GB, free: 98.69 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000981/2.291, allocations: 0.9699 MB / 1.608 GB, free: 98.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001856/2.293, allocations: 198.5 kB / 1.608 GB, free: 98.12 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.64e-05/2.293, allocations: 55.66 kB / 1.608 GB, free: 98.12 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 (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.0002279/2.293, allocations: 129.4 kB / 1.609 GB, free: 98.01 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001897/2.293, allocations: 124.7 kB / 1.609 GB, free: 97.95 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001927/2.295, allocations: 0.9418 MB / 1.61 GB, free: 97.87 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/2.295, allocations: 7.656 kB / 1.61 GB, free: 97.87 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/2.295, allocations: 0 / 1.61 GB, free: 97.87 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001341/2.297, allocations: 0.823 MB / 1.61 GB, free: 97.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004064/2.301, allocations: 2.549 MB / 1.613 GB, free: 97.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/2.301, allocations: 2.875 kB / 1.613 GB, free: 97.23 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009444/2.302, allocations: 159.4 kB / 1.613 GB, free: 97.23 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006505/2.302, allocations: 357.7 kB / 1.613 GB, free: 97.23 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.524e-05/2.303, allocations: 20.75 kB / 1.613 GB, free: 97.23 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009599/2.304, allocations: 0.9577 MB / 1.614 GB, free: 96.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/2.304, allocations: 4.656 kB / 1.614 GB, free: 96.7 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002074/2.306, allocations: 1.678 MB / 1.616 GB, free: 96.08 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004566/2.306, allocations: 364.7 kB / 1.616 GB, free: 95.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002104/2.306, allocations: 14.12 kB / 1.616 GB, free: 95.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001572/2.308, allocations: 137.9 kB / 1.616 GB, free: 95.91 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.092e-05/2.308, allocations: 57.31 kB / 1.617 GB, free: 95.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.829e-05/2.308, allocations: 41.17 kB / 1.617 GB, free: 95.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0007592/2.309, allocations: 0.7446 MB / 1.617 GB, free: 95.79 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002233/2.311, allocations: 0.9729 MB / 1.618 GB, free: 95.61 MB / 0.6823 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.001317/2.312, allocations: 0.8898 MB / 1.619 GB, free: 95.41 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001842/2.314, allocations: 1.291 MB / 1.62 GB, free: 95.37 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/2.314, allocations: 0 / 1.62 GB, free: 95.37 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005334/2.315, allocations: 369.2 kB / 1.621 GB, free: 95.37 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002146/2.317, allocations: 0.5511 MB / 1.621 GB, free: 95.36 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004071/2.321, allocations: 2.003 MB / 1.623 GB, free: 94.76 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008938/2.322, allocations: 1.381 MB / 1.625 GB, free: 94.03 MB / 0.6823 GB Notification: Performance of SimCode: time 4.11e-07/2.322, allocations: 0 / 1.625 GB, free: 94.03 MB / 0.6823 GB Notification: Performance of Templates: time 0.05344/2.375, allocations: 39.7 MB / 1.663 GB, free: 89.16 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe 2>&1)