Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.686/1.686, allocations: 288.2 MB / 303.2 MB, free: 8.125 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.00123/0.00123, allocations: 173.1 kB / 371.8 MB, free: 10.28 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.803/1.803, allocations: 205.4 MB / 0.6305 GB, free: 10.01 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.0009044/0.0009045, allocations: 101.1 kB / 0.7439 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004143/0.0004146, allocations: 11.78 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2536/0.254, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.103/1.357, allocations: 423 MB / 1.393 GB, free: 6.117 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002967/1.357, allocations: 100.9 kB / 1.393 GB, free: 6.062 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.46/3.817, allocations: 0.5518 GB / 1.944 GB, free: 181.1 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.663e-06/3.817, allocations: 0 / 1.944 GB, free: 181.1 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0003002/3.818, allocations: 43.83 kB / 1.944 GB, free: 181.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.007638/3.825, allocations: 2.256 MB / 1.947 GB, free: 179.5 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/3.825, allocations: 9.125 kB / 1.947 GB, free: 179.5 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008247/3.826, allocations: 204.4 kB / 1.947 GB, free: 179.3 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005588/3.832, allocations: 0.6948 MB / 1.948 GB, free: 179 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005371/3.837, allocations: 1.846 MB / 1.949 GB, free: 177.7 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002466/3.838, allocations: 147.4 kB / 1.95 GB, free: 177.6 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005987/3.838, allocations: 140.6 kB / 1.95 GB, free: 177.6 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005581/3.844, allocations: 1.803 MB / 1.951 GB, free: 176.4 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.306e-05/3.844, allocations: 0 / 1.951 GB, free: 176.4 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000314/3.844, allocations: 64.94 kB / 1.951 GB, free: 176.3 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.619e-05/3.844, allocations: 51.45 kB / 1.952 GB, free: 176.3 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005299/3.85, allocations: 1.573 MB / 1.953 GB, free: 175.6 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.01335/3.863, allocations: 7.372 MB / 1.96 GB, free: 169.5 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002399/3.865, allocations: 0.8516 MB / 1.961 GB, free: 169 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001254/3.867, allocations: 1.268 MB / 1.962 GB, free: 167.6 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.135e-05/3.867, allocations: 46.53 kB / 1.962 GB, free: 167.5 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=77): time 3.567e-06/3.867, allocations: 0 / 1.962 GB, free: 167.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=77): time 0.02547/3.892, allocations: 3.672 MB / 1.966 GB, free: 165.5 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.067e-05/3.892, allocations: 188.6 kB / 1.966 GB, free: 165.3 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00312/3.896, allocations: 1.328 MB / 1.967 GB, free: 163.9 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0003312/3.896, allocations: 49.7 kB / 1.967 GB, free: 163.9 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008738/3.897, allocations: 0.7609 MB / 1.968 GB, free: 163.1 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004245/3.897, allocations: 268.8 kB / 1.968 GB, free: 162.9 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/3.897, allocations: 23.94 kB / 1.969 GB, free: 162.8 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001363/3.897, allocations: 345.9 kB / 1.969 GB, free: 162.5 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002064/3.9, allocations: 0.5273 MB / 1.969 GB, free: 162 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002204/3.902, allocations: 0.8351 MB / 1.97 GB, free: 161 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002118/3.904, allocations: 0.578 MB / 1.971 GB, free: 160.5 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/3.904, allocations: 7.938 kB / 1.971 GB, free: 160.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.007199/3.911, allocations: 1.697 MB / 1.972 GB, free: 158.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007325/3.912, allocations: 2.504 MB / 1.975 GB, free: 156.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.249e-05/3.912, allocations: 7.219 kB / 1.975 GB, free: 156.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001784/3.914, allocations: 493.4 kB / 1.975 GB, free: 155.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001658/3.915, allocations: 268.4 kB / 1.976 GB, free: 155.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001545/3.917, allocations: 1.001 MB / 1.977 GB, free: 154.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003242/3.92, allocations: 300.4 kB / 1.977 GB, free: 154 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002833/3.921, allocations: 59.95 kB / 1.977 GB, free: 154 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/3.921, allocations: 4 kB / 1.977 GB, free: 154 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006782/3.927, allocations: 1.532 MB / 1.978 GB, free: 152.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.961e-05/3.927, allocations: 8 kB / 1.978 GB, free: 152.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001584/3.929, allocations: 486.2 kB / 1.979 GB, free: 152 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001629/3.931, allocations: 274 kB / 1.979 GB, free: 151.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00146/3.932, allocations: 0.9923 MB / 1.98 GB, free: 150.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002958/3.935, allocations: 273.3 kB / 1.98 GB, free: 150.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002444/3.935, allocations: 55.95 kB / 1.98 GB, free: 150.4 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.001364/3.937, allocations: 487.7 kB / 1.981 GB, free: 150 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006105/3.937, allocations: 157.8 kB / 1.981 GB, free: 149.8 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006235/3.944, allocations: 1.41 MB / 1.982 GB, free: 148.4 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-05/3.944, allocations: 8 kB / 1.982 GB, free: 148.4 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.894e-06/3.944, allocations: 0 / 1.982 GB, free: 148.4 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005471/3.949, allocations: 1.271 MB / 1.984 GB, free: 147.1 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01058/3.96, allocations: 3.308 MB / 1.987 GB, free: 143.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.896e-05/3.96, allocations: 4 kB / 1.987 GB, free: 143.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001068/3.961, allocations: 175.7 kB / 1.987 GB, free: 143.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00153/3.963, allocations: 474.7 kB / 1.988 GB, free: 143.1 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000118/3.963, allocations: 31.95 kB / 1.988 GB, free: 143 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0014/3.964, allocations: 0.9933 MB / 1.989 GB, free: 142 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.672e-06/3.964, allocations: 11.92 kB / 1.989 GB, free: 142 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01446/3.979, allocations: 2.867 MB / 1.991 GB, free: 138.9 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001574/3.98, allocations: 422.8 kB / 1.992 GB, free: 138.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007342/3.981, allocations: 31.59 kB / 1.992 GB, free: 138.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002446/3.983, allocations: 175.7 kB / 1.992 GB, free: 138.3 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002404/3.984, allocations: 80.34 kB / 1.992 GB, free: 138.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001788/3.984, allocations: 51.94 kB / 1.992 GB, free: 138.2 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.002309/3.986, allocations: 1.05 MB / 1.993 GB, free: 137.1 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.71e-07/3.986, allocations: 0 / 1.993 GB, free: 137.1 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004835/3.991, allocations: 1.041 MB / 1.994 GB, free: 136.1 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.01743/4.009, allocations: 5.103 MB / 1.999 GB, free: 130.9 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.007151/4.016, allocations: 1.929 MB / 2.001 GB, free: 129 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.317e-05/4.016, allocations: 4 kB / 2.001 GB, free: 129 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.00208/4.018, allocations: 0.6197 MB / 2.002 GB, free: 128.4 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004493/4.022, allocations: 0.8087 MB / 2.002 GB, free: 127.6 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03124/4.054, allocations: 14.46 MB / 2.016 GB, free: 112.7 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001212/4.055, allocations: 1.297 MB / 2.018 GB, free: 111.4 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002588/4.058, allocations: 387.9 kB / 2.018 GB, free: 111 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001186/4.059, allocations: 0.6476 MB / 2.019 GB, free: 110.3 MB / 0.9323 GB Notification: Performance of SimCode: time 1.353e-06/4.059, allocations: 0 / 2.019 GB, free: 110.3 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09641/4.155, allocations: 57.88 MB / 2.075 GB, free: 53.49 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001828/4.155, allocations: 290.3 kB / 2.076 GB, free: 53.13 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.305/8.461, allocations: 0 / 2.076 GB, free: 53.13 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_TemperatureProtection_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_TemperatureProtection.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe 2>&1)