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.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4-maint.8.1.x/package.mo): time 1.587/1.587, allocations: 289.9 MB / 297.4 MB, free: 6.348 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.001031/0.00103, allocations: 172.9 kB / 366.7 MB, free: 1.637 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.598/1.598, allocations: 205.2 MB / 0.626 GB, free: 7.168 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.001129/0.001129, allocations: 85.55 kB / 0.74 GB, free: 39.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.136e-05/2.137e-05, allocations: 8 kB / 0.8597 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7185/0.7186, allocations: 116.3 MB / 0.9732 GB, free: 76.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.07/1.789, allocations: 423.3 MB / 1.387 GB, free: 133.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000287/1.789, allocations: 93.97 kB / 1.387 GB, free: 133.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.714/3.503, allocations: 0.5473 GB / 1.934 GB, free: 58.55 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.593e-06/3.503, allocations: 0 / 1.934 GB, free: 58.55 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001527/3.503, allocations: 51.92 kB / 1.934 GB, free: 58.5 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.004054/3.507, allocations: 1.972 MB / 1.936 GB, free: 56.46 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/3.507, allocations: 8.031 kB / 1.936 GB, free: 56.46 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004465/3.512, allocations: 0.6883 MB / 1.937 GB, free: 55.77 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003465/3.515, allocations: 1.846 MB / 1.938 GB, free: 53.86 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001146/3.516, allocations: 92.34 kB / 1.939 GB, free: 53.77 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000172/3.516, allocations: 84 kB / 1.939 GB, free: 53.68 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001987/3.518, allocations: 1.153 MB / 1.94 GB, free: 52.53 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002097/3.52, allocations: 1.431 MB / 1.941 GB, free: 51 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.45e-05/3.52, allocations: 11.94 kB / 1.941 GB, free: 50.99 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001267/3.52, allocations: 4 kB / 1.941 GB, free: 50.98 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.612e-05/3.52, allocations: 36 kB / 1.941 GB, free: 50.95 MB / 0.948 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.009391/3.529, allocations: 7.075 MB / 1.948 GB, free: 43.57 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009129/3.53, allocations: 0.6651 MB / 1.949 GB, free: 42.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004395/3.531, allocations: 379.1 kB / 1.949 GB, free: 42.53 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001042/3.532, allocations: 1.267 MB / 1.95 GB, free: 40.98 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/3.532, allocations: 47.34 kB / 1.95 GB, free: 40.93 MB / 0.948 GB Notification: Performance of pre-optimization done (n=77): time 3.076e-06/3.532, allocations: 0 / 1.95 GB, free: 40.93 MB / 0.948 GB Notification: Performance of matching and sorting (n=77): time 0.004197/3.536, allocations: 1.078 MB / 1.951 GB, free: 39.84 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/3.536, allocations: 196.7 kB / 1.952 GB, free: 39.61 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001288/3.538, allocations: 1.017 MB / 1.953 GB, free: 38.58 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001296/3.538, allocations: 41.69 kB / 1.953 GB, free: 38.54 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005538/3.538, allocations: 0.7725 MB / 1.953 GB, free: 37.75 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001979/3.538, allocations: 252.2 kB / 1.954 GB, free: 37.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.121e-05/3.538, allocations: 9.141 kB / 1.954 GB, free: 37.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.669e-05/3.539, allocations: 345.9 kB / 1.954 GB, free: 37.15 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004828/3.539, allocations: 350.6 kB / 1.954 GB, free: 36.81 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006072/3.54, allocations: 0.6565 MB / 1.955 GB, free: 36.03 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001755/3.541, allocations: 0.5157 MB / 1.955 GB, free: 35.51 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.523e-06/3.541, allocations: 0 / 1.955 GB, free: 35.51 MB / 0.948 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.004389/3.546, allocations: 1.359 MB / 1.957 GB, free: 34.14 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004656/3.546, allocations: 2.471 MB / 1.959 GB, free: 31.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/3.546, allocations: 4 kB / 1.959 GB, free: 31.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007345/3.547, allocations: 368.2 kB / 1.96 GB, free: 31.14 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001305/3.548, allocations: 271.5 kB / 1.96 GB, free: 30.88 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00105/3.549, allocations: 0.9594 MB / 1.961 GB, free: 29.89 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002434/3.552, allocations: 251 kB / 1.961 GB, free: 29.64 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/3.552, allocations: 59.94 kB / 1.961 GB, free: 29.59 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/3.552, allocations: 0 / 1.961 GB, free: 29.59 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004156/3.556, allocations: 1.187 MB / 1.962 GB, free: 28.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/3.556, allocations: 7.984 kB / 1.962 GB, free: 28.39 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000675/3.557, allocations: 359.5 kB / 1.963 GB, free: 28.04 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001259/3.558, allocations: 275.5 kB / 1.963 GB, free: 27.77 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001023/3.559, allocations: 0.9544 MB / 1.964 GB, free: 26.79 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002418/3.562, allocations: 219.1 kB / 1.964 GB, free: 26.57 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001299/3.562, allocations: 59.94 kB / 1.964 GB, free: 26.52 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 () * 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.0004517/3.562, allocations: 132.7 kB / 1.964 GB, free: 26.38 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002998/3.563, allocations: 134.4 kB / 1.964 GB, free: 26.25 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0044/3.567, allocations: 1.151 MB / 1.965 GB, free: 25.08 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-05/3.567, allocations: 8 kB / 1.965 GB, free: 25.07 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.218e-06/3.567, allocations: 256 / 1.965 GB, free: 25.07 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003583/3.571, allocations: 1.046 MB / 1.966 GB, free: 23.99 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007313/3.578, allocations: 2.885 MB / 1.969 GB, free: 21.01 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/3.578, allocations: 7.938 kB / 1.969 GB, free: 21 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009455/3.579, allocations: 172.2 kB / 1.969 GB, free: 20.83 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000648/3.58, allocations: 357.6 kB / 1.97 GB, free: 20.48 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.139e-05/3.58, allocations: 19.97 kB / 1.97 GB, free: 20.46 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001012/3.581, allocations: 0.9471 MB / 1.971 GB, free: 19.49 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.154e-06/3.581, allocations: 7.953 kB / 1.971 GB, free: 19.48 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01055/3.591, allocations: 2.435 MB / 1.973 GB, free: 16.93 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001201/3.593, allocations: 395.1 kB / 1.973 GB, free: 16.52 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002431/3.593, allocations: 12 kB / 1.974 GB, free: 16.51 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001645/3.594, allocations: 155.7 kB / 1.974 GB, free: 16.36 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001714/3.595, allocations: 84.33 kB / 1.974 GB, free: 16.27 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.655e-05/3.595, allocations: 43.95 kB / 1.974 GB, free: 16.23 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001254/3.596, allocations: 0.778 MB / 1.975 GB, free: 15.45 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.3e-07/3.596, allocations: 0 / 1.975 GB, free: 15.45 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003422/3.599, allocations: 1.025 MB / 1.976 GB, free: 14.42 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) * 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.001824/3.601, allocations: 0.8969 MB / 1.976 GB, free: 13.51 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002479/3.604, allocations: 1.424 MB / 1.978 GB, free: 12.09 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/3.604, allocations: 8.125 kB / 1.978 GB, free: 12.08 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007323/3.605, allocations: 476.6 kB / 1.978 GB, free: 11.62 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00288/3.607, allocations: 0.6063 MB / 1.979 GB, free: 11.02 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00457/3.612, allocations: 2.042 MB / 1.981 GB, free: 8.898 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007701/3.613, allocations: 1.306 MB / 1.982 GB, free: 7.562 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002208/3.615, allocations: 418.7 kB / 1.983 GB, free: 7.148 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002827/3.615, allocations: 111.3 kB / 1.983 GB, free: 7.039 MB / 0.948 GB Notification: Performance of SimCode: time 9.92e-07/3.615, allocations: 4 kB / 1.983 GB, free: 7.035 MB / 0.948 GB Notification: Performance of Templates: time 0.7141/4.329, allocations: 36 MB / 2.018 GB, free: 169.7 MB / 0.948 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)