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.001049/0.001049, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001247/0.001247, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.453/1.453, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.536/1.536, allocations: 251.9 MB / 0.51 GB, free: 4.801 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.0005588/0.000559, allocations: 20 kB / 0.6241 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.517/0.5176, allocations: 106.3 MB / 0.728 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic): time 0.106/0.6237, allocations: 109.3 MB / 0.8347 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.03205/0.6558, allocations: 21.52 MB / 0.8557 GB, free: 8.277 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005586/0.6614, allocations: 107.2 kB / 0.8558 GB, free: 8.172 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.007228/0.6687, allocations: 1.461 MB / 0.8573 GB, free: 6.703 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01581/0.6845, allocations: 4.069 MB / 0.8612 GB, free: 2.625 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01092/0.6955, allocations: 3.107 MB / 0.8643 GB, free: 15.56 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.01141/0.7069, allocations: 5.062 MB / 0.8692 GB, free: 10.49 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005623/0.7126, allocations: 2.27 MB / 0.8714 GB, free: 8.184 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006996/0.7196, allocations: 2.417 MB / 0.8738 GB, free: 5.758 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003923/0.7236, allocations: 1.571 MB / 0.8753 GB, free: 4.18 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001202/0.7248, allocations: 132 kB / 0.8755 GB, free: 4.051 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007018/0.7318, allocations: 1.865 MB / 0.8773 GB, free: 2.184 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001457/0.7333, allocations: 0.5602 MB / 0.8778 GB, free: 1.621 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002096/0.7354, allocations: 0.7344 MB / 0.8785 GB, free: 0.8789 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.00952/0.745, allocations: 4.609 MB / 0.883 GB, free: 12.26 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.745, allocations: 0 / 0.883 GB, free: 12.26 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.695e-06/0.745, allocations: 4 kB / 0.8831 GB, free: 12.25 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0002161/0.7453, allocations: 0 / 0.8831 GB, free: 12.25 MB / 0.7012 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.01007/0.7553, allocations: 3.405 MB / 0.8864 GB, free: 8.746 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.7554, allocations: 8.031 kB / 0.8864 GB, free: 8.738 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01022/0.7656, allocations: 1.366 MB / 0.8877 GB, free: 7.367 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006665/0.7723, allocations: 2.682 MB / 0.8903 GB, free: 4.609 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004273/0.7728, allocations: 259.9 kB / 0.8906 GB, free: 4.34 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008069/0.7736, allocations: 240 kB / 0.8908 GB, free: 4.105 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009359/0.783, allocations: 3.144 MB / 0.8939 GB, free: 0.7734 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.516e-05/0.7831, allocations: 7.938 kB / 0.8939 GB, free: 0.7656 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005939/0.7837, allocations: 100 kB / 0.894 GB, free: 0.668 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.662e-05/0.7838, allocations: 67.94 kB / 0.8941 GB, free: 0.6016 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009123/0.793, allocations: 2.811 MB / 0.8968 GB, free: 13.77 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.443/1.236, allocations: 13.65 MB / 0.9101 GB, free: 169 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004928/1.241, allocations: 1.436 MB / 0.9115 GB, free: 169 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001631/1.243, allocations: 1.793 MB / 0.9133 GB, free: 167 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003745/1.246, allocations: 1.122 MB / 0.9144 GB, free: 166.9 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=126): time 4.919e-06/1.246, allocations: 4.641 kB / 0.9144 GB, free: 166.9 MB / 0.7169 GB Notification: Performance of matching and sorting (n=130): time 0.03448/1.281, allocations: 9.722 MB / 0.9239 GB, free: 162.6 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000167/1.281, allocations: 0.5779 MB / 0.9244 GB, free: 162 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004414/1.286, allocations: 2.691 MB / 0.9271 GB, free: 160.9 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0003314/1.286, allocations: 61.39 kB / 0.9271 GB, free: 160.9 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009541/1.287, allocations: 1.341 MB / 0.9284 GB, free: 159.9 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004252/1.287, allocations: 455.9 kB / 0.9289 GB, free: 159.5 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/1.287, allocations: 31.97 kB / 0.9289 GB, free: 159.5 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.747e-05/1.288, allocations: 376.5 kB / 0.9293 GB, free: 159.2 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003113/1.291, allocations: 0.9476 MB / 0.9302 GB, free: 158.9 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003466/1.294, allocations: 1.539 MB / 0.9317 GB, free: 157.9 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00332/1.297, allocations: 1.096 MB / 0.9328 GB, free: 157.5 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.662e-06/1.297, allocations: 3.969 kB / 0.9328 GB, free: 157.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.009581/1.307, allocations: 3.086 MB / 0.9358 GB, free: 156.4 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009513/1.308, allocations: 5.238 MB / 0.9409 GB, free: 150.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.959e-05/1.308, allocations: 11.88 kB / 0.9409 GB, free: 150.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002741/1.311, allocations: 0.8934 MB / 0.9418 GB, free: 150.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002502/1.313, allocations: 478.2 kB / 0.9422 GB, free: 150.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002689/1.316, allocations: 2.199 MB / 0.9444 GB, free: 148.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004791/1.321, allocations: 407.1 kB / 0.9448 GB, free: 148.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000287/1.321, allocations: 105.7 kB / 0.9449 GB, free: 148.5 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/1.321, allocations: 3.594 kB / 0.9449 GB, free: 148.5 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008871/1.33, allocations: 2.808 MB / 0.9476 GB, free: 147 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.852e-05/1.33, allocations: 11.53 kB / 0.9476 GB, free: 147 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002655/1.333, allocations: 0.8945 MB / 0.9485 GB, free: 146.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002269/1.335, allocations: 469.5 kB / 0.949 GB, free: 146.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002505/1.338, allocations: 2.195 MB / 0.9511 GB, free: 143.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004288/1.342, allocations: 375.6 kB / 0.9515 GB, free: 143.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002547/1.342, allocations: 107.9 kB / 0.9516 GB, free: 143.4 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 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.heaPum1.com.isOn,heaPum1.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count,realToInteger.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (168): * Single equations (assignments): 165 * 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.001822/1.344, allocations: 0.6886 MB / 0.9522 GB, free: 142.7 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000937/1.345, allocations: 284.6 kB / 0.9525 GB, free: 142.4 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008081/1.353, allocations: 2.369 MB / 0.9548 GB, free: 140 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.626e-05/1.353, allocations: 20 kB / 0.9548 GB, free: 140 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.206e-05/1.353, allocations: 0 / 0.9548 GB, free: 140 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006573/1.36, allocations: 1.99 MB / 0.9568 GB, free: 138 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01437/1.374, allocations: 6.22 MB / 0.9628 GB, free: 131.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.677e-05/1.374, allocations: 8 kB / 0.9629 GB, free: 131.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001672/1.376, allocations: 283.8 kB / 0.9631 GB, free: 131.3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002392/1.378, allocations: 0.745 MB / 0.9639 GB, free: 130.6 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000129/1.378, allocations: 59.89 kB / 0.9639 GB, free: 130.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002125/1.381, allocations: 1.949 MB / 0.9658 GB, free: 128.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/1.381, allocations: 11.94 kB / 0.9658 GB, free: 128.5 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01154/1.392, allocations: 4.325 MB / 0.97 GB, free: 123.8 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002249/1.394, allocations: 0.6573 MB / 0.9707 GB, free: 123.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001175/1.396, allocations: 44 kB / 0.9707 GB, free: 123 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004196/1.4, allocations: 281 kB / 0.971 GB, free: 122.8 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003106/1.4, allocations: 120.7 kB / 0.9711 GB, free: 122.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002518/1.4, allocations: 67.92 kB / 0.9712 GB, free: 122.6 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.005402/1.406, allocations: 1.894 MB / 0.973 GB, free: 120.7 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.4e-07/1.406, allocations: 0 / 0.973 GB, free: 120.7 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.008024/1.414, allocations: 1.547 MB / 0.9745 GB, free: 119.2 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 (84): * Single equations (assignments): 78 * 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.002416/1.416, allocations: 0.8815 MB / 0.9754 GB, free: 118.4 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01163/1.428, allocations: 3.648 MB / 0.979 GB, free: 114.8 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.536e-05/1.428, allocations: 4 kB / 0.979 GB, free: 114.8 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00342/1.431, allocations: 1.059 MB / 0.98 GB, free: 113.7 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008112/1.44, allocations: 1.503 MB / 0.9815 GB, free: 112.3 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01317/1.453, allocations: 6.007 MB / 0.9873 GB, free: 106.2 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001514/1.454, allocations: 1.771 MB / 0.9891 GB, free: 104.4 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.004363/1.459, allocations: 0.6453 MB / 0.9897 GB, free: 103.7 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009723/1.46, allocations: 239.2 kB / 0.9899 GB, free: 103.5 MB / 0.7169 GB Notification: Performance of SimCode: time 2.064e-06/1.46, allocations: 0 / 0.9899 GB, free: 103.5 MB / 0.7169 GB Notification: Performance of Templates: time 0.1024/1.562, allocations: 70.43 MB / 1.059 GB, free: 33.93 MB / 0.7169 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: