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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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.7542/0.7542, allocations: 140.1 MB / 156 MB, free: 5.16 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001223/0.001223, allocations: 176.4 kB / 188.5 MB, free: 15.83 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.682/1.682, allocations: 205.4 MB / 426.3 MB, free: 8.363 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000837/0.0008369, allocations: 90.11 kB / 0.4945 GB, free: 8.316 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001588/0.001588, allocations: 277.3 kB / 0.5729 GB, free: 66.2 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004142/0.0004142, allocations: 16 kB / 0.662 GB, free: 6.805 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4187/0.4192, allocations: 79.31 MB / 0.7395 GB, free: 46.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7657/1.185, allocations: 392.2 MB / 1.122 GB, free: 0.9062 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002643/1.185, allocations: 99.25 kB / 1.123 GB, free: 0.8516 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.095/3.281, allocations: 0.5433 GB / 1.666 GB, free: 92.18 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.172e-06/3.281, allocations: 0 / 1.666 GB, free: 92.18 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002337/3.281, allocations: 46.7 kB / 1.666 GB, free: 92.18 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.005817/3.287, allocations: 2.231 MB / 1.668 GB, free: 91.4 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/3.287, allocations: 6.969 kB / 1.668 GB, free: 91.4 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004835/3.292, allocations: 0.696 MB / 1.669 GB, free: 91.3 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003836/3.296, allocations: 1.862 MB / 1.671 GB, free: 90.93 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001316/3.296, allocations: 143.8 kB / 1.671 GB, free: 90.89 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002531/3.296, allocations: 139.8 kB / 1.671 GB, free: 90.89 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003557/3.3, allocations: 1.814 MB / 1.673 GB, free: 90.61 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.625e-05/3.3, allocations: 6.125 kB / 1.673 GB, free: 90.61 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001376/3.3, allocations: 63.47 kB / 1.673 GB, free: 90.61 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.718e-05/3.3, allocations: 42.36 kB / 1.673 GB, free: 90.61 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004009/3.304, allocations: 1.569 MB / 1.674 GB, free: 90.59 MB / 0.6667 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.009013/3.313, allocations: 7.348 MB / 1.681 GB, free: 87.61 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001876/3.315, allocations: 0.8364 MB / 1.682 GB, free: 87.59 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001387/3.316, allocations: 0.5322 MB / 1.683 GB, free: 87.56 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009991/3.317, allocations: 1.264 MB / 1.684 GB, free: 86.16 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/3.317, allocations: 57 kB / 1.684 GB, free: 86.11 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=77): time 3.346e-06/3.317, allocations: 2 kB / 1.684 GB, free: 86.11 MB / 0.6667 GB Notification: Performance of matching and sorting (n=77): time 0.02184/3.339, allocations: 3.686 MB / 1.688 GB, free: 85.88 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.65e-05/3.339, allocations: 191.3 kB / 1.688 GB, free: 85.66 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002172/3.341, allocations: 1.435 MB / 1.689 GB, free: 85.5 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001691/3.342, allocations: 57.8 kB / 1.689 GB, free: 85.46 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005189/3.342, allocations: 0.7673 MB / 1.69 GB, free: 85.24 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002058/3.342, allocations: 262.8 kB / 1.69 GB, free: 85.08 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.106e-05/3.342, allocations: 21.5 kB / 1.69 GB, free: 85.08 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 6.496e-05/3.342, allocations: 339.6 kB / 1.691 GB, free: 84.77 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001728/3.344, allocations: 0.5279 MB / 1.691 GB, free: 84.77 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0018/3.346, allocations: 0.8345 MB / 1.692 GB, free: 84.45 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003074/3.349, allocations: 1.186 MB / 1.693 GB, free: 84.21 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.199e-06/3.349, allocations: 0 / 1.693 GB, free: 84.21 MB / 0.6667 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.005833/3.355, allocations: 1.692 MB / 1.695 GB, free: 84.07 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001326/3.355, allocations: 280.8 kB / 1.695 GB, free: 83.76 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/3.355, allocations: 10.47 kB / 1.695 GB, free: 83.76 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001531/3.357, allocations: 485.3 kB / 1.696 GB, free: 83.75 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001325/3.358, allocations: 266.8 kB / 1.696 GB, free: 83.75 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001329/3.359, allocations: 1.001 MB / 1.697 GB, free: 83.22 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002508/3.362, allocations: 306.2 kB / 1.697 GB, free: 83.16 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001179/3.362, allocations: 59.11 kB / 1.697 GB, free: 83.16 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/3.362, allocations: 4.812 kB / 1.697 GB, free: 83.16 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005525/3.368, allocations: 1.532 MB / 1.699 GB, free: 83.12 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/3.368, allocations: 7.75 kB / 1.699 GB, free: 83.12 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001411/3.369, allocations: 488.7 kB / 1.699 GB, free: 83.11 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001273/3.37, allocations: 263.3 kB / 1.699 GB, free: 83.11 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001287/3.372, allocations: 0.993 MB / 1.7 GB, free: 82.59 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002339/3.374, allocations: 265.1 kB / 1.701 GB, free: 82.54 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001306/3.374, allocations: 57.19 kB / 1.701 GB, free: 82.54 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 () * 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.0009936/3.375, allocations: 485.9 kB / 1.701 GB, free: 82.34 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003126/3.375, allocations: 156.3 kB / 1.701 GB, free: 82.26 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00512/3.38, allocations: 1.413 MB / 1.703 GB, free: 82.18 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/3.381, allocations: 7.531 kB / 1.703 GB, free: 82.18 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/3.381, allocations: 3.938 kB / 1.703 GB, free: 82.18 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004474/3.385, allocations: 1.263 MB / 1.704 GB, free: 82 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008208/3.393, allocations: 3.298 MB / 1.707 GB, free: 81.51 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.857e-06/3.393, allocations: 3.938 kB / 1.707 GB, free: 81.51 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009088/3.394, allocations: 176.7 kB / 1.707 GB, free: 81.51 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001413/3.396, allocations: 481.6 kB / 1.708 GB, free: 81.5 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.204e-05/3.396, allocations: 34.73 kB / 1.708 GB, free: 81.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001299/3.397, allocations: 0.9958 MB / 1.709 GB, free: 80.97 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/3.397, allocations: 12.69 kB / 1.709 GB, free: 80.97 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01182/3.409, allocations: 2.634 MB / 1.711 GB, free: 80.6 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001172/3.41, allocations: 413.9 kB / 1.712 GB, free: 80.41 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002815/3.41, allocations: 26.64 kB / 1.712 GB, free: 80.41 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00165/3.412, allocations: 175.7 kB / 1.712 GB, free: 80.4 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001574/3.412, allocations: 83.92 kB / 1.712 GB, free: 80.4 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.635e-05/3.412, allocations: 46.92 kB / 1.712 GB, free: 80.4 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001669/3.414, allocations: 1.019 MB / 1.713 GB, free: 80.29 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.51e-07/3.414, allocations: 0 / 1.713 GB, free: 80.29 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.00299/3.417, allocations: 0.9928 MB / 1.714 GB, free: 80.14 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) * 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.001591/3.419, allocations: 0.8553 MB / 1.715 GB, free: 79.91 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.005682/3.424, allocations: 1.938 MB / 1.717 GB, free: 79.89 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 9.988e-06/3.424, allocations: 0 / 1.717 GB, free: 79.89 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001747/3.426, allocations: 0.6198 MB / 1.717 GB, free: 79.88 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005054/3.431, allocations: 0.8221 MB / 1.718 GB, free: 79.86 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008725/3.44, allocations: 3.435 MB / 1.721 GB, free: 78.33 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001006/3.441, allocations: 1.263 MB / 1.723 GB, free: 77.62 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.003516/3.445, allocations: 390.9 kB / 1.723 GB, free: 77.6 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006522/3.445, allocations: 143.6 kB / 1.723 GB, free: 77.59 MB / 0.6667 GB Notification: Performance of SimCode: time 9.52e-07/3.445, allocations: 0 / 1.723 GB, free: 77.59 MB / 0.6667 GB Notification: Performance of Templates: time 0.1085/3.554, allocations: 42.41 MB / 1.765 GB, free: 75.15 MB / 0.6667 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)