Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.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_TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection") translateModel(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009706/0.009706, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7617/0.7617, allocations: 135.2 MB / 151.1 MB, free: 13.79 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.479/1.479, allocations: 223.2 MB / 406.9 MB, free: 3.215 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 100.7 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000376/0.0003761, allocations: 8 kB / 0.5691 GB, free: 14.16 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.452/0.4524, allocations: 82.31 MB / 0.6495 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8498/1.302, allocations: 397.5 MB / 1.038 GB, free: 8.449 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/1.303, allocations: 94.83 kB / 1.038 GB, free: 8.398 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.261/3.563, allocations: 0.5626 GB / 1.6 GB, free: 97.95 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.322e-06/3.563, allocations: 0 / 1.6 GB, free: 97.95 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001686/3.564, allocations: 45.56 kB / 1.6 GB, free: 97.95 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: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.005177/3.569, allocations: 2.261 MB / 1.603 GB, free: 97.13 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/3.569, allocations: 11.31 kB / 1.603 GB, free: 97.13 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00519/3.574, allocations: 0.6897 MB / 1.603 GB, free: 97.03 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004453/3.579, allocations: 1.878 MB / 1.605 GB, free: 96.71 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002447/3.579, allocations: 141.5 kB / 1.605 GB, free: 96.68 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000252/3.579, allocations: 137.8 kB / 1.605 GB, free: 96.68 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004102/3.583, allocations: 1.814 MB / 1.607 GB, free: 96.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.463e-05/3.583, allocations: 5.969 kB / 1.607 GB, free: 96.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000159/3.583, allocations: 58.66 kB / 1.607 GB, free: 96.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-05/3.583, allocations: 55.52 kB / 1.607 GB, free: 96.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004608/3.588, allocations: 1.581 MB / 1.609 GB, free: 96.38 MB / 0.6823 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01034/3.598, allocations: 7.375 MB / 1.616 GB, free: 93.41 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002148/3.601, allocations: 0.8444 MB / 1.617 GB, free: 93.38 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001043/3.602, allocations: 1.277 MB / 1.618 GB, free: 91.97 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/3.602, allocations: 45.62 kB / 1.618 GB, free: 91.93 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=77): time 3.276e-06/3.602, allocations: 0 / 1.618 GB, free: 91.93 MB / 0.6823 GB Notification: Performance of matching and sorting (n=77): time 0.02512/3.627, allocations: 3.668 MB / 1.622 GB, free: 91.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.497e-05/3.627, allocations: 188.3 kB / 1.622 GB, free: 91.48 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002159/3.629, allocations: 1.331 MB / 1.623 GB, free: 91.32 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002131/3.629, allocations: 50.58 kB / 1.623 GB, free: 91.29 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005862/3.63, allocations: 0.7708 MB / 1.624 GB, free: 91.03 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002295/3.63, allocations: 259.1 kB / 1.624 GB, free: 90.87 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.391e-05/3.63, allocations: 17.97 kB / 1.624 GB, free: 90.87 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.786e-05/3.63, allocations: 339.2 kB / 1.625 GB, free: 90.56 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00187/3.632, allocations: 0.5349 MB / 1.625 GB, free: 90.56 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001971/3.634, allocations: 0.8332 MB / 1.626 GB, free: 90.23 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001849/3.636, allocations: 0.5732 MB / 1.626 GB, free: 90.22 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.298e-06/3.636, allocations: 3.938 kB / 1.626 GB, free: 90.22 MB / 0.6823 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.006518/3.643, allocations: 1.701 MB / 1.628 GB, free: 90.07 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004412/3.643, allocations: 2.502 MB / 1.631 GB, free: 87.42 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/3.643, allocations: 6 kB / 1.631 GB, free: 87.42 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001609/3.645, allocations: 497.9 kB / 1.631 GB, free: 87.41 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001485/3.646, allocations: 271.2 kB / 1.631 GB, free: 87.41 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001394/3.648, allocations: 0.9954 MB / 1.632 GB, free: 86.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002748/3.65, allocations: 303.8 kB / 1.633 GB, free: 86.82 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001187/3.651, allocations: 55.58 kB / 1.633 GB, free: 86.82 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/3.651, allocations: 4.406 kB / 1.633 GB, free: 86.82 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006256/3.657, allocations: 1.531 MB / 1.634 GB, free: 86.78 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/3.657, allocations: 14.95 kB / 1.634 GB, free: 86.78 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001468/3.658, allocations: 489.8 kB / 1.635 GB, free: 86.77 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001429/3.66, allocations: 270.2 kB / 1.635 GB, free: 86.77 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00135/3.661, allocations: 0.9906 MB / 1.636 GB, free: 86.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002438/3.664, allocations: 262.3 kB / 1.636 GB, free: 86.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001107/3.664, allocations: 58.41 kB / 1.636 GB, free: 86.2 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: 9 ($PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.heaPum.temPro.hysHig.y,heaPum.temPro.hysHig.y,$PRE.heaPum.temPro.hysLow.y,heaPum.temPro.hysLow.y,heaPum.temPro.on.y,$PRE.heaPum.temPro.hysdTConEva.y,heaPum.temPro.hysdTConEva.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 97 * 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.000964/3.665, allocations: 483.3 kB / 1.637 GB, free: 86 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002846/3.665, allocations: 159 kB / 1.637 GB, free: 85.92 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006432/3.671, allocations: 1.413 MB / 1.638 GB, free: 85.84 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.44e-05/3.671, allocations: 7.188 kB / 1.638 GB, free: 85.84 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/3.671, allocations: 3.75 kB / 1.638 GB, free: 85.84 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005382/3.677, allocations: 1.272 MB / 1.639 GB, free: 85.65 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009408/3.686, allocations: 3.321 MB / 1.643 GB, free: 85.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.507e-06/3.686, allocations: 3.875 kB / 1.643 GB, free: 85.15 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001044/3.687, allocations: 175.3 kB / 1.643 GB, free: 85.15 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001476/3.689, allocations: 477.3 kB / 1.643 GB, free: 85.14 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.543e-05/3.689, allocations: 29.66 kB / 1.643 GB, free: 85.14 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001317/3.69, allocations: 0.9927 MB / 1.644 GB, free: 84.61 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/3.69, allocations: 7.25 kB / 1.644 GB, free: 84.61 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01384/3.704, allocations: 2.87 MB / 1.647 GB, free: 83.89 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00104/3.705, allocations: 418.6 kB / 1.647 GB, free: 83.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002326/3.705, allocations: 31.94 kB / 1.648 GB, free: 83.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001814/3.707, allocations: 166.1 kB / 1.648 GB, free: 83.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/3.707, allocations: 90.08 kB / 1.648 GB, free: 83.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.876e-05/3.708, allocations: 47.72 kB / 1.648 GB, free: 83.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001743/3.709, allocations: 1.055 MB / 1.649 GB, free: 83.59 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.91e-07/3.709, allocations: 0 / 1.649 GB, free: 83.59 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003249/3.713, allocations: 1.035 MB / 1.65 GB, free: 83.43 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 5 (heaPum.com.isOn,heaPum.temPro.hysHig.y,heaPum.temPro.hysLow.y,heaPum.temPro.on.y,heaPum.temPro.hysdTConEva.y) * Number of discrete states: 4 (heaPum.temPro.hysLow.y,heaPum.temPro.hysHig.y,heaPum.temPro.hysdTConEva.y,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 56 * 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.001587/3.714, allocations: 0.9015 MB / 1.651 GB, free: 83.22 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005979/3.72, allocations: 1.93 MB / 1.653 GB, free: 83.19 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.715e-06/3.72, allocations: 7.312 kB / 1.653 GB, free: 83.19 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001844/3.722, allocations: 0.6205 MB / 1.653 GB, free: 83.19 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003375/3.725, allocations: 0.7862 MB / 1.654 GB, free: 83.18 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005792/3.731, allocations: 3.449 MB / 1.657 GB, free: 81.64 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006188/3.732, allocations: 1.298 MB / 1.659 GB, free: 80.92 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001924/3.734, allocations: 397.8 kB / 1.659 GB, free: 80.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003475/3.734, allocations: 141.2 kB / 1.659 GB, free: 80.89 MB / 0.6823 GB Notification: Performance of SimCode: time 9.21e-07/3.734, allocations: 0 / 1.659 GB, free: 80.89 MB / 0.6823 GB Notification: Performance of Templates: time 0.05631/3.79, allocations: 41.47 MB / 1.7 GB, free: 78.51 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe 2>&1)