Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.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_Static,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static",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.734/1.734, allocations: 288.2 MB / 303.2 MB, free: 8.188 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.001165/0.001165, allocations: 183.5 kB / 371.8 MB, free: 10.28 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.949/1.949, 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.0009728/0.0009728, allocations: 102.5 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000434/0.000434, allocations: 12.41 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2735/0.274, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.19/1.465, allocations: 422.2 MB / 1.392 GB, free: 6.973 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002971/1.465, allocations: 96.14 kB / 1.392 GB, free: 6.922 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.416/3.881, allocations: 0.549 GB / 1.941 GB, free: 183.5 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.773e-06/3.881, allocations: 0 / 1.941 GB, free: 183.5 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001524/3.882, allocations: 37.69 kB / 1.941 GB, free: 183.5 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: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.005022/3.887, allocations: 2.111 MB / 1.943 GB, free: 182 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/3.887, allocations: 9.188 kB / 1.943 GB, free: 182 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002804/3.887, allocations: 178.3 kB / 1.943 GB, free: 181.9 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004318/3.891, allocations: 0.6164 MB / 1.944 GB, free: 181.6 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003843/3.895, allocations: 1.782 MB / 1.946 GB, free: 180.3 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001366/3.895, allocations: 124.5 kB / 1.946 GB, free: 180.2 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001773/3.895, allocations: 119.1 kB / 1.946 GB, free: 180.2 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003745/3.899, allocations: 1.611 MB / 1.947 GB, free: 179.1 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.671e-05/3.899, allocations: 6.094 kB / 1.947 GB, free: 179.1 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001314/3.899, allocations: 50.09 kB / 1.947 GB, free: 179.1 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-05/3.899, allocations: 38.55 kB / 1.947 GB, free: 179.1 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00447/3.904, allocations: 1.435 MB / 1.949 GB, free: 178.4 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.01043/3.914, allocations: 6.986 MB / 1.956 GB, free: 172.5 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002011/3.916, allocations: 0.7258 MB / 1.956 GB, free: 172.2 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001108/3.918, allocations: 1.273 MB / 1.958 GB, free: 170.7 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/3.918, allocations: 42.06 kB / 1.958 GB, free: 170.7 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=64): time 3.376e-06/3.918, allocations: 0 / 1.958 GB, free: 170.7 MB / 0.9323 GB Notification: Performance of matching and sorting (n=64): time 0.0111/3.929, allocations: 2.384 MB / 1.96 GB, free: 169.5 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.639e-05/3.929, allocations: 122.6 kB / 1.96 GB, free: 169.4 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002242/3.931, allocations: 1.255 MB / 1.961 GB, free: 168.7 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001766/3.931, allocations: 50.47 kB / 1.961 GB, free: 168.7 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006579/3.932, allocations: 0.6922 MB / 1.962 GB, free: 168.1 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002381/3.932, allocations: 230.7 kB / 1.962 GB, free: 167.9 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.459e-05/3.932, allocations: 15.84 kB / 1.962 GB, free: 167.8 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.165e-05/3.932, allocations: 337.4 kB / 1.963 GB, free: 167.5 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001645/3.934, allocations: 469.7 kB / 1.963 GB, free: 167.3 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001802/3.936, allocations: 0.7567 MB / 1.964 GB, free: 166.7 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001713/3.937, allocations: 0.5122 MB / 1.964 GB, free: 166.5 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/3.938, allocations: 2.938 kB / 1.964 GB, free: 166.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004618/3.942, allocations: 1.478 MB / 1.966 GB, free: 165.6 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006326/3.943, allocations: 2.494 MB / 1.968 GB, free: 163 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/3.943, allocations: 8 kB / 1.968 GB, free: 163 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001517/3.944, allocations: 454.6 kB / 1.969 GB, free: 162.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001309/3.946, allocations: 254 kB / 1.969 GB, free: 162.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001294/3.947, allocations: 1.078 MB / 1.97 GB, free: 161.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002693/3.95, allocations: 266.9 kB / 1.97 GB, free: 161 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001269/3.95, allocations: 55.94 kB / 1.97 GB, free: 160.9 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/3.95, allocations: 4 kB / 1.97 GB, free: 160.9 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003995/3.954, allocations: 1.322 MB / 1.972 GB, free: 159.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/3.954, allocations: 10.62 kB / 1.972 GB, free: 159.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001387/3.955, allocations: 452.9 kB / 1.972 GB, free: 159.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001287/3.957, allocations: 241.3 kB / 1.972 GB, free: 158.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001318/3.958, allocations: 1.083 MB / 1.973 GB, free: 157.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002539/3.96, allocations: 236.4 kB / 1.973 GB, free: 157.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001521/3.961, allocations: 55.94 kB / 1.974 GB, free: 157.6 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * 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 {4 23} Notification: Performance of prepare postOptimizeDAE: time 0.001174/3.962, allocations: 447.8 kB / 1.974 GB, free: 157.1 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005652/3.962, allocations: 146.2 kB / 1.974 GB, free: 157 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004087/3.966, allocations: 1.226 MB / 1.975 GB, free: 155.7 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.862e-05/3.967, allocations: 8 kB / 1.975 GB, free: 155.7 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/3.967, allocations: 3.953 kB / 1.975 GB, free: 155.7 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003246/3.97, allocations: 1.095 MB / 1.976 GB, free: 154.6 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008737/3.979, allocations: 3.309 MB / 1.98 GB, free: 151.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.706e-05/3.979, allocations: 4 kB / 1.98 GB, free: 151.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009335/3.98, allocations: 156 kB / 1.98 GB, free: 151 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001463/3.981, allocations: 448.1 kB / 1.98 GB, free: 150.6 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.054e-05/3.981, allocations: 23.97 kB / 1.98 GB, free: 150.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001314/3.982, allocations: 1.057 MB / 1.981 GB, free: 149.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/3.982, allocations: 7.938 kB / 1.981 GB, free: 149.5 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004235/3.987, allocations: 1.556 MB / 1.983 GB, free: 147.8 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001304/3.988, allocations: 383 kB / 1.983 GB, free: 147.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006048/3.989, allocations: 20 kB / 1.983 GB, free: 147.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002161/3.991, allocations: 135.4 kB / 1.983 GB, free: 147.2 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001487/3.991, allocations: 54.02 kB / 1.983 GB, free: 147.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001409/3.991, allocations: 43.95 kB / 1.983 GB, free: 147.1 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.002263/3.993, allocations: 0.9916 MB / 1.984 GB, free: 146.1 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.6e-07/3.993, allocations: 0 / 1.984 GB, free: 146.1 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004573/3.998, allocations: 0.9863 MB / 1.985 GB, free: 145.2 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 37 * 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 {4 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.007042/4.005, allocations: 3.804 MB / 1.989 GB, free: 141.4 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.006271/4.011, allocations: 1.747 MB / 1.991 GB, free: 139.7 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-05/4.011, allocations: 0 / 1.991 GB, free: 139.7 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001774/4.013, allocations: 0.5138 MB / 1.991 GB, free: 139.1 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004479/4.018, allocations: 0.7745 MB / 1.992 GB, free: 138.4 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02544/4.043, allocations: 13.24 MB / 2.005 GB, free: 124.7 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001123/4.044, allocations: 1.235 MB / 2.006 GB, free: 123.4 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002288/4.047, allocations: 335 kB / 2.006 GB, free: 123.1 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009629/4.048, allocations: 0.5539 MB / 2.007 GB, free: 122.5 MB / 0.9323 GB Notification: Performance of SimCode: time 1.894e-06/4.048, allocations: 0 / 2.007 GB, free: 122.5 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08527/4.133, allocations: 54.1 MB / 2.06 GB, free: 69.48 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001859/4.133, allocations: 280.6 kB / 2.06 GB, free: 69.12 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.051/8.184, allocations: 3.938 kB / 2.06 GB, free: 69.12 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)