Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater") translateModel(IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001429/0.001429, allocations: 182.9 kB / 7.455 MB, free: 1.555 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6786/0.6786, allocations: 130.6 MB / 138.5 MB, free: 7.594 MB / 114.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.618/1.618, allocations: 221.3 MB / 391.4 MB, free: 1.066 MB / 306.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 86.94 kB / 473.4 MB, free: 15.17 MB / 402.8 MB Notification: Performance of FrontEnd - loaded program: time 7.194e-06/7.224e-06, allocations: 0 / 0.5479 GB, free: 53.23 MB / 402.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.1836, allocations: 81.58 MB / 0.6276 GB, free: 3.613 MB / 434.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.028/1.211, allocations: 400.6 MB / 1.019 GB, free: 130 MB / 0.6589 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003394/1.212, allocations: 90.36 kB / 1.019 GB, free: 130 MB / 0.6589 GB Notification: Performance of FrontEnd: time 2.036/3.248, allocations: 0.5666 GB / 1.585 GB, free: 79.44 MB / 0.6902 GB Notification: Performance of Transformations before backend: time 0.0003359/3.248, allocations: 44.66 kB / 1.585 GB, free: 79.43 MB / 0.6902 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.006957/3.255, allocations: 1.995 MB / 1.587 GB, free: 77.98 MB / 0.6902 GB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/3.255, allocations: 10.66 kB / 1.587 GB, free: 77.98 MB / 0.6902 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005716/3.261, allocations: 0.7266 MB / 1.588 GB, free: 77.7 MB / 0.6902 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005576/3.267, allocations: 1.902 MB / 1.59 GB, free: 76.33 MB / 0.6902 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002002/3.267, allocations: 92.39 kB / 1.59 GB, free: 76.29 MB / 0.6902 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004642/3.267, allocations: 70.72 kB / 1.59 GB, free: 76.29 MB / 0.6902 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002908/3.27, allocations: 1.12 MB / 1.591 GB, free: 75.74 MB / 0.6902 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003529/3.274, allocations: 1.382 MB / 1.593 GB, free: 74.84 MB / 0.6902 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.189e-05/3.274, allocations: 9.531 kB / 1.593 GB, free: 74.83 MB / 0.6902 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002646/3.274, allocations: 7.406 kB / 1.593 GB, free: 74.83 MB / 0.6902 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001066/3.274, allocations: 49.62 kB / 1.593 GB, free: 74.82 MB / 0.6902 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01543/3.29, allocations: 7.675 MB / 1.6 GB, free: 68.42 MB / 0.6902 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001947/3.292, allocations: 0.8616 MB / 1.601 GB, free: 68 MB / 0.6902 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009275/3.293, allocations: 459.7 kB / 1.601 GB, free: 67.79 MB / 0.6902 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001388/3.294, allocations: 1.275 MB / 1.603 GB, free: 66.32 MB / 0.6902 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00113/3.295, allocations: 0.5523 MB / 1.603 GB, free: 65.98 MB / 0.6902 GB Notification: Performance of pre-optimization done (n=79): time 5.17e-06/3.295, allocations: 1.406 kB / 1.603 GB, free: 65.98 MB / 0.6902 GB Notification: Performance of matching and sorting (n=79): time 0.005604/3.301, allocations: 1.201 MB / 1.604 GB, free: 65.37 MB / 0.6902 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.323e-05/3.301, allocations: 170.1 kB / 1.605 GB, free: 65.17 MB / 0.6902 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003334/3.304, allocations: 1.004 MB / 1.606 GB, free: 64.64 MB / 0.6902 GB Notification: Performance of collectPreVariables (initialization): time 0.0002369/3.305, allocations: 34.06 kB / 1.606 GB, free: 64.6 MB / 0.6902 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008671/3.306, allocations: 0.5249 MB / 1.606 GB, free: 64.15 MB / 0.6902 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003945/3.306, allocations: 259.8 kB / 1.606 GB, free: 63.93 MB / 0.6902 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.604e-05/3.306, allocations: 0 / 1.606 GB, free: 63.93 MB / 0.6902 GB Notification: Performance of setup shared object (initialization): time 0.0001219/3.306, allocations: 342.3 kB / 1.607 GB, free: 63.59 MB / 0.6902 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008246/3.307, allocations: 378.2 kB / 1.607 GB, free: 63.41 MB / 0.6902 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001041/3.308, allocations: 0.6746 MB / 1.608 GB, free: 62.85 MB / 0.6902 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001693/3.31, allocations: 489.5 kB / 1.608 GB, free: 62.6 MB / 0.6902 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.321e-05/3.31, allocations: 0.9688 kB / 1.608 GB, free: 62.6 MB / 0.6902 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.0038/3.314, allocations: 1.301 MB / 1.609 GB, free: 61.95 MB / 0.6902 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006536/3.314, allocations: 2.379 MB / 1.612 GB, free: 59.45 MB / 0.6902 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.413e-05/3.314, allocations: 5.938 kB / 1.612 GB, free: 59.45 MB / 0.6902 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001294/3.316, allocations: 443.3 kB / 1.612 GB, free: 59.29 MB / 0.6902 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00156/3.317, allocations: 253.6 kB / 1.612 GB, free: 59.21 MB / 0.6902 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001934/3.319, allocations: 1.175 MB / 1.614 GB, free: 58.34 MB / 0.6902 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002795/3.322, allocations: 226.1 kB / 1.614 GB, free: 58.25 MB / 0.6902 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002479/3.322, allocations: 57.75 kB / 1.614 GB, free: 58.23 MB / 0.6902 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/3.322, allocations: 3.344 kB / 1.614 GB, free: 58.23 MB / 0.6902 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003333/3.326, allocations: 1.122 MB / 1.615 GB, free: 57.69 MB / 0.6902 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.707e-05/3.326, allocations: 5.219 kB / 1.615 GB, free: 57.69 MB / 0.6902 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001317/3.327, allocations: 438.2 kB / 1.615 GB, free: 57.53 MB / 0.6902 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001476/3.328, allocations: 244.6 kB / 1.616 GB, free: 57.45 MB / 0.6902 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001831/3.33, allocations: 1.174 MB / 1.617 GB, free: 56.59 MB / 0.6902 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003052/3.333, allocations: 211.4 kB / 1.617 GB, free: 56.5 MB / 0.6902 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002387/3.334, allocations: 52.02 kB / 1.617 GB, free: 56.48 MB / 0.6902 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.0007332/3.334, allocations: 127.4 kB / 1.617 GB, free: 56.36 MB / 0.6902 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001006/3.335, allocations: 137.6 kB / 1.617 GB, free: 56.29 MB / 0.6902 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004296/3.34, allocations: 1.345 MB / 1.619 GB, free: 55.57 MB / 0.6902 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.036e-05/3.34, allocations: 11.72 kB / 1.619 GB, free: 55.57 MB / 0.6902 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.319e-05/3.34, allocations: 0 / 1.619 GB, free: 55.57 MB / 0.6902 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002349/3.342, allocations: 1.105 MB / 1.62 GB, free: 54.94 MB / 0.6902 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009228/3.351, allocations: 2.806 MB / 1.622 GB, free: 53.06 MB / 0.6902 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.617e-06/3.351, allocations: 1.375 kB / 1.622 GB, free: 53.06 MB / 0.6902 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001347/3.353, allocations: 186.6 kB / 1.623 GB, free: 53 MB / 0.6902 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001144/3.354, allocations: 431.9 kB / 1.623 GB, free: 52.84 MB / 0.6902 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001087/3.354, allocations: 20.86 kB / 1.623 GB, free: 52.83 MB / 0.6902 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001899/3.356, allocations: 1.169 MB / 1.624 GB, free: 51.96 MB / 0.6902 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.586e-06/3.356, allocations: 5.344 kB / 1.624 GB, free: 51.96 MB / 0.6902 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003936/3.36, allocations: 1.338 MB / 1.625 GB, free: 51.16 MB / 0.6902 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001724/3.362, allocations: 414.2 kB / 1.626 GB, free: 50.82 MB / 0.6902 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007191/3.362, allocations: 3.312 kB / 1.626 GB, free: 50.82 MB / 0.6902 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002755/3.365, allocations: 159.7 kB / 1.626 GB, free: 50.77 MB / 0.6902 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001547/3.365, allocations: 53.48 kB / 1.626 GB, free: 50.73 MB / 0.6902 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002236/3.366, allocations: 59.42 kB / 1.626 GB, free: 50.71 MB / 0.6902 GB Notification: Performance of sort global known variables: time 0.00223/3.368, allocations: 0.757 MB / 1.627 GB, free: 50.29 MB / 0.6902 GB Notification: Performance of remove unused functions: time 0.006471/3.374, allocations: 1.048 MB / 1.628 GB, free: 50.02 MB / 0.6902 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.004196/3.378, allocations: 1.132 MB / 1.629 GB, free: 49.6 MB / 0.6902 GB Notification: Performance of simCode: created initialization part: time 0.004891/3.383, allocations: 1.573 MB / 1.631 GB, free: 48.89 MB / 0.6902 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-05/3.383, allocations: 2.156 kB / 1.631 GB, free: 48.89 MB / 0.6902 GB Notification: Performance of simCode: created simulation system equations: time 0.001332/3.385, allocations: 0.4954 MB / 1.631 GB, free: 48.66 MB / 0.6902 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005058/3.39, allocations: 0.6371 MB / 1.632 GB, free: 48.39 MB / 0.6902 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008781/3.399, allocations: 2.018 MB / 1.634 GB, free: 47.36 MB / 0.6902 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002999/3.402, allocations: 1.466 MB / 1.635 GB, free: 46.31 MB / 0.6902 GB Notification: Performance of SimCode: time 1.372e-06/3.402, allocations: 4 kB / 1.635 GB, free: 46.31 MB / 0.6902 GB Notification: Performance of Templates: time 0.0785/3.48, allocations: 44.58 MB / 1.679 GB, free: 2.438 MB / 0.6902 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1)