Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.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_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.637/4.637, allocations: 0.5623 GB / 0.5769 GB, free: 3.328 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.002438/0.002438, allocations: 356.4 kB / 0.644 GB, free: 185.6 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.951/3.951, allocations: 410.7 MB / 1.112 GB, free: 6.023 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.001756/0.001756, allocations: 178.9 kB / 1.225 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004835/0.0004837, allocations: 12 kB / 1.348 GB, free: 8.301 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5722/0.5727, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor): time 0.137/0.7098, allocations: 120.7 MB / 1.579 GB, free: 163.7 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.05227/0.7621, allocations: 22.67 MB / 1.601 GB, free: 141 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004829/0.767, allocations: 119.2 kB / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.004732/0.7717, allocations: 1.347 MB / 1.602 GB, free: 139.5 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.01403/0.7858, allocations: 4.259 MB / 1.606 GB, free: 135.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.01071/0.7965, allocations: 3.127 MB / 1.609 GB, free: 132.2 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.01117/0.8077, allocations: 9.852 MB / 1.619 GB, free: 122.3 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003713/0.8115, allocations: 2.257 MB / 1.621 GB, free: 120.1 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005326/0.8168, allocations: 2.578 MB / 1.624 GB, free: 117.5 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00333/0.8202, allocations: 2.169 MB / 1.626 GB, free: 115.4 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.000558/0.8208, allocations: 128 kB / 1.626 GB, free: 115.2 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00513/0.8259, allocations: 1.586 MB / 1.628 GB, free: 113.6 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0008924/0.8269, allocations: 0.595 MB / 1.628 GB, free: 113 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.001292/0.8282, allocations: 0.7266 MB / 1.629 GB, free: 112.3 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.006275/0.8345, allocations: 4.598 MB / 1.633 GB, free: 107.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.8345, allocations: 0 / 1.633 GB, free: 107.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.093e-06/0.8345, allocations: 0 / 1.633 GB, free: 107.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.449e-05/0.8346, 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: 577 * Number of variables: 577 Notification: Performance of Generate backend data structure: time 0.006989/0.8416, allocations: 3.351 MB / 1.637 GB, free: 104.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.8416, allocations: 11.62 kB / 1.637 GB, free: 104.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01173/0.8534, allocations: 1.366 MB / 1.638 GB, free: 102.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005884/0.8593, allocations: 2.818 MB / 1.641 GB, free: 99.97 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002336/0.8596, allocations: 263.8 kB / 1.641 GB, free: 99.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000444/0.86, allocations: 235.9 kB / 1.641 GB, free: 99.47 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008266/0.8683, allocations: 3.15 MB / 1.644 GB, free: 96.14 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.513e-05/0.8684, allocations: 11.92 kB / 1.644 GB, free: 96.12 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003242/0.8687, allocations: 96 kB / 1.644 GB, free: 96.03 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.457e-05/0.8688, allocations: 68.61 kB / 1.644 GB, free: 95.96 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01114/0.88, allocations: 2.772 MB / 1.647 GB, free: 93.18 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.02134/0.9014, allocations: 13.3 MB / 1.66 GB, free: 79.28 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004917/0.9063, allocations: 1.415 MB / 1.661 GB, free: 77.86 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003572/0.9099, allocations: 0.9088 MB / 1.662 GB, free: 76.95 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001611/0.9116, allocations: 1.777 MB / 1.664 GB, free: 74.79 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00406/0.9157, allocations: 1.169 MB / 1.665 GB, free: 73.55 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=126): time 5.317e-06/0.9157, allocations: 0 / 1.665 GB, free: 73.55 MB / 0.8542 GB Notification: Performance of matching and sorting (n=126): time 0.02359/0.9393, allocations: 4.252 MB / 1.669 GB, free: 69.25 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001282/0.9395, allocations: 0.5727 MB / 1.67 GB, free: 68.54 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004484/0.944, allocations: 2.481 MB / 1.672 GB, free: 66.04 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0003066/0.9443, allocations: 73.62 kB / 1.672 GB, free: 65.96 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001175/0.9455, allocations: 1.332 MB / 1.674 GB, free: 64.62 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004656/0.946, allocations: 451.3 kB / 1.674 GB, free: 64.17 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001542/0.9461, allocations: 28 kB / 1.674 GB, free: 64.14 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.9463, allocations: 377.9 kB / 1.675 GB, free: 63.77 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004143/0.9504, allocations: 0.9603 MB / 1.675 GB, free: 62.81 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004508/0.9549, allocations: 1.552 MB / 1.677 GB, free: 61.02 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004324/0.9593, allocations: 1.105 MB / 1.678 GB, free: 59.91 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.045e-05/0.9593, allocations: 4 kB / 1.678 GB, free: 59.91 MB / 0.8542 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.01531/0.9746, allocations: 3.108 MB / 1.681 GB, free: 56.77 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.000219/0.9749, allocations: 480 kB / 1.682 GB, free: 56.14 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.132e-05/0.9749, allocations: 12 kB / 1.682 GB, free: 56.12 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003068/0.978, allocations: 0.729 MB / 1.682 GB, free: 55.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003241/0.9813, allocations: 0.5031 MB / 1.683 GB, free: 54.89 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002592/0.9839, allocations: 1.791 MB / 1.685 GB, free: 53.05 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005206/0.9891, allocations: 0.513 MB / 1.685 GB, free: 52.54 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002634/0.9894, allocations: 111.9 kB / 1.685 GB, free: 52.43 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/0.9894, allocations: 3.938 kB / 1.685 GB, free: 52.43 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01265/1.002, allocations: 2.837 MB / 1.688 GB, free: 49.57 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.323e-05/1.002, allocations: 12 kB / 1.688 GB, free: 49.56 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002952/1.005, allocations: 0.7199 MB / 1.689 GB, free: 48.85 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003142/1.008, allocations: 0.4992 MB / 1.689 GB, free: 48.35 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00258/1.011, allocations: 1.799 MB / 1.691 GB, free: 46.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004668/1.016, allocations: 466 kB / 1.691 GB, free: 46.05 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002572/1.016, allocations: 99.91 kB / 1.691 GB, free: 45.95 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (186): * Single equations (assignments): 183 * 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 {2 17,2 17} Notification: Performance of prepare postOptimizeDAE: time 0.001562/1.017, allocations: 0.6886 MB / 1.692 GB, free: 45.25 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005348/1.018, allocations: 272.8 kB / 1.692 GB, free: 44.98 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01258/1.031, allocations: 2.597 MB / 1.695 GB, free: 42.37 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.269e-05/1.031, allocations: 12 kB / 1.695 GB, free: 42.36 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/1.031, allocations: 4 kB / 1.695 GB, free: 42.36 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01206/1.043, allocations: 2.227 MB / 1.697 GB, free: 40.08 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01805/1.061, allocations: 6.485 MB / 1.703 GB, free: 33.41 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.935e-05/1.061, allocations: 4 kB / 1.703 GB, free: 33.41 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002148/1.063, allocations: 303.7 kB / 1.704 GB, free: 33.11 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003026/1.066, allocations: 0.7098 MB / 1.704 GB, free: 32.41 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002193/1.066, allocations: 55.89 kB / 1.704 GB, free: 32.36 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002566/1.069, allocations: 1.788 MB / 1.706 GB, free: 30.52 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.499e-06/1.069, allocations: 11.94 kB / 1.706 GB, free: 30.51 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0132/1.082, allocations: 3.561 MB / 1.71 GB, free: 26.82 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001685/1.084, allocations: 0.6534 MB / 1.71 GB, free: 26.14 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005317/1.084, allocations: 39.95 kB / 1.71 GB, free: 26.11 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003668/1.088, allocations: 285 kB / 1.711 GB, free: 25.83 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002392/1.088, allocations: 112.7 kB / 1.711 GB, free: 25.72 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000193/1.089, allocations: 79.86 kB / 1.711 GB, free: 25.64 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.003831/1.092, allocations: 1.731 MB / 1.713 GB, free: 23.91 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.745e-06/1.092, allocations: 0 / 1.713 GB, free: 23.91 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.005485/1.098, allocations: 1.664 MB / 1.714 GB, free: 22.24 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 4 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U,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 (88): * Single equations (assignments): 82 * 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,2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.001737/1.1, allocations: 0.773 MB / 1.715 GB, free: 21.47 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01353/1.113, allocations: 3.587 MB / 1.718 GB, free: 17.86 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.395e-05/1.113, allocations: 4.438 kB / 1.718 GB, free: 17.86 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.00424/1.118, allocations: 1.054 MB / 1.719 GB, free: 16.81 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007729/1.125, allocations: 1.402 MB / 1.721 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01394/1.139, allocations: 6.123 MB / 1.727 GB, free: 9.195 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001377/1.141, allocations: 1.769 MB / 1.729 GB, free: 7.395 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.004514/1.145, allocations: 0.6938 MB / 1.729 GB, free: 6.715 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000819/1.146, allocations: 231.3 kB / 1.729 GB, free: 6.488 MB / 0.8542 GB Notification: Performance of SimCode: time 1.661e-06/1.146, allocations: 0 / 1.729 GB, free: 6.488 MB / 0.8542 GB Notification: Performance of Templates: time 0.6373/1.783, allocations: 64.78 MB / 1.793 GB, free: 224.1 MB / 0.8542 GB