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.576/1.576, allocations: 285.4 MB / 298 MB, free: 5.922 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.001563/0.001563, allocations: 192.8 kB / 366.4 MB, free: 2.066 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.823/1.823, allocations: 205.1 MB / 0.6248 GB, free: 7.738 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.001035/0.001035, allocations: 93.12 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.871e-05/4.881e-05, allocations: 8 kB / 0.8584 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8754/0.8755, allocations: 115.3 MB / 0.971 GB, free: 77.88 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.255/2.131, allocations: 423 MB / 1.384 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002618/2.131, allocations: 93.52 kB / 1.384 GB, free: 137.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.887/4.018, allocations: 0.55 GB / 1.934 GB, free: 60.38 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.293e-06/4.018, allocations: 0 / 1.934 GB, free: 60.38 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000154/4.018, allocations: 47.92 kB / 1.934 GB, free: 60.33 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.003842/4.022, allocations: 1.971 MB / 1.936 GB, free: 58.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/4.022, allocations: 12.03 kB / 1.936 GB, free: 58.29 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002014/4.023, allocations: 198.5 kB / 1.936 GB, free: 58.09 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00439/4.027, allocations: 0.6883 MB / 1.937 GB, free: 57.39 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003312/4.03, allocations: 1.854 MB / 1.939 GB, free: 55.48 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000128/4.03, allocations: 140.3 kB / 1.939 GB, free: 55.34 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000205/4.031, allocations: 136 kB / 1.939 GB, free: 55.21 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002455/4.033, allocations: 1.629 MB / 1.941 GB, free: 53.48 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.132e-05/4.033, allocations: 3.938 kB / 1.941 GB, free: 53.48 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001386/4.033, allocations: 59.98 kB / 1.941 GB, free: 53.42 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-05/4.033, allocations: 43.98 kB / 1.941 GB, free: 53.38 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001835/4.035, allocations: 1.236 MB / 1.942 GB, free: 52.13 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.009412/4.045, allocations: 7.386 MB / 1.949 GB, free: 44.44 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001128/4.046, allocations: 0.6946 MB / 1.95 GB, free: 43.73 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005429/4.046, allocations: 410.3 kB / 1.95 GB, free: 43.34 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001132/4.047, allocations: 1.267 MB / 1.951 GB, free: 41.79 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.719e-05/4.048, allocations: 47.34 kB / 1.952 GB, free: 41.73 MB / 0.948 GB Notification: Performance of pre-optimization done (n=77): time 3.066e-06/4.048, allocations: 0 / 1.952 GB, free: 41.73 MB / 0.948 GB Notification: Performance of matching and sorting (n=77): time 0.003381/4.051, allocations: 1.027 MB / 1.953 GB, free: 40.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/4.051, allocations: 188.7 kB / 1.953 GB, free: 40.47 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001928/4.053, allocations: 1.28 MB / 1.954 GB, free: 39.19 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001566/4.053, allocations: 54.84 kB / 1.954 GB, free: 39.13 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006279/4.054, allocations: 0.7664 MB / 1.955 GB, free: 38.35 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002328/4.054, allocations: 264.2 kB / 1.955 GB, free: 38.09 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.323e-05/4.054, allocations: 20 kB / 1.955 GB, free: 38.07 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.368e-05/4.054, allocations: 345.9 kB / 1.955 GB, free: 37.73 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005656/4.055, allocations: 365.9 kB / 1.956 GB, free: 37.37 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007409/4.056, allocations: 0.6738 MB / 1.956 GB, free: 36.57 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006406/4.056, allocations: 412 kB / 1.957 GB, free: 36.16 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/4.056, allocations: 4 kB / 1.957 GB, free: 36.16 MB / 0.948 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00365/4.06, allocations: 1.339 MB / 1.958 GB, free: 34.81 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005258/4.06, allocations: 2.503 MB / 1.961 GB, free: 32.07 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/4.06, allocations: 8 kB / 1.961 GB, free: 32.06 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001266/4.062, allocations: 425.8 kB / 1.961 GB, free: 31.64 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001359/4.063, allocations: 267.6 kB / 1.961 GB, free: 31.38 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009043/4.064, allocations: 0.9048 MB / 1.962 GB, free: 30.45 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002756/4.067, allocations: 306.5 kB / 1.962 GB, free: 30.15 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001236/4.067, allocations: 55.95 kB / 1.962 GB, free: 30.09 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/4.067, allocations: 4 kB / 1.962 GB, free: 30.09 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00323/4.07, allocations: 1.159 MB / 1.964 GB, free: 28.93 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/4.07, allocations: 8 kB / 1.964 GB, free: 28.92 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001107/4.071, allocations: 419.5 kB / 1.964 GB, free: 28.51 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001269/4.073, allocations: 271.6 kB / 1.964 GB, free: 28.25 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007921/4.073, allocations: 0.8998 MB / 1.965 GB, free: 27.32 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002458/4.076, allocations: 270.7 kB / 1.965 GB, free: 27.05 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/4.076, allocations: 59.94 kB / 1.965 GB, free: 27 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.0003405/4.076, allocations: 166.8 kB / 1.966 GB, free: 26.83 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003059/4.077, allocations: 154.1 kB / 1.966 GB, free: 26.68 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003352/4.08, allocations: 1.114 MB / 1.967 GB, free: 25.54 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-05/4.08, allocations: 15.95 kB / 1.967 GB, free: 25.53 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/4.08, allocations: 0 / 1.967 GB, free: 25.53 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002621/4.083, allocations: 0.9605 MB / 1.968 GB, free: 24.53 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006006/4.089, allocations: 3.02 MB / 1.971 GB, free: 21.39 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/4.089, allocations: 8.062 kB / 1.971 GB, free: 21.39 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000965/4.09, allocations: 167.8 kB / 1.971 GB, free: 21.22 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001105/4.091, allocations: 418 kB / 1.971 GB, free: 20.81 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.263e-05/4.091, allocations: 31.97 kB / 1.971 GB, free: 20.78 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007553/4.092, allocations: 0.8966 MB / 1.972 GB, free: 19.86 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/4.092, allocations: 7.938 kB / 1.972 GB, free: 19.85 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009257/4.101, allocations: 2.437 MB / 1.975 GB, free: 17.21 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00101/4.102, allocations: 422.7 kB / 1.975 GB, free: 16.78 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002197/4.102, allocations: 24 kB / 1.975 GB, free: 16.75 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001652/4.104, allocations: 163.9 kB / 1.975 GB, free: 16.59 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001527/4.104, allocations: 84.34 kB / 1.975 GB, free: 16.51 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-05/4.104, allocations: 51.94 kB / 1.975 GB, free: 16.46 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001401/4.106, allocations: 1.006 MB / 1.976 GB, free: 15.46 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.9e-07/4.106, allocations: 0 / 1.976 GB, free: 15.46 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002883/4.108, allocations: 1.037 MB / 1.977 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.01148/4.12, allocations: 4.68 MB / 1.982 GB, free: 9.609 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002657/4.123, allocations: 1.519 MB / 1.983 GB, free: 8.094 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.426e-06/4.123, allocations: 4 kB / 1.983 GB, free: 8.09 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007427/4.123, allocations: 0.4908 MB / 1.984 GB, free: 7.598 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00377/4.127, allocations: 0.7957 MB / 1.985 GB, free: 6.809 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00567/4.133, allocations: 2.54 MB / 1.987 GB, free: 4.172 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006571/4.133, allocations: 1.304 MB / 1.988 GB, free: 2.84 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002187/4.136, allocations: 488.5 kB / 1.989 GB, free: 2.355 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007514/4.136, allocations: 0.6203 MB / 1.989 GB, free: 1.734 MB / 0.948 GB Notification: Performance of SimCode: time 1.022e-06/4.136, allocations: 0 / 1.989 GB, free: 1.734 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7064/4.843, allocations: 60.27 MB / 2.048 GB, free: 169.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001656/4.843, allocations: 252.2 kB / 2.049 GB, free: 168.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.05/8.893, allocations: 0 / 2.049 GB, free: 168.8 MB / 0.948 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)