Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.conf.json 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/IBPSA 3.0.0-master/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 IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") translateModel(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008646/0.0008646, allocations: 172.7 kB / 16.76 MB, free: 4.926 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4479/0.4479, allocations: 86.28 MB / 103.8 MB, free: 14.54 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 223.3 MB / 348.4 MB, free: 4.953 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008/0.0008001, allocations: 93.42 kB / 420.2 MB, free: 9.625 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004441/0.0004443, allocations: 16 kB / 0.4901 GB, free: 7.98 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.3164, allocations: 71.02 MB / 0.5594 GB, free: 43.67 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8736/1.19, allocations: 386.3 MB / 0.9367 GB, free: 231.6 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002909/1.19, allocations: 93.95 kB / 0.9368 GB, free: 231.6 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.23/4.421, allocations: 1.047 GB / 1.984 GB, free: 57.49 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.024e-06/4.421, allocations: 0 / 1.984 GB, free: 57.49 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0004567/4.421, allocations: 81 kB / 1.984 GB, free: 57.48 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 583 * Number of variables: 583 Notification: Performance of Generate backend data structure: time 0.01035/4.432, allocations: 3.674 MB / 1.988 GB, free: 55.61 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/4.432, allocations: 9.875 kB / 1.988 GB, free: 55.61 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008235/4.44, allocations: 1.211 MB / 1.989 GB, free: 55.43 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008103/4.448, allocations: 3.3 MB / 1.992 GB, free: 54.77 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000353/4.448, allocations: 258.8 kB / 1.993 GB, free: 54.7 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009179/4.449, allocations: 232.2 kB / 1.993 GB, free: 54.7 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008923/4.458, allocations: 3.189 MB / 1.996 GB, free: 54.18 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001052/4.458, allocations: 9.438 kB / 1.996 GB, free: 54.18 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006167/4.459, allocations: 104.8 kB / 1.996 GB, free: 54.18 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001034/4.459, allocations: 74.55 kB / 1.996 GB, free: 54.18 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008538/4.468, allocations: 2.804 MB / 1.999 GB, free: 54.14 MB / 0.6355 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.02086/4.489, allocations: 13.3 MB / 2.012 GB, free: 48.33 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003586/4.492, allocations: 1.521 MB / 2.013 GB, free: 48.11 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002736/4.495, allocations: 0.8626 MB / 2.014 GB, free: 48.09 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001491/4.496, allocations: 1.78 MB / 2.016 GB, free: 46.12 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003171/4.5, allocations: 1.202 MB / 2.017 GB, free: 45.84 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=118): time 7.665e-06/4.5, allocations: 0 / 2.017 GB, free: 45.84 MB / 0.6355 GB Notification: Performance of matching and sorting (n=124): time 0.0374/4.537, allocations: 13.4 MB / 2.03 GB, free: 39.58 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002129/4.537, allocations: 0.9376 MB / 2.031 GB, free: 38.45 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003612/4.541, allocations: 2.622 MB / 2.034 GB, free: 38.19 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002866/4.541, allocations: 58.89 kB / 2.034 GB, free: 38.16 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001004/4.542, allocations: 1.358 MB / 2.035 GB, free: 37.7 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003294/4.543, allocations: 436.3 kB / 2.035 GB, free: 37.43 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/4.543, allocations: 32.59 kB / 2.035 GB, free: 37.43 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.206e-05/4.543, allocations: 373.2 kB / 2.036 GB, free: 37.11 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002949/4.546, allocations: 0.932 MB / 2.037 GB, free: 37.09 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003236/4.549, allocations: 1.58 MB / 2.038 GB, free: 36.38 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005385/4.554, allocations: 2.158 MB / 2.04 GB, free: 35.84 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/4.554, allocations: 3.062 kB / 2.04 GB, free: 35.84 MB / 0.6355 GB Notification: Performance of matching and sorting (n=209) (initialization): time 0.007839/4.562, allocations: 2.996 MB / 2.043 GB, free: 35.54 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002219/4.562, allocations: 0.4883 MB / 2.044 GB, free: 34.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.974e-05/4.563, allocations: 13.72 kB / 2.044 GB, free: 34.95 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002608/4.565, allocations: 0.9244 MB / 2.045 GB, free: 34.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002157/4.567, allocations: 463.1 kB / 2.045 GB, free: 34.88 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002493/4.57, allocations: 2.182 MB / 2.047 GB, free: 33.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004667/4.574, allocations: 419.7 kB / 2.048 GB, free: 33.75 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002517/4.575, allocations: 110.8 kB / 2.048 GB, free: 33.75 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/4.575, allocations: 5.844 kB / 2.048 GB, free: 33.75 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007282/4.582, allocations: 2.662 MB / 2.05 GB, free: 33.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.707e-05/4.582, allocations: 17.5 kB / 2.05 GB, free: 33.54 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00263/4.585, allocations: 0.9285 MB / 2.051 GB, free: 33.48 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002133/4.587, allocations: 450.5 kB / 2.052 GB, free: 33.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002426/4.589, allocations: 2.178 MB / 2.054 GB, free: 32.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004238/4.594, allocations: 360.9 kB / 2.054 GB, free: 32.34 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002389/4.594, allocations: 104.6 kB / 2.054 GB, free: 32.34 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,heaPum.stage,$PRE.heaPum1.com.isOn,heaPum1.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 (154): * Single equations (assignments): 151 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 23,4 25} Notification: Performance of prepare postOptimizeDAE: time 0.001913/4.596, allocations: 0.704 MB / 2.055 GB, free: 32.11 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008443/4.597, allocations: 291 kB / 2.055 GB, free: 31.97 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008204/4.605, allocations: 2.355 MB / 2.058 GB, free: 31.81 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.449e-05/4.605, allocations: 22.58 kB / 2.058 GB, free: 31.81 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/4.605, allocations: 7.875 kB / 2.058 GB, free: 31.8 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006998/4.612, allocations: 2.13 MB / 2.06 GB, free: 31.48 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01586/4.628, allocations: 6.884 MB / 2.066 GB, free: 28.47 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.52e-05/4.628, allocations: 3.906 kB / 2.066 GB, free: 28.47 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001558/4.629, allocations: 300.2 kB / 2.067 GB, free: 28.45 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002243/4.632, allocations: 0.7865 MB / 2.067 GB, free: 28.27 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001169/4.632, allocations: 48.95 kB / 2.067 GB, free: 28.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002054/4.634, allocations: 1.968 MB / 2.069 GB, free: 26.81 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.098e-06/4.634, allocations: 10.16 kB / 2.069 GB, free: 26.8 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01068/4.645, allocations: 3.594 MB / 2.073 GB, free: 25.26 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001933/4.646, allocations: 0.6416 MB / 2.074 GB, free: 24.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009617/4.647, allocations: 35.41 kB / 2.074 GB, free: 24.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003383/4.651, allocations: 281.1 kB / 2.074 GB, free: 24.77 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001965/4.651, allocations: 114.5 kB / 2.074 GB, free: 24.74 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001622/4.651, allocations: 74.59 kB / 2.074 GB, free: 24.73 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.003435/4.655, allocations: 1.818 MB / 2.076 GB, free: 24.03 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.91e-07/4.655, allocations: 0 / 2.076 GB, free: 24.03 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.005476/4.66, allocations: 1.57 MB / 2.077 GB, free: 23.77 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum.stage,heaPum1.com.isOn,N.T_start,N.count) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 76 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 17,4 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.002633/4.663, allocations: 1.381 MB / 2.079 GB, free: 23.23 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.01033/4.673, allocations: 3.575 MB / 2.082 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 9.889e-06/4.673, allocations: 4.719 kB / 2.082 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.003027/4.676, allocations: 1.054 MB / 2.083 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01015/4.686, allocations: 1.577 MB / 2.085 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01149/4.698, allocations: 6.016 MB / 2.091 GB, free: 13.72 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001347/4.699, allocations: 1.721 MB / 2.092 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.003746/4.703, allocations: 0.6502 MB / 2.093 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007079/4.704, allocations: 251.3 kB / 2.093 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of SimCode: time 4.61e-07/4.704, allocations: 0 / 2.093 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of Templates: time 0.4371/5.141, allocations: 79.12 MB / 2.17 GB, free: 64.46 MB / 0.6511 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe 2>&1)