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.001464/0.001464, allocations: 171 kB / 7.646 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8048/0.8048, allocations: 130.7 MB / 138.7 MB, free: 3.523 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.572/1.572, allocations: 221.5 MB / 391.8 MB, free: 14.18 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.0009134/0.0009134, allocations: 100.6 kB / 473.9 MB, free: 4.473 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.345e-05/2.348e-05, allocations: 4 kB / 0.5485 GB, free: 13.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5241/0.5241, allocations: 81.57 MB / 0.6282 GB, free: 42.89 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.963/1.487, allocations: 396.5 MB / 1.015 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003548/1.488, allocations: 90.2 kB / 1.015 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.69/4.178, allocations: 0.5582 GB / 1.574 GB, free: 90.34 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.475e-06/4.178, allocations: 0 / 1.574 GB, free: 90.34 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0003304/4.178, allocations: 53.52 kB / 1.574 GB, free: 90.34 MB / 0.6667 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.006731/4.185, allocations: 1.975 MB / 1.576 GB, free: 89.63 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/4.185, allocations: 10.31 kB / 1.576 GB, free: 89.63 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005415/4.191, allocations: 0.688 MB / 1.576 GB, free: 89.53 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005424/4.196, allocations: 1.868 MB / 1.578 GB, free: 89.22 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002004/4.196, allocations: 85.95 kB / 1.578 GB, free: 89.18 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005543/4.197, allocations: 88.84 kB / 1.578 GB, free: 89.18 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002817/4.2, allocations: 1.153 MB / 1.579 GB, free: 89.17 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002503/4.202, allocations: 1.448 MB / 1.581 GB, free: 88.9 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.644e-05/4.202, allocations: 0 / 1.581 GB, free: 88.9 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001331/4.202, allocations: 5.656 kB / 1.581 GB, free: 88.9 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.846e-05/4.203, allocations: 62.44 kB / 1.581 GB, free: 88.9 MB / 0.6667 GB Warning: The model contains alias variables with conflicting start and/or 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.01123/4.214, allocations: 7.076 MB / 1.588 GB, free: 86 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00109/4.215, allocations: 0.6609 MB / 1.588 GB, free: 85.98 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005285/4.215, allocations: 372.3 kB / 1.589 GB, free: 85.97 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001318/4.217, allocations: 1.274 MB / 1.59 GB, free: 84.55 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.945e-05/4.217, allocations: 48.16 kB / 1.59 GB, free: 84.52 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=77): time 2.926e-06/4.217, allocations: 0 / 1.59 GB, free: 84.52 MB / 0.6667 GB Notification: Performance of matching and sorting (n=77): time 0.005323/4.222, allocations: 1.08 MB / 1.591 GB, free: 84.39 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.551e-05/4.222, allocations: 188 kB / 1.591 GB, free: 84.17 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001811/4.224, allocations: 1.03 MB / 1.592 GB, free: 84.02 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002012/4.224, allocations: 34.23 kB / 1.592 GB, free: 83.99 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008899/4.225, allocations: 0.773 MB / 1.593 GB, free: 83.73 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.000304/4.226, allocations: 257.4 kB / 1.593 GB, free: 83.57 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.381e-05/4.226, allocations: 4.125 kB / 1.593 GB, free: 83.57 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001416/4.226, allocations: 339.7 kB / 1.594 GB, free: 83.27 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006527/4.226, allocations: 356.8 kB / 1.594 GB, free: 83.27 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008021/4.227, allocations: 0.6407 MB / 1.595 GB, free: 82.93 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002079/4.229, allocations: 0.5272 MB / 1.595 GB, free: 82.92 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.066e-05/4.229, allocations: 2.188 kB / 1.595 GB, free: 82.92 MB / 0.6667 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.005345/4.235, allocations: 1.351 MB / 1.597 GB, free: 82.8 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007063/4.235, allocations: 2.477 MB / 1.599 GB, free: 80.25 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.268e-05/4.235, allocations: 6.5 kB / 1.599 GB, free: 80.25 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009749/4.236, allocations: 362.7 kB / 1.599 GB, free: 80.24 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001536/4.238, allocations: 276.5 kB / 1.6 GB, free: 80.24 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00131/4.239, allocations: 0.9571 MB / 1.6 GB, free: 79.71 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002801/4.242, allocations: 254.1 kB / 1.601 GB, free: 79.66 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001483/4.242, allocations: 63.2 kB / 1.601 GB, free: 79.66 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/4.242, allocations: 4.5 kB / 1.601 GB, free: 79.66 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004709/4.247, allocations: 1.182 MB / 1.602 GB, free: 79.64 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/4.247, allocations: 6.219 kB / 1.602 GB, free: 79.64 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000831/4.248, allocations: 368.9 kB / 1.602 GB, free: 79.62 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001456/4.249, allocations: 274.6 kB / 1.603 GB, free: 79.62 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001264/4.251, allocations: 0.9447 MB / 1.603 GB, free: 79.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002459/4.253, allocations: 211.8 kB / 1.604 GB, free: 79.07 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001317/4.253, allocations: 65.22 kB / 1.604 GB, free: 79.07 MB / 0.6667 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 () * 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.0004563/4.254, allocations: 141.8 kB / 1.604 GB, free: 78.95 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003476/4.254, allocations: 135 kB / 1.604 GB, free: 78.88 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004593/4.259, allocations: 1.153 MB / 1.605 GB, free: 78.8 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.358e-05/4.259, allocations: 11.2 kB / 1.605 GB, free: 78.8 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/4.259, allocations: 0 / 1.605 GB, free: 78.8 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003694/4.262, allocations: 1.038 MB / 1.606 GB, free: 78.61 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007994/4.27, allocations: 2.878 MB / 1.609 GB, free: 78.15 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.668e-06/4.27, allocations: 5.719 kB / 1.609 GB, free: 78.15 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009907/4.271, allocations: 176 kB / 1.609 GB, free: 78.15 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007232/4.272, allocations: 354.9 kB / 1.609 GB, free: 78.14 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.7e-05/4.272, allocations: 23.52 kB / 1.61 GB, free: 78.14 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001145/4.273, allocations: 0.9441 MB / 1.61 GB, free: 77.61 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/4.273, allocations: 6.438 kB / 1.61 GB, free: 77.61 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01135/4.285, allocations: 2.433 MB / 1.613 GB, free: 77.03 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001742/4.287, allocations: 401.5 kB / 1.613 GB, free: 76.86 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002839/4.287, allocations: 12.81 kB / 1.613 GB, free: 76.86 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001724/4.289, allocations: 150.3 kB / 1.613 GB, free: 76.85 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001883/4.289, allocations: 86.33 kB / 1.613 GB, free: 76.85 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001152/4.289, allocations: 51.38 kB / 1.613 GB, free: 76.84 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.00139/4.29, allocations: 0.7778 MB / 1.614 GB, free: 76.73 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.5e-07/4.29, allocations: 0 / 1.614 GB, free: 76.73 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003471/4.294, allocations: 1.025 MB / 1.615 GB, free: 76.54 MB / 0.6667 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) * 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.001927/4.296, allocations: 0.9075 MB / 1.616 GB, free: 76.32 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002593/4.298, allocations: 1.427 MB / 1.618 GB, free: 76.29 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/4.298, allocations: 0 / 1.618 GB, free: 76.29 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0007609/4.299, allocations: 474.9 kB / 1.618 GB, free: 76.29 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003106/4.302, allocations: 0.5872 MB / 1.619 GB, free: 76.28 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004882/4.307, allocations: 2.065 MB / 1.621 GB, free: 75.6 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000748/4.308, allocations: 1.295 MB / 1.622 GB, free: 74.89 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.002354/4.31, allocations: 429.1 kB / 1.622 GB, free: 74.87 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002907/4.311, allocations: 107.6 kB / 1.622 GB, free: 74.86 MB / 0.6667 GB Notification: Performance of SimCode: time 1.212e-06/4.311, allocations: 0 / 1.622 GB, free: 74.86 MB / 0.6667 GB Notification: Performance of Templates: time 0.05533/4.366, allocations: 35.79 MB / 1.657 GB, free: 73.11 MB / 0.6667 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)