Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.707/1.707, allocations: 297.8 MB / 313.7 MB, free: 176 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 176.5 kB / 384.6 MB, free: 10.89 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 223.2 MB / 0.6626 GB, free: 4.371 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008732/0.0008731, allocations: 103.5 kB / 0.7808 GB, free: 50.18 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004542/0.0004544, allocations: 12 kB / 0.9088 GB, free: 2.895 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7523/0.7528, allocations: 120.3 MB / 1.026 GB, free: 55.97 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.015/1.768, allocations: 426.4 MB / 1.443 GB, free: 245.2 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002749/1.768, allocations: 92.95 kB / 1.443 GB, free: 245.2 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.702/3.47, allocations: 0.5506 GB / 1.993 GB, free: 80.56 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.003e-06/3.47, allocations: 0 / 1.993 GB, free: 80.56 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002844/3.471, allocations: 42.66 kB / 1.993 GB, free: 80.52 MB / 0.948 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.006661/3.477, allocations: 2.139 MB / 1.995 GB, free: 78.33 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/3.477, allocations: 8.031 kB / 1.995 GB, free: 78.32 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004329/3.482, allocations: 0.6232 MB / 1.996 GB, free: 77.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004521/3.486, allocations: 1.785 MB / 1.998 GB, free: 75.89 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001761/3.487, allocations: 133 kB / 1.998 GB, free: 75.76 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004757/3.487, allocations: 119.9 kB / 1.998 GB, free: 75.64 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004373/3.491, allocations: 1.64 MB / 2 GB, free: 73.91 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.712e-05/3.491, allocations: 11.92 kB / 2 GB, free: 73.89 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002085/3.492, allocations: 52 kB / 2 GB, free: 73.84 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.169e-05/3.492, allocations: 32 kB / 2 GB, free: 73.81 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004304/3.496, allocations: 1.464 MB / 2.001 GB, free: 72.34 MB / 0.948 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.01033/3.506, allocations: 6.748 MB / 2.008 GB, free: 65.36 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001884/3.508, allocations: 0.7239 MB / 2.008 GB, free: 64.62 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001343/3.51, allocations: 486.2 kB / 2.009 GB, free: 64.14 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001016/3.511, allocations: 1.262 MB / 2.01 GB, free: 62.61 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001684/3.512, allocations: 0.6782 MB / 2.011 GB, free: 61.88 MB / 0.948 GB Notification: Performance of pre-optimization done (n=65): time 4.939e-06/3.512, allocations: 4 kB / 2.011 GB, free: 61.87 MB / 0.948 GB Notification: Performance of matching and sorting (n=65): time 0.009468/3.522, allocations: 2.32 MB / 2.013 GB, free: 59.52 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/3.522, allocations: 479.2 kB / 2.014 GB, free: 58.94 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002407/3.524, allocations: 1.388 MB / 2.015 GB, free: 57.54 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001502/3.525, allocations: 45.7 kB / 2.015 GB, free: 57.49 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005641/3.525, allocations: 0.71 MB / 2.016 GB, free: 56.78 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001915/3.525, allocations: 227.6 kB / 2.016 GB, free: 56.56 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.493e-05/3.525, allocations: 16 kB / 2.016 GB, free: 56.54 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.922e-05/3.526, allocations: 341.9 kB / 2.016 GB, free: 56.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001586/3.527, allocations: 0.5016 MB / 2.017 GB, free: 55.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001756/3.529, allocations: 0.8147 MB / 2.018 GB, free: 54.75 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002912/3.532, allocations: 1.154 MB / 2.019 GB, free: 53.51 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/3.532, allocations: 0 / 2.019 GB, free: 53.51 MB / 0.948 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.005425/3.537, allocations: 1.638 MB / 2.02 GB, free: 51.85 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000156/3.537, allocations: 310.7 kB / 2.021 GB, free: 51.45 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/3.537, allocations: 8 kB / 2.021 GB, free: 51.45 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001231/3.539, allocations: 372.3 kB / 2.021 GB, free: 51.08 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001247/3.54, allocations: 267.6 kB / 2.021 GB, free: 50.82 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009651/3.541, allocations: 0.9075 MB / 2.022 GB, free: 49.89 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002435/3.543, allocations: 290.6 kB / 2.022 GB, free: 49.61 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001349/3.544, allocations: 59.94 kB / 2.022 GB, free: 49.55 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.378e-06/3.544, allocations: 5.875 kB / 2.022 GB, free: 49.54 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005021/3.549, allocations: 1.481 MB / 2.024 GB, free: 48.05 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/3.549, allocations: 8 kB / 2.024 GB, free: 48.04 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001055/3.55, allocations: 362.7 kB / 2.024 GB, free: 47.69 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/3.551, allocations: 263.5 kB / 2.024 GB, free: 47.43 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009317/3.552, allocations: 0.8996 MB / 2.025 GB, free: 46.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002226/3.554, allocations: 254.9 kB / 2.026 GB, free: 46.25 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001337/3.554, allocations: 55.94 kB / 2.026 GB, free: 46.2 MB / 0.948 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.000959/3.555, allocations: 458.5 kB / 2.026 GB, free: 45.75 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003796/3.556, allocations: 154.2 kB / 2.026 GB, free: 45.59 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004247/3.56, allocations: 1.258 MB / 2.027 GB, free: 44.32 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/3.56, allocations: 8 kB / 2.027 GB, free: 44.32 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/3.56, allocations: 11.94 kB / 2.027 GB, free: 44.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003576/3.563, allocations: 1.131 MB / 2.029 GB, free: 43.14 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006887/3.57, allocations: 3.57 MB / 2.032 GB, free: 39.46 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.066e-06/3.57, allocations: 4.312 kB / 2.032 GB, free: 39.46 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000828/3.571, allocations: 163.8 kB / 2.032 GB, free: 39.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001106/3.572, allocations: 372.5 kB / 2.033 GB, free: 38.93 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.099e-05/3.572, allocations: 32.09 kB / 2.033 GB, free: 38.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00091/3.573, allocations: 0.8973 MB / 2.033 GB, free: 37.98 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.521e-06/3.573, allocations: 11.88 kB / 2.033 GB, free: 37.97 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005615/3.579, allocations: 2.017 MB / 2.035 GB, free: 35.88 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009315/3.58, allocations: 390.8 kB / 2.036 GB, free: 35.48 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004546/3.58, allocations: 20 kB / 2.036 GB, free: 35.46 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001731/3.582, allocations: 151.9 kB / 2.036 GB, free: 35.31 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001386/3.582, allocations: 76.16 kB / 2.036 GB, free: 35.24 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.625e-05/3.582, allocations: 35.97 kB / 2.036 GB, free: 35.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00177/3.584, allocations: 0.9823 MB / 2.037 GB, free: 34.22 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.6e-07/3.584, allocations: 0 / 2.037 GB, free: 34.22 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003349/3.588, allocations: 0.959 MB / 2.038 GB, free: 33.26 MB / 0.948 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.001855/3.589, allocations: 0.8268 MB / 2.039 GB, free: 32.51 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.005696/3.595, allocations: 1.933 MB / 2.041 GB, free: 30.55 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.937e-06/3.595, allocations: 4 kB / 2.041 GB, free: 30.55 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001722/3.597, allocations: 0.5446 MB / 2.041 GB, free: 30 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005572/3.602, allocations: 0.8152 MB / 2.042 GB, free: 29.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006332/3.609, allocations: 3.152 MB / 2.045 GB, free: 25.96 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007985/3.61, allocations: 1.215 MB / 2.046 GB, free: 24.72 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002179/3.612, allocations: 376.2 kB / 2.047 GB, free: 24.35 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004098/3.612, allocations: 127.4 kB / 2.047 GB, free: 24.22 MB / 0.948 GB Notification: Performance of SimCode: time 7.31e-07/3.612, allocations: 0 / 2.047 GB, free: 24.22 MB / 0.948 GB Notification: Performance of Templates: time 0.06268/3.675, allocations: 40.72 MB / 2.087 GB, free: 15.94 MB / 0.9792 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe 2>&1)