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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.662/1.662, allocations: 289.9 MB / 297.4 MB, free: 6.402 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.001041/0.001041, allocations: 184.8 kB / 366.7 MB, free: 1.688 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.761/1.761, allocations: 205.2 MB / 0.626 GB, free: 7.188 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.0008593/0.0008591, allocations: 82.53 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.192e-05/2.195e-05, allocations: 4 kB / 0.8598 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9009/0.901, allocations: 116.3 MB / 0.9733 GB, free: 76.29 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.359/2.26, allocations: 423.3 MB / 1.387 GB, free: 133.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003221/2.261, allocations: 90.98 kB / 1.387 GB, free: 133.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.755/4.015, allocations: 0.5473 GB / 1.934 GB, free: 58.21 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.383e-06/4.015, allocations: 0 / 1.934 GB, free: 58.21 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001542/4.016, allocations: 43.94 kB / 1.934 GB, free: 58.17 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.003836/4.019, allocations: 1.971 MB / 1.936 GB, free: 56.14 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/4.019, allocations: 12.02 kB / 1.936 GB, free: 56.12 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004697/4.024, allocations: 0.6844 MB / 1.937 GB, free: 55.44 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003445/4.028, allocations: 1.861 MB / 1.939 GB, free: 53.52 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001064/4.028, allocations: 92.34 kB / 1.939 GB, free: 53.42 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001785/4.028, allocations: 80 kB / 1.939 GB, free: 53.34 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002078/4.03, allocations: 1.149 MB / 1.94 GB, free: 52.19 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002198/4.032, allocations: 1.432 MB / 1.941 GB, free: 50.66 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.459e-05/4.032, allocations: 7.938 kB / 1.941 GB, free: 50.66 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001308/4.032, allocations: 4 kB / 1.941 GB, free: 50.65 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.211e-05/4.033, allocations: 43.98 kB / 1.941 GB, free: 50.61 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.009488/4.042, allocations: 7.075 MB / 1.948 GB, free: 43.23 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009983/4.043, allocations: 0.6651 MB / 1.949 GB, free: 42.56 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004819/4.044, allocations: 384.6 kB / 1.949 GB, free: 42.18 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001124/4.045, allocations: 1.267 MB / 1.95 GB, free: 40.64 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/4.045, allocations: 47.34 kB / 1.951 GB, free: 40.58 MB / 0.948 GB Notification: Performance of pre-optimization done (n=77): time 4.038e-06/4.045, allocations: 0 / 1.951 GB, free: 40.58 MB / 0.948 GB Notification: Performance of matching and sorting (n=77): time 0.004478/4.049, allocations: 1.078 MB / 1.952 GB, free: 39.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.794e-05/4.049, allocations: 192.7 kB / 1.952 GB, free: 39.27 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001476/4.051, allocations: 1.021 MB / 1.953 GB, free: 38.24 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001722/4.051, allocations: 37.7 kB / 1.953 GB, free: 38.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006832/4.052, allocations: 0.7698 MB / 1.954 GB, free: 37.42 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002354/4.052, allocations: 252.2 kB / 1.954 GB, free: 37.17 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.517e-05/4.052, allocations: 3.938 kB / 1.954 GB, free: 37.16 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.747e-05/4.052, allocations: 345.9 kB / 1.954 GB, free: 36.82 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005048/4.053, allocations: 354.5 kB / 1.954 GB, free: 36.47 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006735/4.053, allocations: 0.6504 MB / 1.955 GB, free: 35.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001955/4.055, allocations: 0.5197 MB / 1.956 GB, free: 35.18 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/4.055, allocations: 0 / 1.956 GB, free: 35.18 MB / 0.948 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.004723/4.06, allocations: 1.359 MB / 1.957 GB, free: 33.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005753/4.061, allocations: 2.472 MB / 1.959 GB, free: 31.17 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/4.061, allocations: 4 kB / 1.959 GB, free: 31.16 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007864/4.061, allocations: 376.6 kB / 1.96 GB, free: 30.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001381/4.063, allocations: 279.7 kB / 1.96 GB, free: 30.52 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001091/4.064, allocations: 0.9549 MB / 1.961 GB, free: 29.54 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002659/4.067, allocations: 258.9 kB / 1.961 GB, free: 29.29 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001266/4.067, allocations: 55.95 kB / 1.961 GB, free: 29.23 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/4.067, allocations: 4 kB / 1.961 GB, free: 29.23 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004502/4.071, allocations: 1.186 MB / 1.962 GB, free: 28.04 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/4.071, allocations: 7.938 kB / 1.962 GB, free: 28.04 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006927/4.072, allocations: 359.1 kB / 1.963 GB, free: 27.68 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001307/4.073, allocations: 267.6 kB / 1.963 GB, free: 27.42 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001072/4.074, allocations: 0.9544 MB / 1.964 GB, free: 26.44 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002408/4.077, allocations: 219.1 kB / 1.964 GB, free: 26.23 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001227/4.077, allocations: 55.95 kB / 1.964 GB, free: 26.17 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.0003778/4.077, allocations: 140.7 kB / 1.964 GB, free: 26.03 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004383/4.082, allocations: 1.065 MB / 1.965 GB, free: 24.95 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004049/4.082, allocations: 146.3 kB / 1.965 GB, free: 24.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004626/4.087, allocations: 1.143 MB / 1.967 GB, free: 23.64 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.487e-05/4.087, allocations: 8 kB / 1.967 GB, free: 23.64 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/4.087, allocations: 3.984 kB / 1.967 GB, free: 23.63 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003834/4.091, allocations: 1.035 MB / 1.968 GB, free: 22.57 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009122/4.1, allocations: 2.885 MB / 1.97 GB, free: 19.59 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.458e-05/4.1, allocations: 4 kB / 1.97 GB, free: 19.58 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001059/4.101, allocations: 180.1 kB / 1.971 GB, free: 19.41 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007368/4.102, allocations: 354.2 kB / 1.971 GB, free: 19.06 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.782e-05/4.102, allocations: 20.09 kB / 1.971 GB, free: 19.04 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001181/4.103, allocations: 0.9371 MB / 1.972 GB, free: 18.08 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.564e-06/4.103, allocations: 12 kB / 1.972 GB, free: 18.07 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01174/4.115, allocations: 2.443 MB / 1.974 GB, free: 15.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001353/4.116, allocations: 402.9 kB / 1.975 GB, free: 15.09 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006148/4.117, allocations: 8 kB / 1.975 GB, free: 15.08 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002253/4.119, allocations: 155.8 kB / 1.975 GB, free: 14.93 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000207/4.119, allocations: 76.39 kB / 1.975 GB, free: 14.86 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001768/4.12, allocations: 55.89 kB / 1.975 GB, free: 14.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001582/4.121, allocations: 0.7703 MB / 1.976 GB, free: 14.03 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/4.121, allocations: 4 kB / 1.976 GB, free: 14.02 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005377/4.127, allocations: 1.025 MB / 1.977 GB, free: 13 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.01467/4.141, allocations: 4.707 MB / 1.981 GB, free: 8.156 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003291/4.145, allocations: 1.431 MB / 1.983 GB, free: 6.734 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.988e-06/4.145, allocations: 448 / 1.983 GB, free: 6.734 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009212/4.145, allocations: 472.6 kB / 1.983 GB, free: 6.273 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003828/4.149, allocations: 0.5983 MB / 1.984 GB, free: 5.684 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008947/4.158, allocations: 2.439 MB / 1.986 GB, free: 3.141 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001098/4.159, allocations: 1.298 MB / 1.987 GB, free: 1.812 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002714/4.162, allocations: 430.6 kB / 1.988 GB, free: 1.387 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008506/4.163, allocations: 0.6007 MB / 1.988 GB, free: 0.7852 MB / 0.948 GB Notification: Performance of SimCode: time 1.342e-06/4.163, allocations: 0 / 1.988 GB, free: 0.7852 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8341/4.997, allocations: 48.87 MB / 2.036 GB, free: 169.3 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000229/4.998, allocations: 199.8 kB / 2.036 GB, free: 169 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.76/8.758, allocations: 0 / 2.036 GB, free: 169 MB / 0.948 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_TemperatureProtection_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_TemperatureProtection.fmu > Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe 2>&1)