Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.534/2.534, allocations: 287.5 MB / 303.2 MB, free: 8.164 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.00146/0.00146, allocations: 185 kB / 371.8 MB, free: 10.77 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.022/2.022, allocations: 205.4 MB / 0.6305 GB, free: 10.54 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009187/0.0009186, allocations: 97.42 kB / 0.7438 GB, free: 6.531 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005151/0.0005152, allocations: 11.95 kB / 0.8667 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.221/0.2216, allocations: 115.3 MB / 0.9793 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.308/1.53, allocations: 422.9 MB / 1.392 GB, free: 7.316 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003647/1.53, allocations: 107 kB / 1.392 GB, free: 7.262 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.121/4.651, allocations: 0.5432 GB / 1.936 GB, free: 186.3 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.906e-06/4.651, allocations: 0 / 1.936 GB, free: 186.3 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002758/4.652, allocations: 51.66 kB / 1.936 GB, free: 186.2 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.008034/4.66, allocations: 2.23 MB / 1.938 GB, free: 184.7 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/4.66, allocations: 11 kB / 1.938 GB, free: 184.7 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00912/4.669, allocations: 0.6908 MB / 1.939 GB, free: 184.4 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005594/4.675, allocations: 1.864 MB / 1.94 GB, free: 183.1 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001976/4.675, allocations: 138.4 kB / 1.941 GB, free: 183 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004341/4.675, allocations: 140.4 kB / 1.941 GB, free: 182.9 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00713/4.682, allocations: 1.817 MB / 1.942 GB, free: 181.8 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.582e-05/4.682, allocations: 3.938 kB / 1.942 GB, free: 181.8 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002788/4.683, allocations: 59.66 kB / 1.942 GB, free: 181.7 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.024e-05/4.683, allocations: 49.05 kB / 1.943 GB, free: 181.7 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009057/4.692, allocations: 1.577 MB / 1.944 GB, free: 180.9 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.01795/4.71, allocations: 7.344 MB / 1.951 GB, free: 174.9 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004249/4.714, allocations: 0.8814 MB / 1.952 GB, free: 174.4 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00323/4.717, allocations: 0.5466 MB / 1.953 GB, free: 174.2 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001695/4.719, allocations: 1.283 MB / 1.954 GB, free: 172.7 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.188e-05/4.719, allocations: 45.12 kB / 1.954 GB, free: 172.7 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=81): time 4.689e-06/4.719, allocations: 0 / 1.954 GB, free: 172.7 MB / 0.9323 GB Notification: Performance of matching and sorting (n=81): time 0.04832/4.768, allocations: 3.728 MB / 1.958 GB, free: 171 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.217e-05/4.768, allocations: 195.4 kB / 1.958 GB, free: 170.7 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00341/4.771, allocations: 1.421 MB / 1.959 GB, free: 169.9 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0003707/4.772, allocations: 56.41 kB / 1.959 GB, free: 169.9 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008456/4.773, allocations: 0.746 MB / 1.96 GB, free: 169.2 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004211/4.773, allocations: 280.4 kB / 1.96 GB, free: 169 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/4.773, allocations: 19.16 kB / 1.96 GB, free: 169 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.469e-05/4.773, allocations: 341.8 kB / 1.961 GB, free: 168.7 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003616/4.777, allocations: 0.5191 MB / 1.961 GB, free: 168.4 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003964/4.781, allocations: 0.8515 MB / 1.962 GB, free: 167.8 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006741/4.788, allocations: 1.186 MB / 1.963 GB, free: 167.1 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-05/4.788, allocations: 3.281 kB / 1.963 GB, free: 167.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.01252/4.8, allocations: 1.694 MB / 1.965 GB, free: 166.2 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001986/4.8, allocations: 277.4 kB / 1.965 GB, free: 165.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.636e-05/4.8, allocations: 7.281 kB / 1.965 GB, free: 165.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0028/4.803, allocations: 487.5 kB / 1.965 GB, free: 165.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002826/4.806, allocations: 265.8 kB / 1.966 GB, free: 165.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002635/4.809, allocations: 1.008 MB / 1.967 GB, free: 164.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004792/4.814, allocations: 287.1 kB / 1.967 GB, free: 164.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000382/4.814, allocations: 59.22 kB / 1.967 GB, free: 164.7 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/4.814, allocations: 3.875 kB / 1.967 GB, free: 164.7 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01194/4.826, allocations: 1.532 MB / 1.968 GB, free: 164 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.129e-05/4.826, allocations: 7 kB / 1.969 GB, free: 164 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002773/4.829, allocations: 486.8 kB / 1.969 GB, free: 163.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00279/4.832, allocations: 268.6 kB / 1.969 GB, free: 163.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002556/4.834, allocations: 1.001 MB / 1.97 GB, free: 162.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004312/4.839, allocations: 262.1 kB / 1.97 GB, free: 162.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002595/4.839, allocations: 58.25 kB / 1.971 GB, free: 162 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.001264/4.84, allocations: 481.7 kB / 1.971 GB, free: 161.6 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005236/4.841, allocations: 154.1 kB / 1.971 GB, free: 161.4 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01066/4.852, allocations: 1.526 MB / 1.973 GB, free: 159.9 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-05/4.852, allocations: 8 kB / 1.973 GB, free: 159.9 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.886e-06/4.852, allocations: 4 kB / 1.973 GB, free: 159.9 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009804/4.861, allocations: 1.292 MB / 1.974 GB, free: 158.6 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01292/4.874, allocations: 3.283 MB / 1.977 GB, free: 155.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-05/4.874, allocations: 4 kB / 1.977 GB, free: 155.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002018/4.876, allocations: 182.8 kB / 1.977 GB, free: 155 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002616/4.879, allocations: 476.7 kB / 1.978 GB, free: 154.6 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001721/4.879, allocations: 39.89 kB / 1.978 GB, free: 154.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002459/4.882, allocations: 0.9928 MB / 1.979 GB, free: 153.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.164e-06/4.882, allocations: 4 kB / 1.979 GB, free: 153.5 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01096/4.893, allocations: 2.123 MB / 1.981 GB, free: 151.3 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001475/4.894, allocations: 414.8 kB / 1.981 GB, free: 150.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004949/4.895, allocations: 27.94 kB / 1.981 GB, free: 150.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003765/4.899, allocations: 179.7 kB / 1.981 GB, free: 150.7 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002957/4.899, allocations: 84.33 kB / 1.981 GB, free: 150.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002038/4.899, allocations: 47.94 kB / 1.982 GB, free: 150.6 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.002643/4.902, allocations: 1.007 MB / 1.983 GB, free: 149.6 MB / 0.9323 GB Notification: Performance of sort global known variables: time 9.41e-07/4.902, allocations: 0 / 1.983 GB, free: 149.6 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004538/4.906, allocations: 0.998 MB / 1.983 GB, free: 148.6 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (61): * Single equations (assignments): 58 * 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.002445/4.909, allocations: 0.8557 MB / 1.984 GB, free: 147.8 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.01166/4.921, allocations: 1.926 MB / 1.986 GB, free: 145.9 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-05/4.921, allocations: 4 kB / 1.986 GB, free: 145.9 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.003575/4.924, allocations: 0.6397 MB / 1.987 GB, free: 145.3 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008546/4.933, allocations: 0.8298 MB / 1.988 GB, free: 144.5 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01034/4.943, allocations: 3.463 MB / 1.991 GB, free: 140.9 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008938/4.944, allocations: 1.262 MB / 1.992 GB, free: 139.6 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.003291/4.948, allocations: 395.6 kB / 1.993 GB, free: 139.3 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007021/4.948, allocations: 143.3 kB / 1.993 GB, free: 139.1 MB / 0.9323 GB Notification: Performance of SimCode: time 1.342e-06/4.948, allocations: 0 / 1.993 GB, free: 139.1 MB / 0.9323 GB Notification: Performance of Templates: time 0.09686/5.045, allocations: 42.21 MB / 2.034 GB, free: 97.95 MB / 0.9323 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe 2>&1)