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.891/2.891, allocations: 284.7 MB / 297.2 MB, free: 6.383 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.001512/0.001511, allocations: 180.8 kB / 365.6 MB, free: 2.633 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.193/2.193, allocations: 205.1 MB / 0.624 GB, free: 8.234 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.001066/0.001065, allocations: 106.3 kB / 0.7371 GB, free: 40.8 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.729e-05/3.756e-05, allocations: 8 kB / 0.8574 GB, free: 13.69 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8122/0.8123, allocations: 115.2 MB / 0.9699 GB, free: 78.03 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.295/2.108, allocations: 422.3 MB / 1.382 GB, free: 139 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002874/2.108, allocations: 90.14 kB / 1.382 GB, free: 139 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.514/4.622, allocations: 0.5473 GB / 1.93 GB, free: 33.88 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.954e-06/4.622, allocations: 0 / 1.93 GB, free: 33.88 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002133/4.623, allocations: 35.98 kB / 1.93 GB, free: 33.84 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.005702/4.628, allocations: 1.829 MB / 1.932 GB, free: 31.95 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/4.628, allocations: 8.031 kB / 1.932 GB, free: 31.94 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004429/4.629, allocations: 177.4 kB / 1.932 GB, free: 31.76 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008932/4.638, allocations: 0.6653 MB / 1.932 GB, free: 31.09 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005441/4.643, allocations: 1.77 MB / 1.934 GB, free: 29.26 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001651/4.643, allocations: 132 kB / 1.934 GB, free: 29.12 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003134/4.644, allocations: 116 kB / 1.934 GB, free: 29.01 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003687/4.647, allocations: 1.444 MB / 1.936 GB, free: 27.47 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.447e-05/4.648, allocations: 7.938 kB / 1.936 GB, free: 27.46 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002376/4.648, allocations: 52 kB / 1.936 GB, free: 27.41 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.603e-05/4.648, allocations: 32 kB / 1.936 GB, free: 27.38 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003235/4.651, allocations: 1.113 MB / 1.937 GB, free: 26.26 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.01558/4.667, allocations: 6.806 MB / 1.944 GB, free: 19.16 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001587/4.668, allocations: 0.5492 MB / 1.944 GB, free: 18.61 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008641/4.669, allocations: 342.5 kB / 1.945 GB, free: 18.27 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001654/4.671, allocations: 1.267 MB / 1.946 GB, free: 16.72 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.365e-05/4.671, allocations: 43.12 kB / 1.946 GB, free: 16.67 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=64): time 3.296e-06/4.671, allocations: 0 / 1.946 GB, free: 16.67 MB / 0.9323 GB Notification: Performance of matching and sorting (n=64): time 0.01785/4.689, allocations: 1.447 MB / 1.947 GB, free: 15.21 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.06e-05/4.689, allocations: 111.4 kB / 1.947 GB, free: 15.08 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002633/4.692, allocations: 1.218 MB / 1.949 GB, free: 13.86 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.000278/4.692, allocations: 41.7 kB / 1.949 GB, free: 13.81 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006885/4.693, allocations: 0.6994 MB / 1.949 GB, free: 13.1 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002758/4.693, allocations: 232.7 kB / 1.949 GB, free: 12.87 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/4.693, allocations: 20 kB / 1.949 GB, free: 12.85 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.38e-05/4.693, allocations: 341.9 kB / 1.95 GB, free: 12.51 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009379/4.694, allocations: 325.9 kB / 1.95 GB, free: 12.2 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001138/4.695, allocations: 0.6045 MB / 1.951 GB, free: 11.47 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/4.696, allocations: 392 kB / 1.951 GB, free: 11.09 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.137e-06/4.696, allocations: 7.953 kB / 1.951 GB, free: 11.08 MB / 0.9323 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.01826/4.715, allocations: 1.733 MB / 1.953 GB, free: 9.336 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005642/4.715, allocations: 2.489 MB / 1.955 GB, free: 6.703 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.916e-05/4.715, allocations: 8 kB / 1.955 GB, free: 6.695 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002073/4.717, allocations: 426.7 kB / 1.956 GB, free: 6.277 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002741/4.72, allocations: 251.6 kB / 1.956 GB, free: 6.031 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001439/4.722, allocations: 0.8991 MB / 1.957 GB, free: 5.109 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004693/4.726, allocations: 282.5 kB / 1.957 GB, free: 4.832 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000256/4.727, allocations: 51.95 kB / 1.957 GB, free: 4.781 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/4.727, allocations: 8 kB / 1.957 GB, free: 4.773 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01749/4.744, allocations: 1.572 MB / 1.959 GB, free: 3.191 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.447e-05/4.744, allocations: 8 kB / 1.959 GB, free: 3.184 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001886/4.746, allocations: 413.1 kB / 1.959 GB, free: 2.777 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002667/4.749, allocations: 247.6 kB / 1.959 GB, free: 2.535 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001368/4.75, allocations: 0.9103 MB / 1.96 GB, free: 1.602 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004152/4.754, allocations: 242.8 kB / 1.96 GB, free: 1.363 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002254/4.755, allocations: 51.95 kB / 1.96 GB, free: 1.312 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.0004296/4.755, allocations: 168.7 kB / 1.961 GB, free: 1.141 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000436/4.756, allocations: 138.3 kB / 1.961 GB, free: 1.004 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002802/4.758, allocations: 0.9353 MB / 1.962 GB, free: 52 kB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.42e-05/4.758, allocations: 8 kB / 1.962 GB, free: 44 kB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/4.758, allocations: 0 / 1.962 GB, free: 44 kB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.7267/5.485, allocations: 0.8116 MB / 1.962 GB, free: 158.3 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008962/5.494, allocations: 2.716 MB / 1.965 GB, free: 157.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.579e-05/5.494, allocations: 3.656 kB / 1.965 GB, free: 157.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00196/5.496, allocations: 151.8 kB / 1.965 GB, free: 157.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002055/5.498, allocations: 408.1 kB / 1.966 GB, free: 157.8 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001648/5.499, allocations: 30.17 kB / 1.966 GB, free: 157.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001507/5.5, allocations: 0.9043 MB / 1.967 GB, free: 157.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.076e-05/5.5, allocations: 7.312 kB / 1.967 GB, free: 157.3 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00444/5.505, allocations: 1.718 MB / 1.968 GB, free: 156.7 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001398/5.506, allocations: 397 kB / 1.969 GB, free: 156.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004085/5.506, allocations: 17.88 kB / 1.969 GB, free: 156.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003693/5.51, allocations: 150.7 kB / 1.969 GB, free: 156.5 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002237/5.51, allocations: 54.95 kB / 1.969 GB, free: 156.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000199/5.511, allocations: 48.28 kB / 1.969 GB, free: 156.5 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.002852/5.513, allocations: 0.9638 MB / 1.97 GB, free: 156.4 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.012e-06/5.514, allocations: 0 / 1.97 GB, free: 156.4 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.006143/5.52, allocations: 0.9771 MB / 1.971 GB, free: 156.4 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.008188/5.528, allocations: 4.087 MB / 1.975 GB, free: 154.1 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.004633/5.533, allocations: 1.359 MB / 1.976 GB, free: 154.1 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-05/5.533, allocations: 1.375 kB / 1.976 GB, free: 154.1 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001301/5.534, allocations: 382.1 kB / 1.976 GB, free: 154.1 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007043/5.541, allocations: 0.7953 MB / 1.977 GB, free: 154.1 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009667/5.551, allocations: 2.358 MB / 1.979 GB, free: 153.4 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001035/5.552, allocations: 1.243 MB / 1.981 GB, free: 152.7 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.003805/5.556, allocations: 462.7 kB / 1.981 GB, free: 152.6 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00116/5.557, allocations: 0.5511 MB / 1.982 GB, free: 152.6 MB / 0.9323 GB Notification: Performance of SimCode: time 1.433e-06/5.557, allocations: 0 / 1.982 GB, free: 152.6 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1621/5.719, allocations: 57.21 MB / 2.038 GB, free: 150.9 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002609/5.719, allocations: 241.7 kB / 2.038 GB, free: 150.6 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.253/10.97, allocations: 4 kB / 2.038 GB, free: 150.6 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)