Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.696/4.696, allocations: 0.5623 GB / 0.5769 GB, free: 3.332 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002374/0.002374, allocations: 363.2 kB / 0.644 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.886/3.886, allocations: 410.7 MB / 1.112 GB, free: 5.906 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001796/0.001796, allocations: 192.5 kB / 1.225 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004812/0.0004815, allocations: 12 kB / 1.348 GB, free: 8.199 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5916/0.5921, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic): time 0.1119/0.7041, allocations: 120.7 MB / 1.579 GB, free: 163.7 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.03197/0.7361, allocations: 22.65 MB / 1.601 GB, free: 141 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004786/0.7409, allocations: 119.2 kB / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.00492/0.7459, allocations: 1.343 MB / 1.602 GB, free: 139.6 MB / 0.8542 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.01424/0.7602, allocations: 4.264 MB / 1.606 GB, free: 135.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.01097/0.7712, allocations: 3.125 MB / 1.609 GB, free: 132.3 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.01114/0.7823, allocations: 9.841 MB / 1.619 GB, free: 122.4 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003686/0.7861, allocations: 2.256 MB / 1.621 GB, free: 120.2 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005255/0.7913, allocations: 2.582 MB / 1.624 GB, free: 117.6 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003509/0.7949, allocations: 2.182 MB / 1.626 GB, free: 115.4 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0006212/0.7955, allocations: 135.9 kB / 1.626 GB, free: 115.2 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005264/0.8008, allocations: 1.598 MB / 1.628 GB, free: 113.6 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0008867/0.8017, allocations: 0.5872 MB / 1.628 GB, free: 113 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.00124/0.803, allocations: 0.7382 MB / 1.629 GB, free: 112.3 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.006251/0.8093, allocations: 4.609 MB / 1.633 GB, free: 107.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.883e-06/0.8093, allocations: 0 / 1.633 GB, free: 107.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.304e-06/0.8093, allocations: 4 kB / 1.633 GB, free: 107.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.082e-05/0.8094, allocations: 0 / 1.633 GB, free: 107.7 MB / 0.8542 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.006512/0.8159, allocations: 3.382 MB / 1.637 GB, free: 104.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.816, allocations: 11.62 kB / 1.637 GB, free: 104.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0111/0.8271, allocations: 1.373 MB / 1.638 GB, free: 102.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005914/0.833, allocations: 2.814 MB / 1.641 GB, free: 99.91 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002457/0.8333, allocations: 260 kB / 1.641 GB, free: 99.64 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004283/0.8338, allocations: 236 kB / 1.641 GB, free: 99.41 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008878/0.8427, allocations: 3.187 MB / 1.644 GB, free: 96.04 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.49e-05/0.8428, allocations: 7.938 kB / 1.644 GB, free: 96.03 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003406/0.8431, allocations: 104 kB / 1.644 GB, free: 95.93 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.14e-05/0.8432, allocations: 67.95 kB / 1.644 GB, free: 95.86 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01076/0.854, allocations: 2.811 MB / 1.647 GB, free: 93.03 MB / 0.8542 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.02147/0.8755, allocations: 13.63 MB / 1.661 GB, free: 78.75 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004926/0.8805, allocations: 1.424 MB / 1.662 GB, free: 77.32 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00393/0.8844, allocations: 0.8886 MB / 1.663 GB, free: 76.44 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001619/0.8861, allocations: 1.777 MB / 1.665 GB, free: 74.27 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004124/0.8903, allocations: 1.161 MB / 1.666 GB, free: 73.05 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=126): time 5.783e-06/0.8903, allocations: 0 / 1.666 GB, free: 73.05 MB / 0.8542 GB Notification: Performance of matching and sorting (n=132): time 0.03594/0.9262, allocations: 9.772 MB / 1.675 GB, free: 63.12 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001235/0.9264, allocations: 0.5766 MB / 1.676 GB, free: 62.41 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004895/0.9313, allocations: 2.592 MB / 1.678 GB, free: 59.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0003461/0.9317, allocations: 65.7 kB / 1.678 GB, free: 59.73 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001177/0.9329, allocations: 1.337 MB / 1.68 GB, free: 58.38 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004827/0.9334, allocations: 461.5 kB / 1.68 GB, free: 57.92 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000167/0.9336, allocations: 36 kB / 1.68 GB, free: 57.88 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.9337, allocations: 373.9 kB / 1.68 GB, free: 57.51 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004256/0.938, allocations: 0.9524 MB / 1.681 GB, free: 56.56 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004759/0.9428, allocations: 1.554 MB / 1.683 GB, free: 54.76 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004517/0.9473, allocations: 1.085 MB / 1.684 GB, free: 53.67 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-05/0.9474, allocations: 4 kB / 1.684 GB, free: 53.67 MB / 0.8542 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.01522/0.9626, allocations: 3.377 MB / 1.687 GB, free: 50.27 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002305/0.9629, allocations: 0.4905 MB / 1.688 GB, free: 49.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.05e-05/0.9629, allocations: 12 kB / 1.688 GB, free: 49.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003716/0.9666, allocations: 0.9394 MB / 1.689 GB, free: 48.66 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00318/0.9698, allocations: 479.2 kB / 1.689 GB, free: 48.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003577/0.9734, allocations: 2.196 MB / 1.691 GB, free: 45.95 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005294/0.9787, allocations: 406.3 kB / 1.692 GB, free: 45.56 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002995/0.9791, allocations: 107.9 kB / 1.692 GB, free: 45.45 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.9791, allocations: 4 kB / 1.692 GB, free: 45.45 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01418/0.9933, allocations: 3.093 MB / 1.695 GB, free: 42.35 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.17e-05/0.9933, allocations: 12 kB / 1.695 GB, free: 42.34 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003591/0.9969, allocations: 0.9269 MB / 1.696 GB, free: 41.41 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003073/1, allocations: 479.2 kB / 1.696 GB, free: 40.95 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003413/1.003, allocations: 2.196 MB / 1.698 GB, free: 38.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004753/1.008, allocations: 363.3 kB / 1.699 GB, free: 38.35 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003086/1.009, allocations: 103.9 kB / 1.699 GB, free: 38.25 MB / 0.8542 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 (170): * Single equations (assignments): 167 * 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.001578/1.01, allocations: 0.6998 MB / 1.699 GB, free: 37.54 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000624/1.011, allocations: 288.6 kB / 1.7 GB, free: 37.25 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008727/1.02, allocations: 2.304 MB / 1.702 GB, free: 34.93 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-05/1.02, allocations: 20 kB / 1.702 GB, free: 34.91 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/1.02, allocations: 8 kB / 1.702 GB, free: 34.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007603/1.027, allocations: 1.924 MB / 1.704 GB, free: 32.92 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01678/1.044, allocations: 6.264 MB / 1.71 GB, free: 26.49 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.869e-05/1.044, allocations: 4.656 kB / 1.71 GB, free: 26.49 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002209/1.046, allocations: 303.5 kB / 1.71 GB, free: 26.19 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003361/1.05, allocations: 0.7881 MB / 1.711 GB, free: 25.41 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002147/1.05, allocations: 59.89 kB / 1.711 GB, free: 25.35 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002923/1.053, allocations: 1.953 MB / 1.713 GB, free: 23.34 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.843e-06/1.053, allocations: 8 kB / 1.713 GB, free: 23.34 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01326/1.066, allocations: 3.544 MB / 1.717 GB, free: 19.67 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001894/1.068, allocations: 0.6495 MB / 1.717 GB, free: 19 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006354/1.069, allocations: 43.94 kB / 1.717 GB, free: 18.95 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004065/1.073, allocations: 283.2 kB / 1.717 GB, free: 18.68 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002666/1.073, allocations: 120.7 kB / 1.718 GB, free: 18.56 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002117/1.073, allocations: 79.86 kB / 1.718 GB, free: 18.48 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.003592/1.077, allocations: 1.816 MB / 1.719 GB, free: 16.66 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9.2e-07/1.077, allocations: 0 / 1.719 GB, free: 16.66 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.005368/1.082, allocations: 1.468 MB / 1.721 GB, free: 15.2 MB / 0.8542 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 (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.001706/1.084, allocations: 0.7785 MB / 1.722 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01395/1.098, allocations: 3.674 MB / 1.725 GB, free: 10.73 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.439e-05/1.098, allocations: 4.438 kB / 1.725 GB, free: 10.72 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.004331/1.103, allocations: 1.058 MB / 1.726 GB, free: 9.664 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008491/1.111, allocations: 1.529 MB / 1.728 GB, free: 8.18 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01457/1.126, allocations: 6.015 MB / 1.734 GB, free: 2.059 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001423/1.127, allocations: 1.775 MB / 1.735 GB, free: 256 kB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.5193/1.646, allocations: 0.6603 MB / 1.736 GB, free: 259.1 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009725/1.648, allocations: 230.7 kB / 1.736 GB, free: 259.1 MB / 0.8542 GB Notification: Performance of SimCode: time 1.775e-06/1.648, allocations: 0.7812 kB / 1.736 GB, free: 259.1 MB / 0.8542 GB Notification: Performance of Templates: time 0.1817/1.829, allocations: 69.34 MB / 1.804 GB, free: 210.1 MB / 0.8542 GB