Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.362/1.362, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001319/0.001319, allocations: 170.2 kB / 326.5 MB, free: 2.688 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.624/1.624, allocations: 205 MB / 0.5766 GB, free: 21.04 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007794/0.0007792, allocations: 94.38 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003559/0.000356, allocations: 14.75 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1982/0.1986, allocations: 105.4 MB / 0.8967 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic): time 0.1021/0.3008, allocations: 129.6 MB / 1.023 GB, free: 2.16 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.03674/0.3376, allocations: 25.37 MB / 1.048 GB, free: 8.727 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006208/0.3438, allocations: 123.2 kB / 1.048 GB, free: 8.605 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.005411/0.3493, allocations: 1.41 MB / 1.05 GB, free: 7.188 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01335/0.3627, allocations: 4.175 MB / 1.054 GB, free: 3 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.4929/0.8556, allocations: 3.161 MB / 1.057 GB, free: 42.25 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.02021/0.8758, allocations: 11.34 MB / 1.068 GB, free: 42.25 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006342/0.8822, allocations: 2.482 MB / 1.07 GB, free: 41.97 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008768/0.891, allocations: 2.801 MB / 1.073 GB, free: 41.96 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005882/0.8969, allocations: 2.313 MB / 1.075 GB, free: 41.87 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001178/0.8982, allocations: 133.8 kB / 1.075 GB, free: 41.87 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008969/0.9071, allocations: 2.57 MB / 1.078 GB, free: 41.87 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001732/0.9089, allocations: 0.6137 MB / 1.078 GB, free: 41.74 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.005021/0.914, allocations: 1.684 MB / 1.08 GB, free: 41.24 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.008745/0.9227, allocations: 4.883 MB / 1.085 GB, free: 41.08 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/0.9228, allocations: 0 / 1.085 GB, free: 41.08 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.645e-06/0.9228, allocations: 0 / 1.085 GB, free: 41.08 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001842/0.923, allocations: 0 / 1.085 GB, free: 41.08 MB / 0.698 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.00763/0.9306, allocations: 3.42 MB / 1.088 GB, free: 39.27 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.9307, allocations: 9.344 kB / 1.088 GB, free: 39.27 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009348/0.94, allocations: 1.366 MB / 1.09 GB, free: 39.05 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005851/0.9459, allocations: 2.903 MB / 1.092 GB, free: 38.43 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002962/0.9463, allocations: 258.2 kB / 1.093 GB, free: 38.36 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005685/0.9468, allocations: 237.4 kB / 1.093 GB, free: 38.36 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007912/0.9548, allocations: 3.186 MB / 1.096 GB, free: 37.85 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.917e-05/0.9549, allocations: 12 kB / 1.096 GB, free: 37.84 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002739/0.9551, allocations: 99.75 kB / 1.096 GB, free: 37.84 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.822e-05/0.9552, allocations: 64.41 kB / 1.096 GB, free: 37.84 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009913/0.9651, allocations: 2.831 MB / 1.099 GB, free: 37.78 MB / 0.698 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.01965/0.9848, allocations: 13.59 MB / 1.112 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003904/0.9888, allocations: 1.438 MB / 1.114 GB, free: 30.39 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002704/0.9915, allocations: 0.8909 MB / 1.114 GB, free: 30.22 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001524/0.993, allocations: 1.793 MB / 1.116 GB, free: 28.19 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003315/0.9964, allocations: 1.133 MB / 1.117 GB, free: 27.73 MB / 0.698 GB Notification: Performance of pre-optimization done (n=126): time 4.438e-06/0.9964, allocations: 0 / 1.117 GB, free: 27.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=132): time 0.03064/1.027, allocations: 9.817 MB / 1.127 GB, free: 22.91 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001423/1.027, allocations: 0.5833 MB / 1.127 GB, free: 22.21 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004237/1.031, allocations: 2.61 MB / 1.13 GB, free: 21.55 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004342/1.032, allocations: 62.55 kB / 1.13 GB, free: 21.52 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001142/1.033, allocations: 1.35 MB / 1.131 GB, free: 20.95 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006001/1.034, allocations: 458.5 kB / 1.132 GB, free: 20.62 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002495/1.034, allocations: 148.6 kB / 1.132 GB, free: 20.59 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.559e-05/1.034, allocations: 308.9 kB / 1.132 GB, free: 20.29 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00338/1.037, allocations: 0.9542 MB / 1.133 GB, free: 20.09 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003922/1.041, allocations: 1.57 MB / 1.135 GB, free: 19.21 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006368/1.048, allocations: 2.234 MB / 1.137 GB, free: 18 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-05/1.048, allocations: 4 kB / 1.137 GB, free: 18 MB / 0.698 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.0115/1.059, allocations: 3.182 MB / 1.14 GB, free: 15.64 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003487/1.06, allocations: 494.8 kB / 1.14 GB, free: 15.03 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.105e-05/1.06, allocations: 12 kB / 1.14 GB, free: 15.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002835/1.063, allocations: 0.891 MB / 1.141 GB, free: 14.29 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002726/1.065, allocations: 479.7 kB / 1.142 GB, free: 13.85 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002821/1.068, allocations: 2.194 MB / 1.144 GB, free: 12.06 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005145/1.073, allocations: 406.6 kB / 1.144 GB, free: 11.69 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003999/1.074, allocations: 109.5 kB / 1.144 GB, free: 11.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/1.074, allocations: 4 kB / 1.144 GB, free: 11.6 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009942/1.084, allocations: 2.886 MB / 1.147 GB, free: 9.562 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.429e-05/1.084, allocations: 12 kB / 1.147 GB, free: 9.551 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002619/1.086, allocations: 0.8837 MB / 1.148 GB, free: 8.82 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002533/1.089, allocations: 474.9 kB / 1.149 GB, free: 8.375 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002684/1.092, allocations: 2.204 MB / 1.151 GB, free: 6.129 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004613/1.096, allocations: 366.5 kB / 1.151 GB, free: 5.773 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003991/1.097, allocations: 108.1 kB / 1.151 GB, free: 5.668 MB / 0.698 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 (realToInteger.y,N.count,$PRE.N.count,N.T_start,$PRE.N.T_start,heaPum1.com.isOn,$PRE.heaPum1.com.isOn,heaPum.com.isOn,$PRE.heaPum.com.isOn,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (170): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,23), (4,25)} Notification: Performance of prepare postOptimizeDAE: time 0.001902/1.099, allocations: 0.7031 MB / 1.152 GB, free: 4.973 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001121/1.1, allocations: 276.6 kB / 1.152 GB, free: 4.699 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007194/1.107, allocations: 2.323 MB / 1.154 GB, free: 2.387 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.548e-05/1.107, allocations: 16 kB / 1.154 GB, free: 2.371 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/1.107, allocations: 3.938 kB / 1.154 GB, free: 2.367 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005588/1.113, allocations: 1.931 MB / 1.156 GB, free: 412 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0153/1.128, allocations: 6.237 MB / 1.162 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.466e-05/1.128, allocations: 8 kB / 1.162 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001721/1.13, allocations: 300.8 kB / 1.163 GB, free: 9.809 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002461/1.132, allocations: 0.7452 MB / 1.163 GB, free: 9.066 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001476/1.132, allocations: 51.95 kB / 1.163 GB, free: 9.016 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002653/1.135, allocations: 1.963 MB / 1.165 GB, free: 7.012 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.089e-05/1.135, allocations: 14.8 kB / 1.165 GB, free: 7 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01182/1.147, allocations: 3.553 MB / 1.169 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001935/1.149, allocations: 0.56 MB / 1.169 GB, free: 2.789 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001074/1.15, allocations: 43.92 kB / 1.169 GB, free: 2.746 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003703/1.154, allocations: 282.1 kB / 1.17 GB, free: 2.473 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002723/1.154, allocations: 123.2 kB / 1.17 GB, free: 2.359 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002023/1.154, allocations: 71.92 kB / 1.17 GB, free: 2.289 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.004197/1.158, allocations: 1.836 MB / 1.172 GB, free: 464 kB / 0.7136 GB Notification: Performance of sort global known variables: time 2.91e-07/1.158, allocations: 3.75 kB / 1.172 GB, free: 464 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.005327/1.164, allocations: 1.535 MB / 1.173 GB, free: 14.92 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 2 (heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum1.com.isOn,N.T_start,N.count,realToInteger.y) * 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 (86): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,17), (4,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002014/1.166, allocations: 0.8755 MB / 1.174 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01182/1.178, allocations: 3.691 MB / 1.178 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.876e-05/1.178, allocations: 5.781 kB / 1.178 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.003489/1.181, allocations: 1.011 MB / 1.179 GB, free: 9.535 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01121/1.192, allocations: 1.591 MB / 1.18 GB, free: 7.977 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01432/1.207, allocations: 6.269 MB / 1.186 GB, free: 1.641 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001376/1.208, allocations: 1.714 MB / 1.188 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001186/1.209, allocations: 287.2 kB / 1.188 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of SimCode: time 1.984e-06/1.209, allocations: 4 kB / 1.188 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of Templates: time 0.1039/1.313, allocations: 82.25 MB / 1.269 GB, free: 13.84 MB / 0.823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe 2>&1)