Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.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) 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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.776/1.776, allocations: 297.8 MB / 313.7 MB, free: 136 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 184.8 kB / 384.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 223.2 MB / 0.6626 GB, free: 4.199 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008579/0.0008582, allocations: 94.3 kB / 0.7808 GB, free: 50.29 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004152/0.0004154, allocations: 15.98 kB / 0.9088 GB, free: 2.887 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6075/0.6079, allocations: 120.3 MB / 1.026 GB, free: 55.85 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.806/1.414, allocations: 426.5 MB / 1.443 GB, free: 245.1 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000326/1.414, allocations: 95.47 kB / 1.443 GB, free: 245.1 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.409/2.824, allocations: 0.553 GB / 1.996 GB, free: 77.85 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.313e-06/2.824, allocations: 0 / 1.996 GB, free: 77.85 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001388/2.824, allocations: 51.45 kB / 1.996 GB, free: 77.8 MB / 0.948 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.003855/2.828, allocations: 2.228 MB / 1.998 GB, free: 75.53 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/2.828, allocations: 8.031 kB / 1.998 GB, free: 75.52 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004152/2.832, allocations: 0.6893 MB / 1.999 GB, free: 74.83 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002858/2.835, allocations: 1.859 MB / 2.001 GB, free: 72.96 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/2.835, allocations: 144.3 kB / 2.001 GB, free: 72.81 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001785/2.835, allocations: 139.9 kB / 2.001 GB, free: 72.67 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003296/2.838, allocations: 1.82 MB / 2.003 GB, free: 70.75 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.826e-05/2.839, allocations: 7.938 kB / 2.003 GB, free: 70.75 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001459/2.839, allocations: 56 kB / 2.003 GB, free: 70.69 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.629e-05/2.839, allocations: 43.98 kB / 2.003 GB, free: 70.65 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003983/2.843, allocations: 1.579 MB / 2.004 GB, free: 69.06 MB / 0.948 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.008437/2.851, allocations: 7.361 MB / 2.012 GB, free: 61.45 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001842/2.853, allocations: 0.814 MB / 2.012 GB, free: 60.62 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001387/2.854, allocations: 0.5298 MB / 2.013 GB, free: 60.09 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009339/2.855, allocations: 1.278 MB / 2.014 GB, free: 58.54 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/2.855, allocations: 47.16 kB / 2.014 GB, free: 58.48 MB / 0.948 GB Notification: Performance of pre-optimization done (n=77): time 2.625e-06/2.855, allocations: 0 / 2.014 GB, free: 58.48 MB / 0.948 GB Notification: Performance of matching and sorting (n=77): time 0.02098/2.876, allocations: 3.685 MB / 2.018 GB, free: 54.77 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.314e-05/2.876, allocations: 196.6 kB / 2.018 GB, free: 54.53 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001929/2.878, allocations: 1.437 MB / 2.019 GB, free: 53.09 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001546/2.879, allocations: 49.69 kB / 2.019 GB, free: 53.03 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005083/2.879, allocations: 0.7654 MB / 2.02 GB, free: 52.26 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001766/2.879, allocations: 262 kB / 2.02 GB, free: 52.01 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.729e-05/2.879, allocations: 20 kB / 2.02 GB, free: 51.99 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.575e-05/2.879, allocations: 343.1 kB / 2.021 GB, free: 51.65 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001595/2.881, allocations: 0.525 MB / 2.021 GB, free: 51.12 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001707/2.883, allocations: 0.8415 MB / 2.022 GB, free: 50.16 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002926/2.886, allocations: 1.181 MB / 2.023 GB, free: 48.89 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/2.886, allocations: 0 / 2.023 GB, free: 48.89 MB / 0.948 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.005613/2.891, allocations: 1.698 MB / 2.025 GB, free: 47.18 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.302e-05/2.891, allocations: 282.7 kB / 2.025 GB, free: 46.82 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/2.891, allocations: 8 kB / 2.025 GB, free: 46.81 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00145/2.893, allocations: 479.1 kB / 2.026 GB, free: 46.34 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/2.894, allocations: 267.6 kB / 2.026 GB, free: 46.08 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001281/2.895, allocations: 0.9973 MB / 2.027 GB, free: 45.05 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002278/2.898, allocations: 302.7 kB / 2.027 GB, free: 44.76 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001084/2.898, allocations: 59.95 kB / 2.027 GB, free: 44.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.945e-06/2.898, allocations: 4 kB / 2.027 GB, free: 44.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005292/2.903, allocations: 1.533 MB / 2.029 GB, free: 43.16 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/2.903, allocations: 8.531 kB / 2.029 GB, free: 43.15 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001332/2.904, allocations: 494.8 kB / 2.029 GB, free: 42.67 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001216/2.906, allocations: 267.6 kB / 2.029 GB, free: 42.41 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001234/2.907, allocations: 0.9949 MB / 2.03 GB, free: 41.39 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002214/2.909, allocations: 262.8 kB / 2.031 GB, free: 41.13 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/2.909, allocations: 59.89 kB / 2.031 GB, free: 41.07 MB / 0.948 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.0008938/2.91, allocations: 485.5 kB / 2.031 GB, free: 40.59 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002351/2.91, allocations: 162 kB / 2.031 GB, free: 40.43 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004882/2.915, allocations: 1.404 MB / 2.033 GB, free: 39 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/2.915, allocations: 11.94 kB / 2.033 GB, free: 38.99 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/2.915, allocations: 0 / 2.033 GB, free: 38.99 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004313/2.92, allocations: 1.258 MB / 2.034 GB, free: 37.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007757/2.927, allocations: 3.3 MB / 2.037 GB, free: 34.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/2.927, allocations: 4 kB / 2.037 GB, free: 34.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008664/2.928, allocations: 183.8 kB / 2.037 GB, free: 34.12 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00132/2.93, allocations: 475.2 kB / 2.038 GB, free: 33.66 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.35e-05/2.93, allocations: 31.97 kB / 2.038 GB, free: 33.62 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001264/2.931, allocations: 0.9934 MB / 2.039 GB, free: 32.61 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/2.931, allocations: 4 kB / 2.039 GB, free: 32.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01176/2.943, allocations: 2.638 MB / 2.041 GB, free: 29.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009657/2.944, allocations: 414.8 kB / 2.042 GB, free: 29.47 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002433/2.944, allocations: 24 kB / 2.042 GB, free: 29.45 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001607/2.946, allocations: 171.7 kB / 2.042 GB, free: 29.28 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001361/2.946, allocations: 88.31 kB / 2.042 GB, free: 29.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.437e-05/2.946, allocations: 51.94 kB / 2.042 GB, free: 29.14 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00151/2.947, allocations: 1.011 MB / 2.043 GB, free: 28.14 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.3e-07/2.947, allocations: 4 kB / 2.043 GB, free: 28.13 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002537/2.95, allocations: 0.9902 MB / 2.044 GB, free: 27.14 MB / 0.948 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.001459/2.951, allocations: 0.8644 MB / 2.045 GB, free: 26.35 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.005399/2.957, allocations: 1.925 MB / 2.047 GB, free: 24.43 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/2.957, allocations: 0 / 2.047 GB, free: 24.43 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001649/2.959, allocations: 0.6239 MB / 2.047 GB, free: 23.81 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004177/2.963, allocations: 0.8287 MB / 2.048 GB, free: 23 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005382/2.968, allocations: 3.432 MB / 2.051 GB, free: 19.48 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005946/2.969, allocations: 1.262 MB / 2.053 GB, free: 18.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002006/2.971, allocations: 404.6 kB / 2.053 GB, free: 17.79 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000364/2.971, allocations: 139.3 kB / 2.053 GB, free: 17.66 MB / 0.948 GB Notification: Performance of SimCode: time 7.72e-07/2.971, allocations: 8 kB / 2.053 GB, free: 17.65 MB / 0.948 GB Notification: Performance of Templates: time 0.06214/3.033, allocations: 42.35 MB / 2.095 GB, free: 7.738 MB / 0.9792 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe 2>&1)