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.8795/0.8795, allocations: 141.8 MB / 149.3 MB, free: 9.195 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.001105/0.001105, allocations: 172.8 kB / 182.2 MB, free: 9.445 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.638/1.638, allocations: 221.5 MB / 436.4 MB, free: 13.33 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.0009455/0.0009456, allocations: 91.53 kB / 0.5074 GB, free: 10.14 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001752/0.001752, allocations: 279.5 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.965e-05/1.966e-05, allocations: 4 kB / 0.6765 GB, free: 12.81 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5423/0.5423, allocations: 82.78 MB / 0.7574 GB, free: 31.99 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9406/1.483, allocations: 394.2 MB / 1.142 GB, free: 3.355 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002372/1.483, allocations: 91.83 kB / 1.142 GB, free: 3.312 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.154/3.637, allocations: 0.5579 GB / 1.7 GB, free: 16.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.053e-06/3.637, allocations: 0 / 1.7 GB, free: 16.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002954/3.637, allocations: 51.92 kB / 1.7 GB, free: 16.05 MB / 0.698 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.006024/3.643, allocations: 1.978 MB / 1.702 GB, free: 14.01 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/3.643, allocations: 11.97 kB / 1.702 GB, free: 14 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005213/3.649, allocations: 0.6845 MB / 1.703 GB, free: 13.31 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004774/3.653, allocations: 1.858 MB / 1.705 GB, free: 11.4 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001674/3.654, allocations: 92.31 kB / 1.705 GB, free: 11.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005307/3.654, allocations: 80 kB / 1.705 GB, free: 11.22 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003/3.657, allocations: 1.145 MB / 1.706 GB, free: 10.07 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003133/3.66, allocations: 1.442 MB / 1.707 GB, free: 8.535 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.689e-05/3.66, allocations: 3.938 kB / 1.707 GB, free: 8.531 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002142/3.661, allocations: 4 kB / 1.708 GB, free: 8.527 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.44e-05/3.661, allocations: 58.5 kB / 1.708 GB, free: 8.469 MB / 0.698 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.01167/3.672, allocations: 7.091 MB / 1.714 GB, free: 1.074 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/3.673, allocations: 0.6583 MB / 1.715 GB, free: 412 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005045/3.674, allocations: 371.6 kB / 1.715 GB, free: 36 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5101/4.184, allocations: 1.267 MB / 1.717 GB, free: 100.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.421e-05/4.184, allocations: 44.92 kB / 1.717 GB, free: 100.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=77): time 3.677e-06/4.184, allocations: 0.7188 kB / 1.717 GB, free: 100.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=77): time 0.005767/4.19, allocations: 1.079 MB / 1.718 GB, free: 100.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.999e-05/4.19, allocations: 192.6 kB / 1.718 GB, free: 100.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002255/4.192, allocations: 1.025 MB / 1.719 GB, free: 100.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002433/4.193, allocations: 35 kB / 1.719 GB, free: 100.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008142/4.193, allocations: 0.7689 MB / 1.72 GB, free: 100.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002882/4.194, allocations: 259.7 kB / 1.72 GB, free: 100 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.486e-05/4.194, allocations: 1.5 kB / 1.72 GB, free: 100 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.843e-05/4.194, allocations: 344.9 kB / 1.72 GB, free: 99.71 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006517/4.195, allocations: 353.1 kB / 1.721 GB, free: 99.71 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008213/4.195, allocations: 0.6456 MB / 1.721 GB, free: 99.38 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002235/4.198, allocations: 0.5222 MB / 1.722 GB, free: 99.37 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.648e-06/4.198, allocations: 1.094 kB / 1.722 GB, free: 99.37 MB / 0.698 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.005393/4.203, allocations: 1.354 MB / 1.723 GB, free: 99.25 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004711/4.204, allocations: 2.475 MB / 1.726 GB, free: 96.71 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.839e-05/4.204, allocations: 10.48 kB / 1.726 GB, free: 96.71 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008961/4.204, allocations: 362.4 kB / 1.726 GB, free: 96.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001484/4.206, allocations: 273.8 kB / 1.726 GB, free: 96.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001161/4.207, allocations: 0.9518 MB / 1.727 GB, free: 96.18 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002652/4.21, allocations: 252.3 kB / 1.727 GB, free: 96.16 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001401/4.21, allocations: 57.56 kB / 1.727 GB, free: 96.16 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/4.21, allocations: 3.188 kB / 1.727 GB, free: 96.16 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004569/4.215, allocations: 1.188 MB / 1.729 GB, free: 96.13 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/4.215, allocations: 10.47 kB / 1.729 GB, free: 96.13 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007107/4.215, allocations: 363.1 kB / 1.729 GB, free: 96.12 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001372/4.217, allocations: 272 kB / 1.729 GB, free: 96.12 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001053/4.218, allocations: 0.9593 MB / 1.73 GB, free: 95.59 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002327/4.22, allocations: 216.2 kB / 1.73 GB, free: 95.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001166/4.22, allocations: 57.97 kB / 1.73 GB, free: 95.57 MB / 0.698 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.0003847/4.221, allocations: 137.8 kB / 1.731 GB, free: 95.46 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002825/4.221, allocations: 141.8 kB / 1.731 GB, free: 95.39 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004557/4.225, allocations: 1.152 MB / 1.732 GB, free: 95.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.256e-05/4.226, allocations: 11.38 kB / 1.732 GB, free: 95.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/4.226, allocations: 3.625 kB / 1.732 GB, free: 95.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003854/4.229, allocations: 1.025 MB / 1.733 GB, free: 95.12 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008378/4.238, allocations: 2.881 MB / 1.736 GB, free: 94.69 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/4.238, allocations: 3.781 kB / 1.736 GB, free: 94.69 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001029/4.239, allocations: 179 kB / 1.736 GB, free: 94.69 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007729/4.24, allocations: 352.5 kB / 1.736 GB, free: 94.68 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.672e-05/4.24, allocations: 27.22 kB / 1.736 GB, free: 94.67 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001253/4.241, allocations: 0.9445 MB / 1.737 GB, free: 94.14 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.006e-05/4.241, allocations: 8.172 kB / 1.737 GB, free: 94.14 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01166/4.253, allocations: 2.438 MB / 1.739 GB, free: 93.56 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001299/4.254, allocations: 397.9 kB / 1.74 GB, free: 93.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005784/4.255, allocations: 11.66 kB / 1.74 GB, free: 93.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00217/4.257, allocations: 154.2 kB / 1.74 GB, free: 93.39 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002116/4.257, allocations: 81.23 kB / 1.74 GB, free: 93.39 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001562/4.257, allocations: 50.94 kB / 1.74 GB, free: 93.39 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001561/4.259, allocations: 0.7756 MB / 1.741 GB, free: 93.28 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.81e-07/4.259, allocations: 0 / 1.741 GB, free: 93.28 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.005168/4.264, allocations: 1.028 MB / 1.742 GB, free: 93.22 MB / 0.698 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.002758/4.267, allocations: 0.8997 MB / 1.743 GB, free: 93.08 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003196/4.27, allocations: 1.42 MB / 1.744 GB, free: 93.05 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.151e-05/4.27, allocations: 8.703 kB / 1.744 GB, free: 93.05 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008075/4.271, allocations: 479.1 kB / 1.745 GB, free: 93.05 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003432/4.274, allocations: 0.6075 MB / 1.745 GB, free: 93.04 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004392/4.279, allocations: 2.047 MB / 1.747 GB, free: 92.39 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006812/4.279, allocations: 1.298 MB / 1.748 GB, free: 91.67 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002162/4.282, allocations: 434.5 kB / 1.749 GB, free: 91.66 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002769/4.282, allocations: 105.5 kB / 1.749 GB, free: 91.65 MB / 0.698 GB Notification: Performance of SimCode: time 2.084e-06/4.282, allocations: 0 / 1.749 GB, free: 91.65 MB / 0.698 GB Notification: Performance of Templates: time 0.05848/4.34, allocations: 36.04 MB / 1.784 GB, free: 90.1 MB / 0.698 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)