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.764/1.764, allocations: 285.6 MB / 293.1 MB, free: 10.2 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.001311/0.001311, allocations: 180.9 kB / 361.4 MB, free: 6.789 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.033/2.033, allocations: 205.3 MB / 0.62 GB, free: 11.63 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.0009921/0.0009923, allocations: 103.6 kB / 0.733 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.024e-05/3.026e-05, allocations: 4 kB / 0.8518 GB, free: 2.633 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7616/0.7616, allocations: 115.3 MB / 0.9644 GB, free: 78.57 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.175/1.937, allocations: 421.5 MB / 1.376 GB, free: 145.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000236/1.937, allocations: 86.83 kB / 1.376 GB, free: 145.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.677/3.614, allocations: 0.5446 GB / 1.921 GB, free: 46.7 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.052e-06/3.615, allocations: 0 / 1.921 GB, free: 46.7 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002028/3.615, allocations: 40 kB / 1.921 GB, free: 46.66 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.004381/3.619, allocations: 1.837 MB / 1.923 GB, free: 44.77 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/3.619, allocations: 11.98 kB / 1.923 GB, free: 44.75 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004525/3.624, allocations: 0.6106 MB / 1.923 GB, free: 44.14 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004128/3.628, allocations: 1.762 MB / 1.925 GB, free: 42.32 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001818/3.628, allocations: 84 kB / 1.925 GB, free: 42.23 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003617/3.628, allocations: 68 kB / 1.925 GB, free: 42.16 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002202/3.631, allocations: 1.012 MB / 1.926 GB, free: 41.15 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002408/3.633, allocations: 1.265 MB / 1.927 GB, free: 39.79 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.035e-05/3.633, allocations: 4 kB / 1.927 GB, free: 39.78 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001679/3.633, allocations: 4 kB / 1.927 GB, free: 39.78 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.85e-05/3.633, allocations: 35.94 kB / 1.927 GB, free: 39.74 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.009461/3.643, allocations: 6.722 MB / 1.934 GB, free: 32.71 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008795/3.644, allocations: 0.554 MB / 1.934 GB, free: 32.15 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003843/3.644, allocations: 306.5 kB / 1.935 GB, free: 31.85 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009876/3.645, allocations: 1.267 MB / 1.936 GB, free: 30.3 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/3.645, allocations: 47.06 kB / 1.936 GB, free: 30.25 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=64): time 3.717e-06/3.645, allocations: 0 / 1.936 GB, free: 30.25 MB / 0.9323 GB Notification: Performance of matching and sorting (n=64): time 0.002801/3.648, allocations: 0.8777 MB / 1.937 GB, free: 29.36 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.61e-05/3.648, allocations: 111.4 kB / 1.937 GB, free: 29.23 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001585/3.65, allocations: 0.9628 MB / 1.938 GB, free: 28.25 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.000137/3.65, allocations: 29.7 kB / 1.938 GB, free: 28.22 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005831/3.65, allocations: 0.7135 MB / 1.939 GB, free: 27.5 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002337/3.651, allocations: 216.8 kB / 1.939 GB, free: 27.28 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.106e-05/3.651, allocations: 0 / 1.939 GB, free: 27.28 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.000108/3.651, allocations: 345.9 kB / 1.939 GB, free: 26.94 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004924/3.651, allocations: 278.6 kB / 1.939 GB, free: 26.67 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006499/3.652, allocations: 0.5647 MB / 1.94 GB, free: 25.97 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001786/3.654, allocations: 473.8 kB / 1.94 GB, free: 25.51 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.525e-06/3.654, allocations: 4 kB / 1.94 GB, free: 25.51 MB / 0.9323 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003088/3.657, allocations: 1.143 MB / 1.942 GB, free: 24.35 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005316/3.657, allocations: 2.47 MB / 1.944 GB, free: 21.71 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/3.657, allocations: 4 kB / 1.944 GB, free: 21.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008521/3.658, allocations: 361.4 kB / 1.944 GB, free: 21.35 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001283/3.66, allocations: 243.6 kB / 1.945 GB, free: 21.11 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00128/3.661, allocations: 1.076 MB / 1.946 GB, free: 20.01 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002156/3.663, allocations: 214.9 kB / 1.946 GB, free: 19.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/3.663, allocations: 56 kB / 1.946 GB, free: 19.75 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/3.663, allocations: 4 kB / 1.946 GB, free: 19.74 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002554/3.666, allocations: 0.9942 MB / 1.947 GB, free: 18.74 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/3.666, allocations: 4 kB / 1.947 GB, free: 18.74 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006998/3.667, allocations: 356.7 kB / 1.947 GB, free: 18.39 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001234/3.668, allocations: 243.6 kB / 1.947 GB, free: 18.15 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00116/3.669, allocations: 1.076 MB / 1.948 GB, free: 17.05 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001767/3.671, allocations: 179.1 kB / 1.949 GB, free: 16.87 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.926e-05/3.671, allocations: 56 kB / 1.949 GB, free: 16.82 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 (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 {5 22} Notification: Performance of prepare postOptimizeDAE: time 0.0002623/3.671, allocations: 132.9 kB / 1.949 GB, free: 16.68 MB / 0.9323 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002351/3.673, allocations: 0.8654 MB / 1.95 GB, free: 15.8 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002886/3.674, allocations: 126.5 kB / 1.95 GB, free: 15.68 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002618/3.676, allocations: 0.9804 MB / 1.951 GB, free: 14.68 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.139e-05/3.676, allocations: 12 kB / 1.951 GB, free: 14.67 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/3.676, allocations: 0 / 1.951 GB, free: 14.67 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002033/3.679, allocations: 0.885 MB / 1.952 GB, free: 13.75 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006166/3.685, allocations: 2.905 MB / 1.954 GB, free: 10.66 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.758e-06/3.685, allocations: 8.031 kB / 1.954 GB, free: 10.66 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008728/3.686, allocations: 151.7 kB / 1.955 GB, free: 10.51 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007033/3.686, allocations: 352.7 kB / 1.955 GB, free: 10.16 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.825e-05/3.686, allocations: 19.97 kB / 1.955 GB, free: 10.14 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001814/3.688, allocations: 1.139 MB / 1.956 GB, free: 8.977 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/3.688, allocations: 4 kB / 1.956 GB, free: 8.973 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002601/3.691, allocations: 1.292 MB / 1.957 GB, free: 7.555 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007976/3.692, allocations: 359.2 kB / 1.958 GB, free: 7.184 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003017/3.692, allocations: 8 kB / 1.958 GB, free: 7.176 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001584/3.694, allocations: 123.7 kB / 1.958 GB, free: 7.055 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.714e-05/3.694, allocations: 64.25 kB / 1.958 GB, free: 6.992 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.139e-05/3.694, allocations: 39.95 kB / 1.958 GB, free: 6.953 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0009967/3.695, allocations: 0.7329 MB / 1.959 GB, free: 6.215 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.01e-07/3.695, allocations: 0 / 1.959 GB, free: 6.215 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002994/3.698, allocations: 0.9741 MB / 1.96 GB, free: 5.238 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) * 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 {5 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.004271/3.702, allocations: 3.54 MB / 1.963 GB, free: 1.57 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002075/3.704, allocations: 1.243 MB / 1.964 GB, free: 332 kB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/3.704, allocations: 0 / 1.964 GB, free: 332 kB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.5857/4.29, allocations: 447 kB / 1.965 GB, free: 163.1 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005923/4.296, allocations: 0.5811 MB / 1.965 GB, free: 163.1 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01008/4.306, allocations: 2.059 MB / 1.967 GB, free: 162.5 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00132/4.307, allocations: 1.24 MB / 1.968 GB, free: 161.8 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.003632/4.311, allocations: 365.4 kB / 1.969 GB, free: 161.8 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001011/4.312, allocations: 0.5228 MB / 1.969 GB, free: 161.8 MB / 0.9323 GB Notification: Performance of SimCode: time 1.152e-06/4.312, allocations: 0 / 1.969 GB, free: 161.8 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1282/4.44, allocations: 45.17 MB / 2.013 GB, free: 160.8 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000207/4.441, allocations: 199.7 kB / 2.014 GB, free: 160.5 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.396/7.837, allocations: 4 kB / 2.014 GB, free: 160.5 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)