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.734/1.734, allocations: 285.6 MB / 293.1 MB, free: 10.17 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.001031/0.001031, allocations: 184.8 kB / 361.4 MB, free: 6.816 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.009/2.009, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.001178/0.001178, allocations: 90.72 kB / 0.733 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.559e-05/4.551e-05, allocations: 4 kB / 0.8518 GB, free: 2.672 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7779/0.778, allocations: 115.3 MB / 0.9644 GB, free: 78.72 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.123/1.901, allocations: 422.1 MB / 1.377 GB, free: 145.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002584/1.902, allocations: 87.14 kB / 1.377 GB, free: 145.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.653/3.555, allocations: 0.545 GB / 1.922 GB, free: 45.96 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.462e-06/3.555, allocations: 0 / 1.922 GB, free: 45.96 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001531/3.555, allocations: 47.92 kB / 1.922 GB, free: 45.92 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.00379/3.559, allocations: 1.891 MB / 1.924 GB, free: 43.96 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/3.559, allocations: 8.031 kB / 1.924 GB, free: 43.95 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004018/3.563, allocations: 0.6144 MB / 1.924 GB, free: 43.33 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003097/3.566, allocations: 1.774 MB / 1.926 GB, free: 41.5 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.307e-05/3.566, allocations: 88.02 kB / 1.926 GB, free: 41.41 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001711/3.566, allocations: 79.88 kB / 1.926 GB, free: 41.33 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001668/3.568, allocations: 1.016 MB / 1.927 GB, free: 40.31 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001913/3.57, allocations: 1.267 MB / 1.928 GB, free: 38.95 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.095e-05/3.57, allocations: 4 kB / 1.928 GB, free: 38.95 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001231/3.57, allocations: 4 kB / 1.928 GB, free: 38.94 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.73e-05/3.57, allocations: 39.94 kB / 1.928 GB, free: 38.9 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.008662/3.579, allocations: 6.499 MB / 1.935 GB, free: 32.13 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007114/3.58, allocations: 0.5044 MB / 1.935 GB, free: 31.61 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003865/3.58, allocations: 314.5 kB / 1.935 GB, free: 31.3 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001032/3.581, allocations: 1.27 MB / 1.937 GB, free: 29.75 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006255/3.582, allocations: 0.5037 MB / 1.937 GB, free: 29.19 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=65): time 2.334e-06/3.582, allocations: 4 kB / 1.937 GB, free: 29.19 MB / 0.9323 GB Notification: Performance of matching and sorting (n=65): time 0.002736/3.584, allocations: 0.9041 MB / 1.938 GB, free: 28.27 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.166e-05/3.584, allocations: 483.4 kB / 1.939 GB, free: 27.69 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00127/3.586, allocations: 0.9835 MB / 1.94 GB, free: 26.7 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001164/3.586, allocations: 33.7 kB / 1.94 GB, free: 26.66 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004936/3.586, allocations: 0.7251 MB / 1.94 GB, free: 25.92 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001649/3.587, allocations: 224.7 kB / 1.94 GB, free: 25.7 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.046e-05/3.587, allocations: 0 / 1.94 GB, free: 25.7 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 6.599e-05/3.587, allocations: 345.9 kB / 1.941 GB, free: 25.36 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004423/3.587, allocations: 306.6 kB / 1.941 GB, free: 25.06 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005764/3.588, allocations: 0.6164 MB / 1.942 GB, free: 24.31 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001839/3.59, allocations: 0.4904 MB / 1.942 GB, free: 23.82 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/3.59, allocations: 0 / 1.942 GB, free: 23.82 MB / 0.9323 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.004473/3.594, allocations: 1.273 MB / 1.943 GB, free: 22.54 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004495/3.595, allocations: 2.481 MB / 1.946 GB, free: 19.88 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/3.595, allocations: 8 kB / 1.946 GB, free: 19.87 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006011/3.595, allocations: 282.9 kB / 1.946 GB, free: 19.59 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001395/3.597, allocations: 267.6 kB / 1.946 GB, free: 19.33 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00101/3.598, allocations: 0.8806 MB / 1.947 GB, free: 18.43 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002599/3.6, allocations: 239 kB / 1.947 GB, free: 18.19 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001494/3.6, allocations: 55.95 kB / 1.948 GB, free: 18.14 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/3.6, allocations: 8 kB / 1.948 GB, free: 18.13 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004103/3.604, allocations: 1.108 MB / 1.949 GB, free: 17.02 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/3.605, allocations: 4 kB / 1.949 GB, free: 17.01 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005309/3.605, allocations: 279 kB / 1.949 GB, free: 16.74 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001293/3.606, allocations: 267.6 kB / 1.949 GB, free: 16.48 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009198/3.607, allocations: 0.8844 MB / 1.95 GB, free: 15.57 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002364/3.61, allocations: 199.2 kB / 1.95 GB, free: 15.37 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000111/3.61, allocations: 59.95 kB / 1.95 GB, free: 15.31 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 () * 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.0003059/3.61, allocations: 144.5 kB / 1.95 GB, free: 15.17 MB / 0.9323 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002534/3.613, allocations: 0.912 MB / 1.951 GB, free: 14.25 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001874/3.613, allocations: 130.4 kB / 1.951 GB, free: 14.12 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003454/3.616, allocations: 0.992 MB / 1.952 GB, free: 13.11 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/3.616, allocations: 8 kB / 1.952 GB, free: 13.1 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/3.616, allocations: 7.938 kB / 1.952 GB, free: 13.09 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002877/3.619, allocations: 0.9047 MB / 1.953 GB, free: 12.15 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006114/3.625, allocations: 3.172 MB / 1.956 GB, free: 8.883 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/3.625, allocations: 8 kB / 1.956 GB, free: 8.875 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009519/3.626, allocations: 172.2 kB / 1.957 GB, free: 8.707 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005371/3.627, allocations: 264.7 kB / 1.957 GB, free: 8.445 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.148e-05/3.627, allocations: 19.97 kB / 1.957 GB, free: 8.426 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009066/3.628, allocations: 0.8905 MB / 1.958 GB, free: 7.512 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/3.628, allocations: 4 kB / 1.958 GB, free: 7.508 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004097/3.632, allocations: 1.819 MB / 1.959 GB, free: 5.547 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008773/3.633, allocations: 371.1 kB / 1.96 GB, free: 5.164 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005036/3.633, allocations: 8 kB / 1.96 GB, free: 5.156 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001879/3.635, allocations: 131.9 kB / 1.96 GB, free: 5.027 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/3.635, allocations: 72.23 kB / 1.96 GB, free: 4.957 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001005/3.636, allocations: 39.95 kB / 1.96 GB, free: 4.918 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.00136/3.637, allocations: 0.7454 MB / 1.961 GB, free: 4.168 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.9e-07/3.637, allocations: 0 / 1.961 GB, free: 4.168 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003903/3.641, allocations: 0.9857 MB / 1.962 GB, free: 3.18 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) * 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.5761/4.217, allocations: 4.172 MB / 1.966 GB, free: 162.1 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.003046/4.22, allocations: 1.385 MB / 1.967 GB, free: 162 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 8.806e-06/4.22, allocations: 1.781 kB / 1.967 GB, free: 162 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0008601/4.221, allocations: 400.7 kB / 1.968 GB, free: 162 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003555/4.225, allocations: 0.5731 MB / 1.968 GB, free: 162 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007822/4.232, allocations: 2.376 MB / 1.97 GB, free: 161.3 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007809/4.233, allocations: 1.244 MB / 1.972 GB, free: 160.6 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002297/4.236, allocations: 410.5 kB / 1.972 GB, free: 160.6 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007355/4.236, allocations: 0.5406 MB / 1.973 GB, free: 160.6 MB / 0.9323 GB Notification: Performance of SimCode: time 2.054e-06/4.236, allocations: 0 / 1.973 GB, free: 160.6 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0959/4.332, allocations: 45.93 MB / 2.017 GB, free: 159.4 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002096/4.332, allocations: 208.2 kB / 2.018 GB, free: 159.1 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.61/7.943, allocations: 1.062 kB / 2.018 GB, free: 159.1 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)