Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.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.ReciprocatingWaterToWater_Static,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.769/2.769, allocations: 287.3 MB / 302.3 MB, free: 8.301 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.001608/0.001608, allocations: 182.7 kB / 370.8 MB, free: 10.86 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.145/2.145, allocations: 205.4 MB / 0.6295 GB, free: 10.63 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.001184/0.001184, allocations: 90.06 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005134/0.0005132, allocations: 13.39 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.2402, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.338/1.578, allocations: 422.1 MB / 1.39 GB, free: 8.355 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000315/1.578, allocations: 97.14 kB / 1.391 GB, free: 8.305 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.168/4.747, allocations: 0.549 GB / 1.94 GB, free: 185.1 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.485e-06/4.747, allocations: 5.938 kB / 1.94 GB, free: 185.1 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002299/4.747, allocations: 41.42 kB / 1.94 GB, free: 185.1 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.007406/4.754, allocations: 2.102 MB / 1.942 GB, free: 183.6 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/4.754, allocations: 7.688 kB / 1.942 GB, free: 183.6 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006858/4.755, allocations: 182.5 kB / 1.942 GB, free: 183.5 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008079/4.763, allocations: 0.6079 MB / 1.942 GB, free: 183.3 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005547/4.769, allocations: 1.777 MB / 1.944 GB, free: 182 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001775/4.769, allocations: 134.7 kB / 1.944 GB, free: 181.9 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003259/4.769, allocations: 123.8 kB / 1.944 GB, free: 181.9 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006481/4.776, allocations: 1.615 MB / 1.946 GB, free: 180.8 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.195e-05/4.776, allocations: 6.688 kB / 1.946 GB, free: 180.8 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002472/4.776, allocations: 52.86 kB / 1.946 GB, free: 180.8 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-05/4.776, allocations: 36.12 kB / 1.946 GB, free: 180.8 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008677/4.785, allocations: 1.435 MB / 1.947 GB, free: 180.1 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.01621/4.801, allocations: 6.978 MB / 1.954 GB, free: 174.2 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00386/4.805, allocations: 0.7295 MB / 1.955 GB, free: 173.8 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001633/4.807, allocations: 1.268 MB / 1.956 GB, free: 172.4 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.121e-05/4.807, allocations: 45.66 kB / 1.956 GB, free: 172.3 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=64): time 3.397e-06/4.807, allocations: 0 / 1.956 GB, free: 172.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=64): time 0.02147/4.828, allocations: 2.385 MB / 1.959 GB, free: 171.2 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.418e-05/4.828, allocations: 114.2 kB / 1.959 GB, free: 171.1 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003287/4.832, allocations: 1.261 MB / 1.96 GB, free: 170.4 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0003133/4.832, allocations: 41.23 kB / 1.96 GB, free: 170.3 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007624/4.833, allocations: 0.7084 MB / 1.961 GB, free: 169.7 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.00034/4.833, allocations: 223.7 kB / 1.961 GB, free: 169.5 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/4.833, allocations: 15.94 kB / 1.961 GB, free: 169.5 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.257e-05/4.833, allocations: 337.8 kB / 1.961 GB, free: 169.2 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003383/4.837, allocations: 475.9 kB / 1.962 GB, free: 169 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003683/4.841, allocations: 0.7505 MB / 1.962 GB, free: 168.4 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003509/4.844, allocations: 0.5202 MB / 1.963 GB, free: 168.1 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.819e-06/4.844, allocations: 3.938 kB / 1.963 GB, free: 168.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.008716/4.853, allocations: 1.471 MB / 1.964 GB, free: 167.4 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005649/4.854, allocations: 2.495 MB / 1.967 GB, free: 164.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.958e-05/4.854, allocations: 9.641 kB / 1.967 GB, free: 164.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002477/4.856, allocations: 456.5 kB / 1.967 GB, free: 164.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002616/4.859, allocations: 247.8 kB / 1.967 GB, free: 164.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002316/4.861, allocations: 1.079 MB / 1.969 GB, free: 163.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004447/4.866, allocations: 261.9 kB / 1.969 GB, free: 163.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002645/4.866, allocations: 51.95 kB / 1.969 GB, free: 163.4 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/4.866, allocations: 4 kB / 1.969 GB, free: 163.4 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00803/4.874, allocations: 1.32 MB / 1.97 GB, free: 162.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.914e-05/4.874, allocations: 7.281 kB / 1.97 GB, free: 162.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002268/4.876, allocations: 466.9 kB / 1.971 GB, free: 161.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002579/4.879, allocations: 246 kB / 1.971 GB, free: 161.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002252/4.881, allocations: 1.072 MB / 1.972 GB, free: 160.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003951/4.885, allocations: 235.6 kB / 1.972 GB, free: 160.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002986/4.885, allocations: 51.95 kB / 1.972 GB, free: 160.1 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.001308/4.887, allocations: 449.4 kB / 1.973 GB, free: 159.6 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005793/4.887, allocations: 146.2 kB / 1.973 GB, free: 159.5 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007388/4.895, allocations: 1.218 MB / 1.974 GB, free: 158.3 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.236e-05/4.895, allocations: 15.94 kB / 1.974 GB, free: 158.3 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/4.895, allocations: 7.875 kB / 1.974 GB, free: 158.3 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006386/4.901, allocations: 1.096 MB / 1.975 GB, free: 157.1 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01297/4.914, allocations: 3.302 MB / 1.978 GB, free: 153.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.459e-05/4.914, allocations: 4 kB / 1.978 GB, free: 153.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001828/4.916, allocations: 150.3 kB / 1.978 GB, free: 153.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002326/4.919, allocations: 447.8 kB / 1.979 GB, free: 153.1 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001584/4.919, allocations: 26.91 kB / 1.979 GB, free: 153.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002174/4.921, allocations: 1.056 MB / 1.98 GB, free: 152 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.506e-06/4.921, allocations: 10.09 kB / 1.98 GB, free: 152 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007245/4.928, allocations: 1.555 MB / 1.981 GB, free: 150.3 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001408/4.93, allocations: 390.9 kB / 1.982 GB, free: 149.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004764/4.93, allocations: 15.98 kB / 1.982 GB, free: 149.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003553/4.934, allocations: 136.2 kB / 1.982 GB, free: 149.8 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002441/4.934, allocations: 56.25 kB / 1.982 GB, free: 149.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001854/4.934, allocations: 43.95 kB / 1.982 GB, free: 149.7 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.002812/4.937, allocations: 0.9938 MB / 1.983 GB, free: 148.7 MB / 0.9323 GB Notification: Performance of sort global known variables: time 8.91e-07/4.937, allocations: 0 / 1.983 GB, free: 148.7 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.005016/4.942, allocations: 0.9746 MB / 1.984 GB, free: 147.7 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.01012/4.952, allocations: 3.809 MB / 1.988 GB, free: 143.9 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.01124/4.964, allocations: 1.747 MB / 1.989 GB, free: 142.2 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.528e-05/4.964, allocations: 3.938 kB / 1.989 GB, free: 142.2 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.003321/4.967, allocations: 0.5136 MB / 1.99 GB, free: 141.7 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006724/4.974, allocations: 0.7823 MB / 1.991 GB, free: 140.9 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03554/5.009, allocations: 13.24 MB / 2.004 GB, free: 127.2 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008375/5.01, allocations: 1.231 MB / 2.005 GB, free: 125.9 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.00296/5.013, allocations: 342.6 kB / 2.005 GB, free: 125.6 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001364/5.015, allocations: 0.5617 MB / 2.006 GB, free: 125.1 MB / 0.9323 GB Notification: Performance of SimCode: time 8.81e-07/5.015, allocations: 0 / 2.006 GB, free: 125.1 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1326/5.147, allocations: 54.07 MB / 2.058 GB, free: 72.14 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002543/5.148, allocations: 273.1 kB / 2.059 GB, free: 71.78 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.207/10.36, allocations: 0 / 2.059 GB, free: 71.78 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static.fmu > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)