Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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_TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection") translateModel(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.007835/0.007835, allocations: 170.4 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/package.mo): time 0.7482/0.7482, allocations: 132.3 MB / 148.1 MB, free: 212 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 223.2 MB / 403.2 MB, free: 6.703 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.001029/0.001029, allocations: 89.69 kB / 485.5 MB, free: 14.15 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003525/0.0003525, allocations: 11.98 kB / 0.5641 GB, free: 2.121 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.44/0.4404, allocations: 81.59 MB / 0.6438 GB, free: 39.32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8276/1.268, allocations: 397.3 MB / 1.032 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002426/1.268, allocations: 92.89 kB / 1.032 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.303/3.571, allocations: 0.5626 GB / 1.594 GB, free: 96.14 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.826e-06/3.571, allocations: 0 / 1.594 GB, free: 96.14 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002704/3.572, allocations: 50.12 kB / 1.594 GB, free: 96.14 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.007378/3.579, allocations: 2.258 MB / 1.597 GB, free: 95.34 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/3.579, allocations: 13.5 kB / 1.597 GB, free: 95.34 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0056/3.585, allocations: 0.6819 MB / 1.597 GB, free: 95.24 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005067/3.59, allocations: 1.878 MB / 1.599 GB, free: 94.93 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002358/3.59, allocations: 143.2 kB / 1.599 GB, free: 94.89 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005649/3.591, allocations: 138.3 kB / 1.599 GB, free: 94.89 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005017/3.596, allocations: 1.818 MB / 1.601 GB, free: 94.61 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.904e-05/3.596, allocations: 3.875 kB / 1.601 GB, free: 94.61 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002575/3.596, allocations: 55.66 kB / 1.601 GB, free: 94.61 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.671e-05/3.596, allocations: 59.55 kB / 1.601 GB, free: 94.61 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005119/3.601, allocations: 1.579 MB / 1.603 GB, free: 94.59 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.01329/3.614, allocations: 7.384 MB / 1.61 GB, free: 91.63 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003004/3.618, allocations: 0.8413 MB / 1.611 GB, free: 91.59 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001366/3.619, allocations: 1.272 MB / 1.612 GB, free: 90.19 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.913e-05/3.619, allocations: 47.53 kB / 1.612 GB, free: 90.15 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=77): time 2.886e-06/3.619, allocations: 0.5 kB / 1.612 GB, free: 90.15 MB / 0.6823 GB Notification: Performance of matching and sorting (n=77): time 0.02523/3.644, allocations: 3.665 MB / 1.616 GB, free: 89.92 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.741e-05/3.644, allocations: 200.1 kB / 1.616 GB, free: 89.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003451/3.648, allocations: 1.33 MB / 1.617 GB, free: 89.54 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003069/3.648, allocations: 49.36 kB / 1.617 GB, free: 89.51 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009494/3.649, allocations: 0.7662 MB / 1.618 GB, free: 89.29 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004189/3.65, allocations: 269.1 kB / 1.618 GB, free: 89.14 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.18e-05/3.65, allocations: 18.16 kB / 1.618 GB, free: 89.14 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.944e-05/3.65, allocations: 341.6 kB / 1.619 GB, free: 88.84 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002003/3.652, allocations: 0.5255 MB / 1.619 GB, free: 88.84 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002179/3.654, allocations: 0.8282 MB / 1.62 GB, free: 88.51 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002012/3.656, allocations: 0.5792 MB / 1.621 GB, free: 88.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/3.656, allocations: 0 / 1.621 GB, free: 88.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.006853/3.663, allocations: 1.696 MB / 1.622 GB, free: 88.36 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004902/3.663, allocations: 2.514 MB / 1.625 GB, free: 85.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/3.663, allocations: 6.594 kB / 1.625 GB, free: 85.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001661/3.665, allocations: 0.4888 MB / 1.625 GB, free: 85.68 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00166/3.667, allocations: 261.2 kB / 1.625 GB, free: 85.68 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001463/3.668, allocations: 0.9989 MB / 1.626 GB, free: 85.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002892/3.671, allocations: 297.8 kB / 1.627 GB, free: 85.09 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001636/3.671, allocations: 59.52 kB / 1.627 GB, free: 85.09 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/3.671, allocations: 5.156 kB / 1.627 GB, free: 85.09 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006571/3.678, allocations: 1.531 MB / 1.628 GB, free: 85.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.182e-05/3.678, allocations: 18.25 kB / 1.628 GB, free: 85.06 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001562/3.68, allocations: 481.5 kB / 1.629 GB, free: 85.05 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001638/3.681, allocations: 269.8 kB / 1.629 GB, free: 85.05 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001446/3.683, allocations: 0.9956 MB / 1.63 GB, free: 84.53 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00284/3.686, allocations: 262.3 kB / 1.63 GB, free: 84.48 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002168/3.686, allocations: 58.61 kB / 1.63 GB, free: 84.48 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.001166/3.687, allocations: 486.6 kB / 1.631 GB, free: 84.28 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005236/3.687, allocations: 155.8 kB / 1.631 GB, free: 84.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006326/3.694, allocations: 1.419 MB / 1.632 GB, free: 84.11 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.579e-05/3.694, allocations: 7.625 kB / 1.632 GB, free: 84.11 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/3.694, allocations: 3.906 kB / 1.632 GB, free: 84.11 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005424/3.699, allocations: 1.267 MB / 1.633 GB, free: 83.92 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01061/3.71, allocations: 3.311 MB / 1.637 GB, free: 83.42 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.27e-05/3.71, allocations: 6.547 kB / 1.637 GB, free: 83.42 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001114/3.711, allocations: 173.8 kB / 1.637 GB, free: 83.42 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00153/3.713, allocations: 482.2 kB / 1.637 GB, free: 83.41 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001311/3.713, allocations: 28.69 kB / 1.637 GB, free: 83.41 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001419/3.714, allocations: 0.9898 MB / 1.638 GB, free: 82.88 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/3.714, allocations: 5.531 kB / 1.638 GB, free: 82.88 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01448/3.729, allocations: 2.866 MB / 1.641 GB, free: 82.18 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001767/3.731, allocations: 428.6 kB / 1.642 GB, free: 81.99 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008631/3.731, allocations: 20.88 kB / 1.642 GB, free: 81.99 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00257/3.734, allocations: 173.3 kB / 1.642 GB, free: 81.98 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000248/3.734, allocations: 81.33 kB / 1.642 GB, free: 81.98 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001911/3.735, allocations: 51.42 kB / 1.642 GB, free: 81.98 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002253/3.737, allocations: 1.059 MB / 1.643 GB, free: 81.87 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.21e-07/3.737, allocations: 0 / 1.643 GB, free: 81.87 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004352/3.741, allocations: 1.038 MB / 1.644 GB, free: 81.71 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.002164/3.743, allocations: 0.9059 MB / 1.645 GB, free: 81.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006539/3.75, allocations: 1.933 MB / 1.647 GB, free: 81.46 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.02e-05/3.75, allocations: 0 / 1.647 GB, free: 81.46 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001988/3.752, allocations: 0.6207 MB / 1.647 GB, free: 81.45 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0039/3.756, allocations: 0.7944 MB / 1.648 GB, free: 81.45 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00647/3.762, allocations: 3.438 MB / 1.651 GB, free: 79.91 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006297/3.763, allocations: 1.305 MB / 1.653 GB, free: 79.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001934/3.765, allocations: 383.8 kB / 1.653 GB, free: 79.18 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000354/3.765, allocations: 145.5 kB / 1.653 GB, free: 79.17 MB / 0.6823 GB Notification: Performance of SimCode: time 1.192e-06/3.765, allocations: 0 / 1.653 GB, free: 79.17 MB / 0.6823 GB Notification: Performance of Templates: time 0.0556/3.821, allocations: 41.47 MB / 1.694 GB, free: 76.92 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe 2>&1)