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/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008768/0.0008768, allocations: 97.64 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005348/0.005348, allocations: 170.1 kB / 16.27 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.398/1.398, allocations: 205.4 MB / 222.5 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.548/1.548, allocations: 252 MB / 0.5105 GB, free: 4.629 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005203/0.0005203, allocations: 16 kB / 0.6249 GB, free: 0.7383 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4763/0.4769, allocations: 106.3 MB / 0.7287 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic): time 0.1144/0.5913, allocations: 127.9 MB / 0.8536 GB, free: 11 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03364/0.625, allocations: 25.09 MB / 0.8781 GB, free: 1.848 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005162/0.6302, allocations: 115.2 kB / 0.8782 GB, free: 1.734 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.004865/0.6351, allocations: 1.414 MB / 0.8796 GB, free: 320 kB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01389/0.649, allocations: 4.171 MB / 0.8836 GB, free: 12.13 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.008896/0.6579, allocations: 3.183 MB / 0.8868 GB, free: 8.973 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01333/0.6713, allocations: 11.33 MB / 0.8978 GB, free: 13.61 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004529/0.6759, allocations: 2.511 MB / 0.9003 GB, free: 11.04 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006554/0.6824, allocations: 2.757 MB / 0.903 GB, free: 8.266 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004097/0.6866, allocations: 2.31 MB / 0.9052 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0008162/0.6874, allocations: 128 kB / 0.9053 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006388/0.6938, allocations: 2.575 MB / 0.9079 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001093/0.6949, allocations: 0.6143 MB / 0.9085 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002899/0.6978, allocations: 1.708 MB / 0.9101 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.4518/1.15, allocations: 6.114 MB / 0.9161 GB, free: 49.6 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.917e-06/1.15, allocations: 1.125 kB / 0.9161 GB, free: 49.6 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.825e-06/1.15, allocations: 3.188 kB / 0.9161 GB, free: 49.6 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001775/1.15, allocations: 0 / 0.9161 GB, free: 49.6 MB / 0.7169 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.01066/1.161, allocations: 3.414 MB / 0.9194 GB, free: 47.9 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/1.161, allocations: 10.03 kB / 0.9194 GB, free: 47.9 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0111/1.172, allocations: 1.373 MB / 0.9208 GB, free: 47.71 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006525/1.178, allocations: 2.893 MB / 0.9236 GB, free: 47.1 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004127/1.179, allocations: 255.2 kB / 0.9239 GB, free: 47.03 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006545/1.18, allocations: 238.5 kB / 0.9241 GB, free: 47.02 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00864/1.188, allocations: 3.185 MB / 0.9272 GB, free: 46.52 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.988e-05/1.188, allocations: 9.359 kB / 0.9272 GB, free: 46.52 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003485/1.189, allocations: 103.7 kB / 0.9273 GB, free: 46.52 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.333e-05/1.189, allocations: 63.25 kB / 0.9274 GB, free: 46.52 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008823/1.198, allocations: 2.83 MB / 0.9301 GB, free: 46.45 MB / 0.7169 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.02102/1.219, allocations: 13.59 MB / 0.9434 GB, free: 40.22 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004185/1.223, allocations: 1.433 MB / 0.9448 GB, free: 40.18 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00284/1.226, allocations: 0.897 MB / 0.9457 GB, free: 40.15 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001511/1.227, allocations: 1.787 MB / 0.9474 GB, free: 38.18 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003247/1.231, allocations: 1.137 MB / 0.9485 GB, free: 37.98 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=126): time 6.812e-06/1.231, allocations: 0 / 0.9485 GB, free: 37.98 MB / 0.7169 GB Notification: Performance of matching and sorting (n=132): time 0.03694/1.267, allocations: 9.818 MB / 0.9581 GB, free: 34.26 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002124/1.268, allocations: 0.5801 MB / 0.9587 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004434/1.272, allocations: 2.605 MB / 0.9612 GB, free: 33.31 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.000391/1.273, allocations: 62.45 kB / 0.9613 GB, free: 33.28 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001085/1.274, allocations: 1.342 MB / 0.9626 GB, free: 32.84 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005032/1.274, allocations: 459.4 kB / 0.963 GB, free: 32.55 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002287/1.274, allocations: 151.5 kB / 0.9632 GB, free: 32.54 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.329e-05/1.274, allocations: 305.2 kB / 0.9635 GB, free: 32.24 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00344/1.278, allocations: 0.9607 MB / 0.9644 GB, free: 32.22 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003844/1.282, allocations: 1.57 MB / 0.9659 GB, free: 31.55 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00643/1.288, allocations: 2.228 MB / 0.9681 GB, free: 31.03 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.678e-06/1.288, allocations: 3.344 kB / 0.9681 GB, free: 31.03 MB / 0.7169 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.01102/1.299, allocations: 3.189 MB / 0.9712 GB, free: 30.73 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002459/1.3, allocations: 0.4893 MB / 0.9717 GB, free: 30.15 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.838e-05/1.3, allocations: 12.06 kB / 0.9717 GB, free: 30.15 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002868/1.302, allocations: 0.8886 MB / 0.9726 GB, free: 30.06 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002685/1.305, allocations: 478 kB / 0.973 GB, free: 29.94 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002707/1.308, allocations: 2.205 MB / 0.9752 GB, free: 28.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005312/1.313, allocations: 411.3 kB / 0.9756 GB, free: 28.58 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00036/1.314, allocations: 102.2 kB / 0.9757 GB, free: 28.55 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/1.314, allocations: 6.656 kB / 0.9757 GB, free: 28.55 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01019/1.324, allocations: 2.884 MB / 0.9785 GB, free: 27.96 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.082e-05/1.324, allocations: 12.69 kB / 0.9785 GB, free: 27.96 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002729/1.327, allocations: 0.8841 MB / 0.9794 GB, free: 27.76 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002519/1.329, allocations: 476.9 kB / 0.9798 GB, free: 27.64 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002607/1.332, allocations: 2.19 MB / 0.982 GB, free: 26.44 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005052/1.337, allocations: 370.9 kB / 0.9823 GB, free: 26.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003104/1.337, allocations: 109 kB / 0.9824 GB, free: 26.28 MB / 0.7169 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.002068/1.339, allocations: 0.7074 MB / 0.9831 GB, free: 26.05 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008933/1.34, allocations: 283.2 kB / 0.9834 GB, free: 25.91 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007542/1.348, allocations: 2.311 MB / 0.9856 GB, free: 25.32 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.53e-05/1.348, allocations: 20.75 kB / 0.9857 GB, free: 25.32 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/1.348, allocations: 3.938 kB / 0.9857 GB, free: 25.32 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005867/1.354, allocations: 1.937 MB / 0.9876 GB, free: 24.73 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01486/1.369, allocations: 6.23 MB / 0.9936 GB, free: 22.17 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-05/1.369, allocations: 11.81 kB / 0.9937 GB, free: 22.16 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001771/1.37, allocations: 294 kB / 0.9939 GB, free: 21.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002459/1.373, allocations: 0.7572 MB / 0.9947 GB, free: 21.28 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001286/1.373, allocations: 48.44 kB / 0.9947 GB, free: 21.25 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002284/1.375, allocations: 1.958 MB / 0.9966 GB, free: 19.61 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.154e-06/1.375, allocations: 10.81 kB / 0.9966 GB, free: 19.61 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01117/1.387, allocations: 3.555 MB / 1 GB, free: 16.89 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002423/1.389, allocations: 0.6393 MB / 1.001 GB, free: 16.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005685/1.39, allocations: 35.98 kB / 1.001 GB, free: 16.37 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003278/1.393, allocations: 286.7 kB / 1.001 GB, free: 16.09 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002175/1.393, allocations: 115 kB / 1.001 GB, free: 15.99 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001518/1.393, allocations: 71.92 kB / 1.001 GB, free: 15.92 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.003164/1.396, allocations: 1.832 MB / 1.003 GB, free: 14.09 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.134e-06/1.396, allocations: 4 kB / 1.003 GB, free: 14.08 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.006473/1.403, allocations: 1.537 MB / 1.005 GB, free: 12.55 MB / 0.7169 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.002543/1.405, allocations: 0.8788 MB / 1.005 GB, free: 11.74 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01152/1.417, allocations: 3.692 MB / 1.009 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.405e-05/1.417, allocations: 7.859 kB / 1.009 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.003484/1.421, allocations: 1.065 MB / 1.01 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01111/1.432, allocations: 1.591 MB / 1.012 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01291/1.445, allocations: 6.298 MB / 1.018 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001462/1.446, allocations: 1.725 MB / 1.019 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.004053/1.45, allocations: 0.6496 MB / 1.02 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008118/1.451, allocations: 247.3 kB / 1.02 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of SimCode: time 9.72e-07/1.451, allocations: 0 / 1.02 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of Templates: time 0.1242/1.575, allocations: 74.56 MB / 1.093 GB, free: 3.312 MB / 0.795 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: