Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.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_VariableSpeed,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed",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.686/2.686, allocations: 284.9 MB / 292.4 MB, free: 10.61 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.001417/0.001417, allocations: 192.8 kB / 360.6 MB, free: 7.281 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.13/2.13, allocations: 205.2 MB / 0.6191 GB, free: 12.17 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.001047/0.001046, allocations: 89.12 kB / 0.7321 GB, free: 44.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.371e-05/3.389e-05, allocations: 4 kB / 0.8509 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8475/0.8475, allocations: 115.3 MB / 0.9634 GB, free: 78.73 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.318/2.166, allocations: 421.7 MB / 1.375 GB, free: 146.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003522/2.166, allocations: 95.16 kB / 1.375 GB, free: 146.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.537/4.703, allocations: 0.5446 GB / 1.92 GB, free: 48.25 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.864e-06/4.703, allocations: 3.938 kB / 1.92 GB, free: 48.25 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002059/4.703, allocations: 40 kB / 1.92 GB, free: 48.21 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.005984/4.709, allocations: 1.829 MB / 1.922 GB, free: 46.32 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/4.709, allocations: 11.97 kB / 1.922 GB, free: 46.3 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009237/4.719, allocations: 0.6653 MB / 1.922 GB, free: 45.64 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005493/4.724, allocations: 1.77 MB / 1.924 GB, free: 43.81 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001424/4.724, allocations: 84.02 kB / 1.924 GB, free: 43.72 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003268/4.725, allocations: 75.95 kB / 1.924 GB, free: 43.64 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003101/4.728, allocations: 1.043 MB / 1.925 GB, free: 42.6 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003301/4.731, allocations: 1.265 MB / 1.927 GB, free: 41.24 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.015e-05/4.731, allocations: 4 kB / 1.927 GB, free: 41.24 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002077/4.732, allocations: 0 / 1.927 GB, free: 41.24 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.985e-05/4.732, allocations: 43.94 kB / 1.927 GB, free: 41.2 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.0153/4.747, allocations: 6.524 MB / 1.933 GB, free: 34.4 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001277/4.748, allocations: 0.5125 MB / 1.933 GB, free: 33.88 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006901/4.749, allocations: 326.4 kB / 1.934 GB, free: 33.56 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001585/4.751, allocations: 1.271 MB / 1.935 GB, free: 32.01 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.58e-05/4.751, allocations: 47.08 kB / 1.935 GB, free: 31.96 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=64): time 3.387e-06/4.751, allocations: 0 / 1.935 GB, free: 31.96 MB / 0.9323 GB Notification: Performance of matching and sorting (n=64): time 0.01968/4.77, allocations: 1.513 MB / 1.937 GB, free: 30.43 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.929e-05/4.77, allocations: 107.4 kB / 1.937 GB, free: 30.3 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002094/4.773, allocations: 0.9705 MB / 1.938 GB, free: 29.32 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0002896/4.773, allocations: 29.7 kB / 1.938 GB, free: 29.29 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007266/4.774, allocations: 0.7288 MB / 1.938 GB, free: 28.55 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003206/4.774, allocations: 220.7 kB / 1.939 GB, free: 28.33 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/4.774, allocations: 0 / 1.939 GB, free: 28.33 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.924e-05/4.774, allocations: 342 kB / 1.939 GB, free: 27.99 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008231/4.775, allocations: 314.5 kB / 1.939 GB, free: 27.68 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009765/4.776, allocations: 0.5818 MB / 1.94 GB, free: 26.98 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003083/4.779, allocations: 0.4884 MB / 1.94 GB, free: 26.49 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-05/4.779, allocations: 4 kB / 1.94 GB, free: 26.49 MB / 0.9323 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.02001/4.799, allocations: 1.76 MB / 1.942 GB, free: 24.72 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005136/4.8, allocations: 2.453 MB / 1.944 GB, free: 22.08 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.031e-05/4.8, allocations: 8 kB / 1.944 GB, free: 22.07 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001345/4.801, allocations: 368.5 kB / 1.945 GB, free: 21.71 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002716/4.804, allocations: 255.6 kB / 1.945 GB, free: 21.46 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00176/4.806, allocations: 0.9505 MB / 1.946 GB, free: 20.49 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004494/4.81, allocations: 230.9 kB / 1.946 GB, free: 20.26 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002651/4.81, allocations: 56.08 kB / 1.946 GB, free: 20.21 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/4.811, allocations: 8 kB / 1.946 GB, free: 20.2 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01949/4.83, allocations: 1.603 MB / 1.948 GB, free: 18.59 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.241e-05/4.83, allocations: 8 kB / 1.948 GB, free: 18.59 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001251/4.831, allocations: 356.5 kB / 1.948 GB, free: 18.24 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002709/4.834, allocations: 255.5 kB / 1.948 GB, free: 17.99 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001744/4.836, allocations: 0.9621 MB / 1.949 GB, free: 17 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003885/4.84, allocations: 187.2 kB / 1.949 GB, free: 16.82 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002084/4.84, allocations: 51.95 kB / 1.949 GB, free: 16.77 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: 2 ($PRE.heaPum.com.isOn,heaPum.com.isOn) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 85 * 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.0003787/4.84, allocations: 136.5 kB / 1.95 GB, free: 16.62 MB / 0.9323 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0194/4.86, allocations: 1.505 MB / 1.951 GB, free: 15.11 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006888/4.861, allocations: 126.5 kB / 1.951 GB, free: 14.99 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004552/4.865, allocations: 0.9921 MB / 1.952 GB, free: 13.98 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.574e-05/4.865, allocations: 11.98 kB / 1.952 GB, free: 13.96 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.495e-06/4.865, allocations: 0 / 1.952 GB, free: 13.96 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003623/4.869, allocations: 0.8969 MB / 1.953 GB, free: 13.04 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009153/4.878, allocations: 2.602 MB / 1.956 GB, free: 10.34 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.23e-05/4.878, allocations: 4 kB / 1.956 GB, free: 10.33 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001838/4.88, allocations: 152.3 kB / 1.956 GB, free: 10.18 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001219/4.881, allocations: 356.6 kB / 1.956 GB, free: 9.832 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001057/4.881, allocations: 19.97 kB / 1.956 GB, free: 9.812 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001697/4.883, allocations: 0.9517 MB / 1.957 GB, free: 8.84 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-05/4.883, allocations: 7.938 kB / 1.957 GB, free: 8.832 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005373/4.888, allocations: 1.734 MB / 1.959 GB, free: 6.953 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001146/4.89, allocations: 363.3 kB / 1.959 GB, free: 6.578 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003598/4.89, allocations: 19.98 kB / 1.959 GB, free: 6.559 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003344/4.893, allocations: 123.8 kB / 1.959 GB, free: 6.438 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000175/4.894, allocations: 64.25 kB / 1.959 GB, free: 6.375 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001645/4.894, allocations: 39.95 kB / 1.959 GB, free: 6.336 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001594/4.895, allocations: 0.7408 MB / 1.96 GB, free: 5.59 MB / 0.9323 GB Notification: Performance of sort global known variables: time 5.41e-07/4.895, allocations: 0 / 1.96 GB, free: 5.59 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004647/4.9, allocations: 0.974 MB / 1.961 GB, free: 4.613 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 43 * 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.008283/4.908, allocations: 4.13 MB / 1.965 GB, free: 344 kB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.674/5.582, allocations: 1.27 MB / 1.966 GB, free: 163.4 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.434e-05/5.582, allocations: 2.812 kB / 1.966 GB, free: 163.4 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.00121/5.584, allocations: 370.6 kB / 1.967 GB, free: 163.4 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005394/5.589, allocations: 0.5688 MB / 1.967 GB, free: 163.4 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009937/5.599, allocations: 2.245 MB / 1.969 GB, free: 162.8 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001091/5.6, allocations: 1.239 MB / 1.971 GB, free: 162.1 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.003784/5.604, allocations: 395.5 kB / 1.971 GB, free: 162.1 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001437/5.605, allocations: 0.5482 MB / 1.971 GB, free: 162.1 MB / 0.9323 GB Notification: Performance of SimCode: time 1.403e-06/5.606, allocations: 0 / 1.971 GB, free: 162.1 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1489/5.754, allocations: 45.74 MB / 2.016 GB, free: 161 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002497/5.755, allocations: 194.3 kB / 2.016 GB, free: 160.8 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.811/10.57, allocations: 0 / 2.016 GB, free: 160.8 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed.fmu > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe 2>&1)