Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.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.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater") translateModel(IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater") [: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.001831/0.001831, allocations: 174.5 kB / 7.459 MB, free: 2.48 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5969/0.5969, allocations: 133.5 MB / 141.4 MB, free: 15.71 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.13/1.13, allocations: 221.3 MB / 395 MB, free: 10.17 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.0008478/0.0008474, allocations: 102.9 kB / 477.8 MB, free: 10.79 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.162e-06/6.181e-06, allocations: 2.219 kB / 0.5528 GB, free: 89.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1099, allocations: 82.31 MB / 0.6332 GB, free: 14.09 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7262/0.8361, allocations: 400.8 MB / 1.025 GB, free: 233.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000171/0.8363, allocations: 87.95 kB / 1.025 GB, free: 233.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.389/2.225, allocations: 0.5666 GB / 1.591 GB, free: 98.27 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001654/2.225, allocations: 47.25 kB / 1.591 GB, free: 98.26 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: 312 * Number of variables: 312 Notification: Performance of Generate backend data structure: time 0.00372/2.229, allocations: 1.997 MB / 1.593 GB, free: 97.36 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 2.992e-05/2.229, allocations: 11.88 kB / 1.593 GB, free: 97.36 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004831/2.234, allocations: 0.7226 MB / 1.594 GB, free: 97.26 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00316/2.237, allocations: 1.894 MB / 1.596 GB, free: 96.91 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.965e-05/2.237, allocations: 91.31 kB / 1.596 GB, free: 96.88 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001703/2.237, allocations: 70.75 kB / 1.596 GB, free: 96.88 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001761/2.239, allocations: 1.12 MB / 1.597 GB, free: 96.87 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001907/2.241, allocations: 1.391 MB / 1.598 GB, free: 96.59 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.642e-05/2.241, allocations: 3.219 kB / 1.598 GB, free: 96.59 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001287/2.241, allocations: 3.812 kB / 1.599 GB, free: 96.59 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-05/2.241, allocations: 57.8 kB / 1.599 GB, free: 96.59 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008319/2.25, allocations: 7.667 MB / 1.606 GB, free: 93 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001164/2.251, allocations: 0.8651 MB / 1.607 GB, free: 92.96 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000538/2.251, allocations: 460.2 kB / 1.607 GB, free: 92.95 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009486/2.252, allocations: 1.275 MB / 1.609 GB, free: 91.54 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006981/2.253, allocations: 0.5489 MB / 1.609 GB, free: 91.48 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=79): time 2.705e-06/2.253, allocations: 0 / 1.609 GB, free: 91.48 MB / 0.6823 GB Notification: Performance of matching and sorting (n=79): time 0.003975/2.257, allocations: 1.211 MB / 1.61 GB, free: 91.36 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/2.257, allocations: 165.3 kB / 1.61 GB, free: 91.17 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001078/2.258, allocations: 1.008 MB / 1.611 GB, free: 91.01 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.082e-05/2.258, allocations: 28.8 kB / 1.611 GB, free: 90.98 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002885/2.259, allocations: 0.5207 MB / 1.612 GB, free: 90.68 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001866/2.259, allocations: 268.8 kB / 1.612 GB, free: 90.51 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.991e-05/2.259, allocations: 0 / 1.612 GB, free: 90.51 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.685e-05/2.259, allocations: 337.6 kB / 1.613 GB, free: 90.21 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005097/2.259, allocations: 379.1 kB / 1.613 GB, free: 90.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006265/2.26, allocations: 0.6709 MB / 1.614 GB, free: 89.87 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00108/2.261, allocations: 497.7 kB / 1.614 GB, free: 89.85 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/2.261, allocations: 3.875 kB / 1.614 GB, free: 89.85 MB / 0.6823 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002223/2.263, allocations: 1.293 MB / 1.615 GB, free: 89.72 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003017/2.264, allocations: 2.38 MB / 1.618 GB, free: 87.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/2.264, allocations: 7.438 kB / 1.618 GB, free: 87.27 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008987/2.265, allocations: 438.4 kB / 1.618 GB, free: 87.26 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001335/2.266, allocations: 254.1 kB / 1.618 GB, free: 87.26 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001297/2.267, allocations: 1.174 MB / 1.619 GB, free: 86.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001875/2.269, allocations: 221.3 kB / 1.62 GB, free: 86.69 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/2.269, allocations: 58.02 kB / 1.62 GB, free: 86.69 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.529e-06/2.269, allocations: 6.5 kB / 1.62 GB, free: 86.69 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002001/2.271, allocations: 1.119 MB / 1.621 GB, free: 86.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/2.271, allocations: 3.562 kB / 1.621 GB, free: 86.66 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008004/2.272, allocations: 441.1 kB / 1.621 GB, free: 86.65 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001259/2.273, allocations: 251.5 kB / 1.621 GB, free: 86.65 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001248/2.275, allocations: 1.172 MB / 1.623 GB, free: 86.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001638/2.276, allocations: 199.8 kB / 1.623 GB, free: 86.08 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.782e-05/2.276, allocations: 61.69 kB / 1.623 GB, free: 86.08 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.calDat.nextTimeEvent,calDat.nextTimeEvent,$PRE.calDat.nextTimeEventScaled,calDat.nextTimeEventScaled,$PRE.heaPum.com.isOn,heaPum.com.isOn) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 82 * 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 {4 25} Notification: Performance of prepare postOptimizeDAE: time 0.0002045/2.277, allocations: 128.3 kB / 1.623 GB, free: 85.97 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001819/2.277, allocations: 140.7 kB / 1.623 GB, free: 85.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002502/2.279, allocations: 1.335 MB / 1.624 GB, free: 85.81 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/2.279, allocations: 10.81 kB / 1.624 GB, free: 85.81 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/2.279, allocations: 0 / 1.624 GB, free: 85.81 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001805/2.281, allocations: 1.105 MB / 1.626 GB, free: 85.62 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003845/2.285, allocations: 2.83 MB / 1.628 GB, free: 85.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/2.285, allocations: 3.797 kB / 1.628 GB, free: 85.24 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001148/2.286, allocations: 192.9 kB / 1.628 GB, free: 85.24 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007992/2.287, allocations: 422.2 kB / 1.629 GB, free: 85.23 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.242e-05/2.287, allocations: 30.75 kB / 1.629 GB, free: 85.23 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001255/2.288, allocations: 1.178 MB / 1.63 GB, free: 84.69 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/2.288, allocations: 0 / 1.63 GB, free: 84.69 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001995/2.29, allocations: 1.333 MB / 1.631 GB, free: 84.36 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004994/2.291, allocations: 411.3 kB / 1.632 GB, free: 84.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002249/2.291, allocations: 7.281 kB / 1.632 GB, free: 84.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001699/2.293, allocations: 159.7 kB / 1.632 GB, free: 84.18 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.791e-05/2.293, allocations: 53.02 kB / 1.632 GB, free: 84.18 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001016/2.293, allocations: 56.45 kB / 1.632 GB, free: 84.18 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0007794/2.294, allocations: 0.7603 MB / 1.633 GB, free: 84.07 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002231/2.296, allocations: 1.051 MB / 1.634 GB, free: 83.88 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,calDat.nextTimeEvent,calDat.nextTimeEventScaled,heaPum.com.isOn) * Number of discrete states: 3 (calDat.nextTimeEvent,heaPum.com.isOn,calDat.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * 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: 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.001693/2.298, allocations: 1.137 MB / 1.635 GB, free: 83.62 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002114/2.3, allocations: 1.572 MB / 1.636 GB, free: 83.58 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/2.3, allocations: 3.875 kB / 1.636 GB, free: 83.58 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007021/2.301, allocations: 0.4953 MB / 1.637 GB, free: 83.57 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002506/2.303, allocations: 0.6339 MB / 1.638 GB, free: 83.55 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003583/2.307, allocations: 2.017 MB / 1.639 GB, free: 83 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009673/2.308, allocations: 1.462 MB / 1.641 GB, free: 82.29 MB / 0.6823 GB Notification: Performance of SimCode: time 3.51e-07/2.308, allocations: 0 / 1.641 GB, free: 82.29 MB / 0.6823 GB Notification: Performance of Templates: time 0.05754/2.365, allocations: 44.59 MB / 1.684 GB, free: 77.83 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1)