Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.669/1.669, allocations: 293 MB / 309 MB, free: 4.801 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.001133/0.001134, allocations: 178.7 kB / 378.7 MB, free: 1.016 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.732/1.732, allocations: 205.4 MB / 0.6383 GB, free: 8.23 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.0008589/0.0008589, allocations: 93.17 kB / 0.7527 GB, free: 62.86 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004509/0.0004511, allocations: 12 kB / 0.8768 GB, free: 10.44 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.296/0.2964, allocations: 116.4 MB / 0.9904 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.571/1.867, allocations: 423.9 MB / 1.404 GB, free: 278.1 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002664/1.867, allocations: 97.69 kB / 1.405 GB, free: 278.1 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.749/3.616, allocations: 0.5409 GB / 1.945 GB, free: 129.7 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.433e-06/3.616, allocations: 0 / 1.945 GB, free: 129.7 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002332/3.617, allocations: 39.38 kB / 1.945 GB, free: 129.7 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.005802/3.622, allocations: 2.144 MB / 1.948 GB, free: 128.1 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/3.622, allocations: 7.812 kB / 1.948 GB, free: 128.1 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004097/3.626, allocations: 0.6157 MB / 1.948 GB, free: 127.9 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003958/3.63, allocations: 1.791 MB / 1.95 GB, free: 126.6 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001664/3.631, allocations: 137 kB / 1.95 GB, free: 126.5 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000382/3.631, allocations: 121.1 kB / 1.95 GB, free: 126.4 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004138/3.635, allocations: 1.642 MB / 1.952 GB, free: 125.4 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.192e-05/3.635, allocations: 3.938 kB / 1.952 GB, free: 125.4 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002139/3.636, allocations: 47.75 kB / 1.952 GB, free: 125.3 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.492e-05/3.636, allocations: 39.52 kB / 1.952 GB, free: 125.3 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004196/3.64, allocations: 1.459 MB / 1.953 GB, free: 124.6 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.00979/3.65, allocations: 6.747 MB / 1.96 GB, free: 118.5 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001891/3.651, allocations: 0.7237 MB / 1.961 GB, free: 117.8 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001348/3.653, allocations: 490.2 kB / 1.961 GB, free: 117.3 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001026/3.654, allocations: 1.267 MB / 1.962 GB, free: 115.7 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00168/3.656, allocations: 0.6748 MB / 1.963 GB, free: 115 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=65): time 5.37e-06/3.656, allocations: 0 / 1.963 GB, free: 115 MB / 0.9323 GB Notification: Performance of matching and sorting (n=65): time 0.009764/3.665, allocations: 2.321 MB / 1.965 GB, free: 112.6 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001293/3.666, allocations: 479.2 kB / 1.966 GB, free: 112.1 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002597/3.668, allocations: 1.392 MB / 1.967 GB, free: 110.7 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001697/3.668, allocations: 49.69 kB / 1.967 GB, free: 110.6 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006176/3.669, allocations: 0.7117 MB / 1.968 GB, free: 109.9 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002213/3.669, allocations: 224.6 kB / 1.968 GB, free: 109.7 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.88e-05/3.669, allocations: 16 kB / 1.968 GB, free: 109.7 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.492e-05/3.669, allocations: 338 kB / 1.968 GB, free: 109.3 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001638/3.671, allocations: 0.4977 MB / 1.969 GB, free: 108.8 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001847/3.673, allocations: 0.8207 MB / 1.97 GB, free: 107.9 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003041/3.676, allocations: 1.158 MB / 1.971 GB, free: 106.6 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.205e-06/3.676, allocations: 0 / 1.971 GB, free: 106.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.005798/3.682, allocations: 1.654 MB / 1.972 GB, free: 105 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001954/3.682, allocations: 310 kB / 1.973 GB, free: 104.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/3.682, allocations: 8 kB / 1.973 GB, free: 104.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001319/3.683, allocations: 362.6 kB / 1.973 GB, free: 104.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001285/3.685, allocations: 271.5 kB / 1.973 GB, free: 103.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001016/3.686, allocations: 0.8958 MB / 1.974 GB, free: 103 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002856/3.689, allocations: 286.6 kB / 1.974 GB, free: 102.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001898/3.689, allocations: 63.89 kB / 1.974 GB, free: 102.7 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/3.689, allocations: 0 / 1.974 GB, free: 102.7 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00524/3.694, allocations: 1.485 MB / 1.976 GB, free: 101.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.994e-05/3.694, allocations: 8 kB / 1.976 GB, free: 101.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001179/3.695, allocations: 371.4 kB / 1.976 GB, free: 100.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001246/3.697, allocations: 263.6 kB / 1.976 GB, free: 100.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009199/3.697, allocations: 0.9035 MB / 1.977 GB, free: 99.62 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00229/3.7, allocations: 242.9 kB / 1.978 GB, free: 99.39 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001462/3.7, allocations: 59.92 kB / 1.978 GB, free: 99.33 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 () * 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.001048/3.701, allocations: 464.7 kB / 1.978 GB, free: 98.86 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004428/3.701, allocations: 142.3 kB / 1.978 GB, free: 98.72 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004331/3.706, allocations: 1.255 MB / 1.979 GB, free: 97.45 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.56e-05/3.706, allocations: 12 kB / 1.979 GB, free: 97.43 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/3.706, allocations: 7.938 kB / 1.979 GB, free: 97.43 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003606/3.709, allocations: 1.131 MB / 1.981 GB, free: 96.27 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007545/3.717, allocations: 3.579 MB / 1.984 GB, free: 92.58 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/3.717, allocations: 4.312 kB / 1.984 GB, free: 92.57 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008565/3.718, allocations: 167.8 kB / 1.984 GB, free: 92.41 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001102/3.719, allocations: 361.8 kB / 1.985 GB, free: 92.05 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.106e-05/3.719, allocations: 23.97 kB / 1.985 GB, free: 92.03 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008978/3.72, allocations: 0.8938 MB / 1.985 GB, free: 91.11 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/3.72, allocations: 15.81 kB / 1.986 GB, free: 91.1 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005683/3.726, allocations: 2.027 MB / 1.987 GB, free: 89 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001035/3.727, allocations: 387 kB / 1.988 GB, free: 88.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005066/3.727, allocations: 27.92 kB / 1.988 GB, free: 88.57 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00183/3.729, allocations: 147.8 kB / 1.988 GB, free: 88.43 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/3.729, allocations: 72.22 kB / 1.988 GB, free: 88.36 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-05/3.729, allocations: 39.95 kB / 1.988 GB, free: 88.32 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001917/3.731, allocations: 0.9823 MB / 1.989 GB, free: 87.34 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.8e-07/3.731, allocations: 0 / 1.989 GB, free: 87.34 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003718/3.735, allocations: 0.9513 MB / 1.99 GB, free: 86.38 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) * 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.001869/3.737, allocations: 0.8294 MB / 1.991 GB, free: 85.65 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.005526/3.743, allocations: 1.929 MB / 1.993 GB, free: 83.7 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 9.869e-06/3.743, allocations: 7.938 kB / 1.993 GB, free: 83.69 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001618/3.744, allocations: 0.5483 MB / 1.993 GB, free: 83.14 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004947/3.749, allocations: 0.8109 MB / 1.994 GB, free: 82.36 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005814/3.755, allocations: 3.155 MB / 1.997 GB, free: 79.14 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007855/3.756, allocations: 1.215 MB / 1.998 GB, free: 77.89 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002101/3.758, allocations: 370.3 kB / 1.999 GB, free: 77.55 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004245/3.758, allocations: 131.3 kB / 1.999 GB, free: 77.42 MB / 0.9323 GB Notification: Performance of SimCode: time 6.31e-07/3.758, allocations: 0 / 1.999 GB, free: 77.42 MB / 0.9323 GB Notification: Performance of Templates: time 0.05554/3.814, allocations: 40.71 MB / 2.039 GB, free: 37.05 MB / 0.9323 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe 2>&1)