Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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) 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 Buildings with version 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.711/1.711, allocations: 293 MB / 309 MB, free: 4.781 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00107/0.00107, allocations: 171.4 kB / 378.7 MB, free: 1.031 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.744/1.744, allocations: 205.4 MB / 0.6383 GB, free: 9.09 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009183/0.0009185, allocations: 88.06 kB / 0.7527 GB, free: 62.15 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004508/0.0004509, allocations: 12 kB / 0.8768 GB, free: 10.57 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.2842, allocations: 116.4 MB / 0.9904 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.541/1.825, allocations: 424.2 MB / 1.405 GB, free: 278.7 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003084/1.825, allocations: 100.5 kB / 1.405 GB, free: 278.7 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.581/3.407, allocations: 0.5432 GB / 1.948 GB, free: 128.1 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.654e-06/3.407, allocations: 0 / 1.948 GB, free: 128.1 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002394/3.407, allocations: 43.95 kB / 1.948 GB, free: 128.1 MB / 0.9323 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.00608/3.413, allocations: 2.237 MB / 1.95 GB, free: 126.5 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/3.413, allocations: 10.84 kB / 1.95 GB, free: 126.5 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004689/3.418, allocations: 0.6894 MB / 1.951 GB, free: 126.2 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004188/3.422, allocations: 1.863 MB / 1.953 GB, free: 124.8 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001629/3.422, allocations: 147.1 kB / 1.953 GB, free: 124.7 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003818/3.423, allocations: 143.2 kB / 1.953 GB, free: 124.6 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004061/3.427, allocations: 1.813 MB / 1.955 GB, free: 123.5 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.199e-05/3.427, allocations: 0 / 1.955 GB, free: 123.5 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001804/3.427, allocations: 67 kB / 1.955 GB, free: 123.4 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-05/3.427, allocations: 38.88 kB / 1.955 GB, free: 123.4 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00444/3.431, allocations: 1.579 MB / 1.956 GB, free: 122.1 MB / 0.9323 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.01144/3.443, allocations: 7.36 MB / 1.964 GB, free: 114.5 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002146/3.445, allocations: 0.8286 MB / 1.964 GB, free: 113.7 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001492/3.446, allocations: 0.5243 MB / 1.965 GB, free: 113.1 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001086/3.448, allocations: 1.266 MB / 1.966 GB, free: 111.6 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.228e-05/3.448, allocations: 51.16 kB / 1.966 GB, free: 111.5 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=77): time 3.476e-06/3.448, allocations: 4 kB / 1.966 GB, free: 111.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=77): time 0.02169/3.469, allocations: 3.692 MB / 1.97 GB, free: 107.8 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.029e-05/3.469, allocations: 188.6 kB / 1.97 GB, free: 107.6 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002608/3.472, allocations: 1.441 MB / 1.971 GB, free: 106.1 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0002434/3.472, allocations: 45.7 kB / 1.971 GB, free: 106.1 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005933/3.473, allocations: 0.7679 MB / 1.972 GB, free: 105.3 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002718/3.473, allocations: 263 kB / 1.972 GB, free: 105.1 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.966e-05/3.473, allocations: 20 kB / 1.972 GB, free: 105 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.244e-05/3.473, allocations: 345.9 kB / 1.973 GB, free: 104.7 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001694/3.475, allocations: 0.5289 MB / 1.973 GB, free: 104.2 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0019/3.477, allocations: 0.8361 MB / 1.974 GB, free: 103.2 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00313/3.48, allocations: 1.18 MB / 1.975 GB, free: 101.9 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/3.48, allocations: 0 / 1.975 GB, free: 101.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.006016/3.486, allocations: 1.704 MB / 1.977 GB, free: 100.2 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001394/3.486, allocations: 278.4 kB / 1.977 GB, free: 99.86 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/3.486, allocations: 8 kB / 1.977 GB, free: 99.86 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001561/3.488, allocations: 484.7 kB / 1.978 GB, free: 99.39 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001356/3.489, allocations: 267.5 kB / 1.978 GB, free: 99.13 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001338/3.491, allocations: 1.002 MB / 1.979 GB, free: 98.11 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00264/3.493, allocations: 298.6 kB / 1.979 GB, free: 97.81 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001798/3.494, allocations: 59.94 kB / 1.979 GB, free: 97.75 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 8.906e-06/3.494, allocations: 4 kB / 1.979 GB, free: 97.75 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005452/3.499, allocations: 1.531 MB / 1.981 GB, free: 96.21 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/3.499, allocations: 8 kB / 1.981 GB, free: 96.21 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001384/3.5, allocations: 498.2 kB / 1.981 GB, free: 95.73 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001243/3.502, allocations: 267.6 kB / 1.981 GB, free: 95.47 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001281/3.503, allocations: 1.001 MB / 1.982 GB, free: 94.44 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002501/3.506, allocations: 262.8 kB / 1.983 GB, free: 94.18 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001752/3.506, allocations: 51.95 kB / 1.983 GB, free: 94.13 MB / 0.9323 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.001166/3.507, allocations: 493.5 kB / 1.983 GB, free: 93.64 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000476/3.507, allocations: 154.1 kB / 1.983 GB, free: 93.49 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005347/3.513, allocations: 1.414 MB / 1.985 GB, free: 92.06 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.721e-05/3.513, allocations: 11.94 kB / 1.985 GB, free: 92.05 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/3.513, allocations: 0 / 1.985 GB, free: 92.05 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004698/3.517, allocations: 1.266 MB / 1.986 GB, free: 90.75 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00893/3.526, allocations: 3.296 MB / 1.989 GB, free: 87.36 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-05/3.526, allocations: 0 / 1.989 GB, free: 87.36 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009195/3.527, allocations: 175.8 kB / 1.989 GB, free: 87.19 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001432/3.529, allocations: 482.6 kB / 1.99 GB, free: 86.73 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001125/3.529, allocations: 31.64 kB / 1.99 GB, free: 86.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001259/3.53, allocations: 0.9895 MB / 1.991 GB, free: 85.68 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/3.53, allocations: 7.938 kB / 1.991 GB, free: 85.68 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01219/3.542, allocations: 2.641 MB / 1.993 GB, free: 82.96 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001453/3.544, allocations: 414.7 kB / 1.994 GB, free: 82.54 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006705/3.545, allocations: 23.98 kB / 1.994 GB, free: 82.52 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002113/3.547, allocations: 167.8 kB / 1.994 GB, free: 82.35 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001835/3.547, allocations: 88.33 kB / 1.994 GB, free: 82.27 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001369/3.547, allocations: 51.94 kB / 1.994 GB, free: 82.21 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.002112/3.549, allocations: 1.011 MB / 1.995 GB, free: 81.21 MB / 0.9323 GB Notification: Performance of sort global known variables: time 5.11e-07/3.549, allocations: 0 / 1.995 GB, free: 81.21 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003953/3.553, allocations: 0.994 MB / 1.996 GB, free: 80.21 MB / 0.9323 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.002058/3.555, allocations: 0.8554 MB / 1.997 GB, free: 79.43 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.005817/3.561, allocations: 1.921 MB / 1.999 GB, free: 77.5 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/3.561, allocations: 0 / 1.999 GB, free: 77.5 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001693/3.563, allocations: 0.6239 MB / 1.999 GB, free: 76.88 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004794/3.568, allocations: 0.8174 MB / 2 GB, free: 76.07 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006295/3.574, allocations: 3.439 MB / 2.004 GB, free: 72.55 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007558/3.575, allocations: 1.266 MB / 2.005 GB, free: 71.26 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002118/3.577, allocations: 391.1 kB / 2.005 GB, free: 70.88 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004144/3.577, allocations: 143.3 kB / 2.005 GB, free: 70.74 MB / 0.9323 GB Notification: Performance of SimCode: time 5.71e-07/3.577, allocations: 0 / 2.005 GB, free: 70.74 MB / 0.9323 GB Notification: Performance of Templates: time 0.06096/3.638, allocations: 42.37 MB / 2.047 GB, free: 28.68 MB / 0.9323 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe 2>&1)