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.623/1.623, allocations: 285.6 MB / 293.1 MB, free: 10.21 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.001122/0.001122, allocations: 176.9 kB / 361.4 MB, free: 6.805 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.822/1.822, allocations: 205.2 MB / 0.62 GB, free: 11.62 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.0009577/0.0009576, allocations: 94.67 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.892e-05/2.895e-05, allocations: 7.984 kB / 0.8518 GB, free: 2.629 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8735/0.8736, allocations: 115.3 MB / 0.9644 GB, free: 78.76 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.37/2.244, allocations: 422.3 MB / 1.377 GB, free: 145.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002925/2.244, allocations: 90.52 kB / 1.377 GB, free: 145.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.846/4.091, allocations: 0.5473 GB / 1.924 GB, free: 43.12 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.194e-06/4.091, allocations: 4 kB / 1.924 GB, free: 43.12 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001583/4.091, allocations: 43.98 kB / 1.924 GB, free: 43.07 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.004332/4.095, allocations: 1.978 MB / 1.926 GB, free: 41.04 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/4.095, allocations: 8.031 kB / 1.926 GB, free: 41.03 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00503/4.1, allocations: 0.6883 MB / 1.927 GB, free: 40.34 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004157/4.104, allocations: 1.846 MB / 1.929 GB, free: 38.43 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001238/4.105, allocations: 92.34 kB / 1.929 GB, free: 38.34 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002373/4.105, allocations: 83.94 kB / 1.929 GB, free: 38.25 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002166/4.107, allocations: 1.153 MB / 1.93 GB, free: 37.1 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00233/4.109, allocations: 1.431 MB / 1.931 GB, free: 35.57 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.893e-05/4.109, allocations: 7.938 kB / 1.931 GB, free: 35.56 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001433/4.11, allocations: 0 / 1.931 GB, free: 35.56 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-05/4.11, allocations: 43.98 kB / 1.931 GB, free: 35.52 MB / 0.9323 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.01081/4.12, allocations: 7.084 MB / 1.938 GB, free: 28.13 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009892/4.121, allocations: 0.6655 MB / 1.939 GB, free: 27.46 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004853/4.122, allocations: 383 kB / 1.939 GB, free: 27.08 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001118/4.123, allocations: 1.271 MB / 1.941 GB, free: 25.54 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.157e-05/4.123, allocations: 44.55 kB / 1.941 GB, free: 25.48 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=77): time 3.436e-06/4.123, allocations: 0 / 1.941 GB, free: 25.48 MB / 0.9323 GB Notification: Performance of matching and sorting (n=77): time 0.004656/4.128, allocations: 1.078 MB / 1.942 GB, free: 24.39 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.576e-05/4.128, allocations: 192.7 kB / 1.942 GB, free: 24.16 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001665/4.13, allocations: 1.021 MB / 1.943 GB, free: 23.14 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.000261/4.13, allocations: 37.7 kB / 1.943 GB, free: 23.09 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007207/4.131, allocations: 0.7725 MB / 1.944 GB, free: 22.31 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002803/4.131, allocations: 252.2 kB / 1.944 GB, free: 22.06 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.53e-05/4.131, allocations: 0 / 1.944 GB, free: 22.06 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001/4.131, allocations: 345.9 kB / 1.944 GB, free: 21.72 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005905/4.132, allocations: 358.5 kB / 1.945 GB, free: 21.37 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00068/4.132, allocations: 0.6481 MB / 1.945 GB, free: 20.59 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002071/4.134, allocations: 0.5197 MB / 1.946 GB, free: 20.07 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.814e-06/4.134, allocations: 0 / 1.946 GB, free: 20.07 MB / 0.9323 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.004969/4.139, allocations: 1.355 MB / 1.947 GB, free: 18.71 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004948/4.14, allocations: 2.479 MB / 1.95 GB, free: 16.07 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/4.14, allocations: 4 kB / 1.95 GB, free: 16.06 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007906/4.141, allocations: 362.1 kB / 1.95 GB, free: 15.71 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001442/4.142, allocations: 267.6 kB / 1.95 GB, free: 15.45 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00119/4.143, allocations: 0.9645 MB / 1.951 GB, free: 14.46 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002781/4.146, allocations: 251 kB / 1.951 GB, free: 14.21 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001936/4.146, allocations: 59.89 kB / 1.951 GB, free: 14.15 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/4.146, allocations: 4 kB / 1.951 GB, free: 14.15 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004733/4.151, allocations: 1.19 MB / 1.953 GB, free: 12.95 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/4.151, allocations: 8 kB / 1.953 GB, free: 12.95 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007522/4.152, allocations: 360.8 kB / 1.953 GB, free: 12.59 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001404/4.153, allocations: 267.6 kB / 1.953 GB, free: 12.33 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001157/4.155, allocations: 0.9535 MB / 1.954 GB, free: 11.35 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002528/4.157, allocations: 227.1 kB / 1.954 GB, free: 11.13 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001899/4.157, allocations: 55.95 kB / 1.954 GB, free: 11.07 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 () * 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.0004275/4.158, allocations: 142.8 kB / 1.954 GB, free: 10.93 MB / 0.9323 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004815/4.163, allocations: 1.069 MB / 1.955 GB, free: 9.848 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007385/4.163, allocations: 142.3 kB / 1.956 GB, free: 9.707 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00508/4.168, allocations: 1.147 MB / 1.957 GB, free: 8.547 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-05/4.168, allocations: 8 kB / 1.957 GB, free: 8.539 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/4.169, allocations: 192 / 1.957 GB, free: 8.539 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003871/4.172, allocations: 1.038 MB / 1.958 GB, free: 7.465 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009324/4.182, allocations: 2.889 MB / 1.961 GB, free: 4.484 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.218e-05/4.182, allocations: 4 kB / 1.961 GB, free: 4.48 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001056/4.183, allocations: 176.2 kB / 1.961 GB, free: 4.309 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007663/4.184, allocations: 360.5 kB / 1.961 GB, free: 3.953 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.109e-05/4.184, allocations: 15.97 kB / 1.961 GB, free: 3.938 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001168/4.185, allocations: 0.935 MB / 1.962 GB, free: 2.977 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.016e-05/4.185, allocations: 8 kB / 1.962 GB, free: 2.969 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01165/4.197, allocations: 2.443 MB / 1.964 GB, free: 412 kB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.7122/4.909, allocations: 395.9 kB / 1.965 GB, free: 159.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00082/4.91, allocations: 10.95 kB / 1.965 GB, free: 159.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002239/4.912, allocations: 152.4 kB / 1.965 GB, free: 159.4 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002113/4.912, allocations: 78 kB / 1.965 GB, free: 159.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000139/4.912, allocations: 53.91 kB / 1.965 GB, free: 159.4 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001489/4.914, allocations: 0.7725 MB / 1.966 GB, free: 159.3 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.71e-07/4.914, allocations: 0 / 1.966 GB, free: 159.3 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003954/4.918, allocations: 1.03 MB / 1.967 GB, free: 159.3 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) * 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.0154/4.933, allocations: 4.697 MB / 1.971 GB, free: 157.3 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.003015/4.936, allocations: 1.427 MB / 1.973 GB, free: 157.3 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.164e-05/4.936, allocations: 2.719 kB / 1.973 GB, free: 157.3 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0008773/4.937, allocations: 472.8 kB / 1.973 GB, free: 157.3 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003441/4.941, allocations: 0.6043 MB / 1.974 GB, free: 157.3 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00665/4.947, allocations: 2.426 MB / 1.976 GB, free: 156.6 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001127/4.948, allocations: 1.298 MB / 1.978 GB, free: 155.9 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002409/4.951, allocations: 429 kB / 1.978 GB, free: 155.8 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008286/4.952, allocations: 0.6028 MB / 1.979 GB, free: 155.8 MB / 0.9323 GB Notification: Performance of SimCode: time 1.303e-06/4.952, allocations: 0.6562 kB / 1.979 GB, free: 155.8 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1052/5.057, allocations: 48.88 MB / 2.026 GB, free: 154.5 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001821/5.057, allocations: 209.6 kB / 2.026 GB, free: 154.2 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.579/8.637, allocations: 3.656 kB / 2.026 GB, free: 154.2 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)