Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.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.ReciprocatingWaterToWater_VariableSpeed,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed",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.772/1.772, allocations: 288.2 MB / 303.2 MB, free: 8.121 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.00122/0.00122, allocations: 177.2 kB / 371.8 MB, free: 10.14 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.927/1.927, allocations: 205.4 MB / 0.6305 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001051/0.001051, allocations: 100.4 kB / 0.7439 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004311/0.0004312, allocations: 10.66 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2671/0.2676, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.324/1.591, allocations: 422.8 MB / 1.392 GB, free: 6.402 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002814/1.592, allocations: 99.45 kB / 1.392 GB, free: 6.348 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.397/3.989, allocations: 0.5494 GB / 1.942 GB, free: 183.1 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.444e-06/3.989, allocations: 0 / 1.942 GB, free: 183.1 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001697/3.989, allocations: 41.84 kB / 1.942 GB, free: 183 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.005865/3.995, allocations: 2.164 MB / 1.944 GB, free: 181.5 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.739e-05/3.995, allocations: 10.59 kB / 1.944 GB, free: 181.5 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003635/3.995, allocations: 181.2 kB / 1.944 GB, free: 181.4 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004326/4, allocations: 0.6173 MB / 1.945 GB, free: 181.1 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003825/4.004, allocations: 1.789 MB / 1.947 GB, free: 179.8 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001184/4.004, allocations: 132.8 kB / 1.947 GB, free: 179.7 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000191/4.004, allocations: 124.1 kB / 1.947 GB, free: 179.7 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003694/4.008, allocations: 1.623 MB / 1.948 GB, free: 178.6 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.086e-05/4.008, allocations: 3.938 kB / 1.948 GB, free: 178.6 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001347/4.008, allocations: 59.55 kB / 1.948 GB, free: 178.6 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.3e-05/4.008, allocations: 31.56 kB / 1.948 GB, free: 178.6 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00446/4.012, allocations: 1.465 MB / 1.95 GB, free: 177.9 MB / 0.9323 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.009915/4.022, allocations: 6.769 MB / 1.956 GB, free: 172.3 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002064/4.024, allocations: 0.7288 MB / 1.957 GB, free: 171.9 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001139/4.025, allocations: 1.263 MB / 1.958 GB, free: 170.5 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00181/4.027, allocations: 0.6727 MB / 1.959 GB, free: 170 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=65): time 3.356e-06/4.027, allocations: 6.938 kB / 1.959 GB, free: 170 MB / 0.9323 GB Notification: Performance of matching and sorting (n=65): time 0.01107/4.038, allocations: 2.302 MB / 1.961 GB, free: 168.9 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001719/4.039, allocations: 485.5 kB / 1.962 GB, free: 168.3 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002246/4.041, allocations: 1.282 MB / 1.963 GB, free: 167.6 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001787/4.041, allocations: 44.73 kB / 1.963 GB, free: 167.6 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006197/4.042, allocations: 0.7112 MB / 1.964 GB, free: 167 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002227/4.042, allocations: 231.5 kB / 1.964 GB, free: 166.8 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.04e-05/4.042, allocations: 15.25 kB / 1.964 GB, free: 166.8 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.971e-05/4.042, allocations: 343.9 kB / 1.964 GB, free: 166.4 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001837/4.044, allocations: 0.4984 MB / 1.965 GB, free: 166.2 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002089/4.046, allocations: 0.8109 MB / 1.966 GB, free: 165.6 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001935/4.048, allocations: 0.5919 MB / 1.966 GB, free: 165.1 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/4.048, allocations: 0 / 1.966 GB, free: 165.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.006241/4.054, allocations: 1.629 MB / 1.968 GB, free: 163.5 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005974/4.055, allocations: 2.524 MB / 1.97 GB, free: 160.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/4.055, allocations: 11.94 kB / 1.97 GB, free: 160.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001275/4.056, allocations: 359.2 kB / 1.971 GB, free: 160.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001596/4.058, allocations: 270.3 kB / 1.971 GB, free: 160.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001084/4.059, allocations: 0.9021 MB / 1.972 GB, free: 159.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003244/4.062, allocations: 295.5 kB / 1.972 GB, free: 159.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001466/4.062, allocations: 51.95 kB / 1.972 GB, free: 159 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/4.062, allocations: 4 kB / 1.972 GB, free: 159 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005879/4.068, allocations: 1.492 MB / 1.974 GB, free: 157.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/4.068, allocations: 10.44 kB / 1.974 GB, free: 157.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001164/4.069, allocations: 367.5 kB / 1.974 GB, free: 157.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001417/4.071, allocations: 267 kB / 1.974 GB, free: 156.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009655/4.072, allocations: 0.8975 MB / 1.975 GB, free: 156 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002649/4.074, allocations: 243.2 kB / 1.975 GB, free: 155.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001225/4.075, allocations: 63.94 kB / 1.975 GB, free: 155.7 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: 7 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 1 * 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 17} Notification: Performance of prepare postOptimizeDAE: time 0.00105/4.076, allocations: 459.6 kB / 1.976 GB, free: 155.2 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003023/4.076, allocations: 150.1 kB / 1.976 GB, free: 155.1 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004666/4.081, allocations: 1.261 MB / 1.977 GB, free: 153.8 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.517e-05/4.081, allocations: 12 kB / 1.977 GB, free: 153.8 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.096e-06/4.081, allocations: 0 / 1.977 GB, free: 153.8 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004052/4.085, allocations: 1.13 MB / 1.978 GB, free: 152.7 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007889/4.093, allocations: 3.591 MB / 1.982 GB, free: 149 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.798e-06/4.093, allocations: 5.969 kB / 1.982 GB, free: 149 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009932/4.094, allocations: 165.7 kB / 1.982 GB, free: 148.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001127/4.095, allocations: 372.2 kB / 1.982 GB, free: 148.5 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.924e-05/4.095, allocations: 23.97 kB / 1.982 GB, free: 148.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000928/4.096, allocations: 0.8908 MB / 1.983 GB, free: 147.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/4.096, allocations: 15.89 kB / 1.983 GB, free: 147.5 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006516/4.102, allocations: 2.277 MB / 1.985 GB, free: 145.1 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001153/4.104, allocations: 396.8 kB / 1.986 GB, free: 144.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002272/4.104, allocations: 16 kB / 1.986 GB, free: 144.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001739/4.106, allocations: 159.1 kB / 1.986 GB, free: 144.5 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000147/4.106, allocations: 65.81 kB / 1.986 GB, free: 144.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.264e-05/4.106, allocations: 41.55 kB / 1.986 GB, free: 144.4 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001701/4.107, allocations: 1.019 MB / 1.987 GB, free: 143.4 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.31e-07/4.107, allocations: 0 / 1.987 GB, free: 143.4 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.00343/4.111, allocations: 1.001 MB / 1.988 GB, free: 142.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: 4 ($whenCondition1,heaPum.com.isOn,N.T_start,N.count) * Number of discrete states: 2 (N.count,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.008412/4.119, allocations: 4.595 MB / 1.993 GB, free: 137.8 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.00604/4.125, allocations: 1.925 MB / 1.994 GB, free: 135.8 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-05/4.125, allocations: 0 / 1.994 GB, free: 135.8 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001779/4.127, allocations: 0.5603 MB / 1.995 GB, free: 135.3 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003838/4.131, allocations: 0.7845 MB / 1.996 GB, free: 134.5 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02284/4.154, allocations: 13.74 MB / 2.009 GB, free: 120.3 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007719/4.155, allocations: 1.238 MB / 2.01 GB, free: 119 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002171/4.157, allocations: 382.6 kB / 2.011 GB, free: 118.7 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008256/4.158, allocations: 0.5773 MB / 2.011 GB, free: 118.1 MB / 0.9323 GB Notification: Performance of SimCode: time 1.402e-06/4.158, allocations: 0 / 2.011 GB, free: 118.1 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0883/4.246, allocations: 55.05 MB / 2.065 GB, free: 64.12 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001895/4.246, allocations: 288.4 kB / 2.065 GB, free: 63.76 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.22/8.467, allocations: 0 / 2.065 GB, free: 63.76 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed_fmu --startTime=0 --stopTime=2000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe 2>&1)