Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.548/2.548, allocations: 284.9 MB / 292.4 MB, free: 10.53 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.00144/0.00144, allocations: 180.9 kB / 360.6 MB, free: 7.293 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.318/2.318, allocations: 205.3 MB / 0.6191 GB, free: 12.22 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.001119/0.001119, allocations: 87.5 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.111e-05/3.111e-05, allocations: 4 kB / 0.8508 GB, free: 3.352 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8265/0.8266, allocations: 115.3 MB / 0.9634 GB, free: 78.69 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.354/2.181, allocations: 422.1 MB / 1.376 GB, free: 146.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003437/2.182, allocations: 91.33 kB / 1.376 GB, free: 146.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.519/4.701, allocations: 0.5473 GB / 1.923 GB, free: 44.88 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.094e-06/4.701, allocations: 0 / 1.923 GB, free: 44.88 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.000244/4.701, allocations: 51.92 kB / 1.923 GB, free: 44.82 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.006465/4.708, allocations: 1.975 MB / 1.925 GB, free: 42.79 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/4.708, allocations: 8.031 kB / 1.925 GB, free: 42.78 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009146/4.717, allocations: 0.6922 MB / 1.926 GB, free: 42.09 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005695/4.723, allocations: 1.846 MB / 1.928 GB, free: 40.18 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001512/4.723, allocations: 92.34 kB / 1.928 GB, free: 40.09 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003308/4.723, allocations: 83.95 kB / 1.928 GB, free: 40 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003354/4.727, allocations: 1.153 MB / 1.929 GB, free: 38.85 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003728/4.73, allocations: 1.431 MB / 1.93 GB, free: 37.32 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.631e-05/4.73, allocations: 3.938 kB / 1.93 GB, free: 37.32 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000243/4.731, allocations: 4 kB / 1.93 GB, free: 37.31 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.218e-05/4.731, allocations: 36 kB / 1.93 GB, free: 37.28 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.01678/4.748, allocations: 7.096 MB / 1.937 GB, free: 29.89 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001714/4.749, allocations: 0.6642 MB / 1.938 GB, free: 29.21 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008292/4.75, allocations: 385.1 kB / 1.938 GB, free: 28.84 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001621/4.752, allocations: 1.271 MB / 1.939 GB, free: 27.29 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.883e-05/4.752, allocations: 43.34 kB / 1.939 GB, free: 27.24 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=77): time 3.587e-06/4.752, allocations: 0 / 1.939 GB, free: 27.24 MB / 0.9323 GB Notification: Performance of matching and sorting (n=77): time 0.007971/4.76, allocations: 1.078 MB / 1.941 GB, free: 26.15 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.41e-05/4.76, allocations: 192.7 kB / 1.941 GB, free: 25.92 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002185/4.762, allocations: 1.026 MB / 1.942 GB, free: 24.89 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0003559/4.763, allocations: 41.69 kB / 1.942 GB, free: 24.84 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007829/4.763, allocations: 0.7686 MB / 1.943 GB, free: 24.07 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003792/4.764, allocations: 256.2 kB / 1.943 GB, free: 23.81 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/4.764, allocations: 0 / 1.943 GB, free: 23.81 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.767e-05/4.764, allocations: 341.9 kB / 1.943 GB, free: 23.47 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009218/4.765, allocations: 354.6 kB / 1.943 GB, free: 23.12 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001098/4.766, allocations: 0.6429 MB / 1.944 GB, free: 22.36 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003198/4.769, allocations: 0.5197 MB / 1.945 GB, free: 21.84 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.224e-05/4.769, allocations: 7.938 kB / 1.945 GB, free: 21.83 MB / 0.9323 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008623/4.778, allocations: 1.355 MB / 1.946 GB, free: 20.46 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005573/4.779, allocations: 2.468 MB / 1.948 GB, free: 17.83 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.209e-05/4.779, allocations: 8 kB / 1.948 GB, free: 17.82 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001376/4.78, allocations: 370.1 kB / 1.949 GB, free: 17.46 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002906/4.783, allocations: 267.6 kB / 1.949 GB, free: 17.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001809/4.785, allocations: 0.9678 MB / 1.95 GB, free: 16.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004697/4.79, allocations: 247 kB / 1.95 GB, free: 15.96 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003643/4.79, allocations: 59.94 kB / 1.95 GB, free: 15.9 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/4.79, allocations: 4 kB / 1.95 GB, free: 15.9 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008225/4.798, allocations: 1.19 MB / 1.951 GB, free: 14.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.821e-05/4.798, allocations: 8 kB / 1.951 GB, free: 14.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001234/4.8, allocations: 353.8 kB / 1.952 GB, free: 14.35 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002831/4.802, allocations: 271.5 kB / 1.952 GB, free: 14.08 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001745/4.804, allocations: 0.949 MB / 1.953 GB, free: 13.11 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004222/4.808, allocations: 231 kB / 1.953 GB, free: 12.88 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003367/4.809, allocations: 55.94 kB / 1.953 GB, free: 12.83 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.0004316/4.809, allocations: 134.8 kB / 1.953 GB, free: 12.69 MB / 0.9323 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008073/4.817, allocations: 1.073 MB / 1.954 GB, free: 11.61 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007542/4.818, allocations: 142.3 kB / 1.954 GB, free: 11.46 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00791/4.826, allocations: 1.151 MB / 1.956 GB, free: 10.3 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.822e-05/4.826, allocations: 8 kB / 1.956 GB, free: 10.29 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/4.826, allocations: 0 / 1.956 GB, free: 10.29 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007145/4.833, allocations: 1.046 MB / 1.957 GB, free: 9.211 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01345/4.847, allocations: 2.874 MB / 1.959 GB, free: 6.242 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.545e-05/4.847, allocations: 4 kB / 1.959 GB, free: 6.238 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002057/4.849, allocations: 180.1 kB / 1.96 GB, free: 6.062 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001271/4.85, allocations: 348.7 kB / 1.96 GB, free: 5.719 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002162/4.851, allocations: 19.97 kB / 1.96 GB, free: 5.699 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00168/4.852, allocations: 0.95 MB / 1.961 GB, free: 4.727 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.036e-05/4.852, allocations: 12 kB / 1.961 GB, free: 4.715 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02056/4.873, allocations: 2.435 MB / 1.963 GB, free: 2.156 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001343/4.874, allocations: 399 kB / 1.964 GB, free: 1.746 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004417/4.875, allocations: 12 kB / 1.964 GB, free: 1.734 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00363/4.878, allocations: 151.8 kB / 1.964 GB, free: 1.586 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002973/4.879, allocations: 84.45 kB / 1.964 GB, free: 1.504 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001979/4.879, allocations: 51.94 kB / 1.964 GB, free: 1.453 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001692/4.881, allocations: 0.7742 MB / 1.965 GB, free: 0.6758 MB / 0.9323 GB Notification: Performance of sort global known variables: time 3.9e-07/4.881, allocations: 4 kB / 1.965 GB, free: 0.6719 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.707/5.588, allocations: 1.014 MB / 1.966 GB, free: 160.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) * 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.02545/5.613, allocations: 4.694 MB / 1.97 GB, free: 158.1 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.005109/5.618, allocations: 1.428 MB / 1.972 GB, free: 158.1 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.357e-05/5.618, allocations: 2.406 kB / 1.972 GB, free: 158.1 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001455/5.62, allocations: 473.5 kB / 1.972 GB, free: 158.1 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005345/5.625, allocations: 0.6015 MB / 1.973 GB, free: 158.1 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009587/5.635, allocations: 2.432 MB / 1.975 GB, free: 157.4 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0012/5.636, allocations: 1.299 MB / 1.976 GB, free: 156.7 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.004041/5.64, allocations: 426.8 kB / 1.977 GB, free: 156.7 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001511/5.642, allocations: 0.606 MB / 1.977 GB, free: 156.6 MB / 0.9323 GB Notification: Performance of SimCode: time 1.162e-06/5.642, allocations: 1.531 kB / 1.977 GB, free: 156.6 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1597/5.802, allocations: 48.87 MB / 2.025 GB, free: 155.3 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002775/5.802, allocations: 207.4 kB / 2.025 GB, free: 155.1 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.85/10.65, allocations: 0 / 2.025 GB, free: 155.1 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_TemperatureProtection_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_TemperatureProtection.fmu > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe 2>&1)