Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection") translateModel(BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7786/0.7786, allocations: 143.4 MB / 158.3 MB, free: 5.824 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 178.9 kB / 191.5 MB, free: 5.766 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 223.2 MB / 447.7 MB, free: 6.516 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.001024/0.001024, allocations: 100.2 kB / 0.5188 GB, free: 2.875 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001852/0.001852, allocations: 277.1 kB / 0.6005 GB, free: 48.99 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006353/0.0006356, allocations: 20 kB / 0.6929 GB, free: 2.328 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4157/0.4164, allocations: 82.77 MB / 0.7737 GB, free: 26.23 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8147/1.231, allocations: 394.9 MB / 1.159 GB, free: 9.246 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/1.231, allocations: 100.8 kB / 1.159 GB, free: 9.195 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.25/3.482, allocations: 0.5624 GB / 1.722 GB, free: 81.99 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.462e-06/3.482, allocations: 0 / 1.722 GB, free: 81.99 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001568/3.482, allocations: 44.23 kB / 1.722 GB, free: 81.99 MB / 0.7136 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.004993/3.487, allocations: 2.256 MB / 1.724 GB, free: 81.21 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/3.487, allocations: 10.59 kB / 1.724 GB, free: 81.21 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004922/3.492, allocations: 0.6901 MB / 1.725 GB, free: 81.11 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003536/3.496, allocations: 1.863 MB / 1.727 GB, free: 80.79 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001238/3.496, allocations: 145.7 kB / 1.727 GB, free: 80.76 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000235/3.496, allocations: 133 kB / 1.727 GB, free: 80.76 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003843/3.5, allocations: 1.819 MB / 1.729 GB, free: 80.48 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.177e-05/3.5, allocations: 9.938 kB / 1.729 GB, free: 80.48 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001452/3.5, allocations: 58.3 kB / 1.729 GB, free: 80.48 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.087e-05/3.5, allocations: 58.52 kB / 1.729 GB, free: 80.48 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004753/3.505, allocations: 1.578 MB / 1.73 GB, free: 80.46 MB / 0.7136 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.009514/3.514, allocations: 7.376 MB / 1.737 GB, free: 77.48 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002093/3.517, allocations: 0.8358 MB / 1.738 GB, free: 77.45 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001033/3.518, allocations: 1.274 MB / 1.74 GB, free: 76.04 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/3.518, allocations: 52.53 kB / 1.74 GB, free: 76 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=77): time 3.456e-06/3.518, allocations: 0 / 1.74 GB, free: 76 MB / 0.7136 GB Notification: Performance of matching and sorting (n=77): time 0.02475/3.542, allocations: 3.671 MB / 1.743 GB, free: 75.77 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.244e-05/3.542, allocations: 191.2 kB / 1.743 GB, free: 75.55 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001975/3.544, allocations: 1.323 MB / 1.745 GB, free: 75.39 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.000161/3.545, allocations: 50.36 kB / 1.745 GB, free: 75.36 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005678/3.545, allocations: 0.7657 MB / 1.745 GB, free: 75.13 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000215/3.545, allocations: 264.7 kB / 1.746 GB, free: 74.97 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.447e-05/3.545, allocations: 18.91 kB / 1.746 GB, free: 74.97 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.664e-05/3.546, allocations: 345.8 kB / 1.746 GB, free: 74.66 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001903/3.547, allocations: 0.5253 MB / 1.747 GB, free: 74.66 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00203/3.549, allocations: 0.8428 MB / 1.747 GB, free: 74.32 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002021/3.552, allocations: 0.574 MB / 1.748 GB, free: 74.31 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/3.552, allocations: 0 / 1.748 GB, free: 74.31 MB / 0.7136 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.007181/3.559, allocations: 1.693 MB / 1.75 GB, free: 74.18 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007204/3.56, allocations: 2.511 MB / 1.752 GB, free: 71.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.821e-05/3.56, allocations: 7.375 kB / 1.752 GB, free: 71.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001606/3.561, allocations: 491.1 kB / 1.753 GB, free: 71.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00156/3.563, allocations: 267 kB / 1.753 GB, free: 71.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001445/3.564, allocations: 1.001 MB / 1.754 GB, free: 70.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002925/3.567, allocations: 296.9 kB / 1.754 GB, free: 70.92 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001352/3.567, allocations: 70.02 kB / 1.754 GB, free: 70.91 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/3.567, allocations: 11.72 kB / 1.754 GB, free: 70.91 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006284/3.574, allocations: 1.524 MB / 1.756 GB, free: 70.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/3.574, allocations: 3.906 kB / 1.756 GB, free: 70.89 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001472/3.575, allocations: 493.4 kB / 1.756 GB, free: 70.88 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001472/3.577, allocations: 268.9 kB / 1.756 GB, free: 70.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001366/3.578, allocations: 1.003 MB / 1.757 GB, free: 70.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00266/3.581, allocations: 263.5 kB / 1.758 GB, free: 70.29 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001356/3.581, allocations: 61.38 kB / 1.758 GB, free: 70.29 MB / 0.7136 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.001133/3.582, allocations: 487.7 kB / 1.758 GB, free: 70.09 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003721/3.582, allocations: 156.3 kB / 1.758 GB, free: 70.02 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005868/3.588, allocations: 1.407 MB / 1.76 GB, free: 69.93 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.119e-05/3.588, allocations: 9.844 kB / 1.76 GB, free: 69.93 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/3.588, allocations: 0 / 1.76 GB, free: 69.93 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006132/3.594, allocations: 1.267 MB / 1.761 GB, free: 69.75 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01359/3.608, allocations: 3.319 MB / 1.764 GB, free: 69.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.457e-05/3.608, allocations: 3.656 kB / 1.764 GB, free: 69.25 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001599/3.61, allocations: 173.1 kB / 1.764 GB, free: 69.25 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00231/3.612, allocations: 481.1 kB / 1.765 GB, free: 69.24 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001688/3.612, allocations: 30.84 kB / 1.765 GB, free: 69.24 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002074/3.614, allocations: 0.9871 MB / 1.766 GB, free: 68.72 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.79e-06/3.614, allocations: 3.75 kB / 1.766 GB, free: 68.72 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02107/3.635, allocations: 2.867 MB / 1.769 GB, free: 68.01 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001695/3.637, allocations: 425.8 kB / 1.769 GB, free: 67.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000527/3.638, allocations: 28.94 kB / 1.769 GB, free: 67.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003048/3.641, allocations: 170.1 kB / 1.769 GB, free: 67.82 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002223/3.641, allocations: 84.83 kB / 1.769 GB, free: 67.81 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001696/3.641, allocations: 50.95 kB / 1.769 GB, free: 67.81 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002476/3.644, allocations: 1.053 MB / 1.77 GB, free: 67.7 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3e-07/3.644, allocations: 2.438 kB / 1.77 GB, free: 67.7 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.004436/3.648, allocations: 1.038 MB / 1.771 GB, free: 67.54 MB / 0.7136 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.002216/3.65, allocations: 0.9063 MB / 1.772 GB, free: 67.33 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.009313/3.66, allocations: 1.932 MB / 1.774 GB, free: 67.3 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.113e-05/3.66, allocations: 3.469 kB / 1.774 GB, free: 67.3 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002889/3.663, allocations: 0.6134 MB / 1.775 GB, free: 67.3 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005783/3.668, allocations: 0.803 MB / 1.775 GB, free: 67.29 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008852/3.677, allocations: 3.428 MB / 1.779 GB, free: 65.75 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000888/3.678, allocations: 1.298 MB / 1.78 GB, free: 65.04 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.00313/3.681, allocations: 386.5 kB / 1.78 GB, free: 65.02 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005308/3.682, allocations: 139.2 kB / 1.781 GB, free: 65.01 MB / 0.7136 GB Notification: Performance of SimCode: time 1.112e-06/3.682, allocations: 1.188 kB / 1.781 GB, free: 65.01 MB / 0.7136 GB Notification: Performance of Templates: time 0.08551/3.767, allocations: 41.74 MB / 1.821 GB, free: 62.72 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe 2>&1)