Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003708/0.003708, allocations: 356.5 kB / 16.59 MB, free: 5.562 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.706/1.706, allocations: 165.8 MB / 183.1 MB, free: 5.512 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.009/4.009, allocations: 410.8 MB / 0.6001 GB, free: 15.08 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001772/0.001772, allocations: 198.8 kB / 0.6668 GB, free: 6.898 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006984/0.0006988, allocations: 12 kB / 0.7429 GB, free: 8.945 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4363/0.437, allocations: 67.44 MB / 0.8087 GB, free: 28.78 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor): time 0.1912/0.6283, allocations: 120.7 MB / 0.9266 GB, free: 3.789 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.4624/1.091, allocations: 22.64 MB / 0.9487 GB, free: 38.19 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006135/1.097, allocations: 118.1 kB / 0.9488 GB, free: 38.19 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0069/1.104, allocations: 1.34 MB / 0.9501 GB, free: 38.19 MB / 474.7 MB [/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.01896/1.123, allocations: 4.262 MB / 0.9543 GB, free: 38.13 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0148/1.138, allocations: 3.133 MB / 0.9573 GB, free: 38.04 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.01648/1.154, allocations: 9.852 MB / 0.967 GB, free: 36.71 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005638/1.16, allocations: 2.253 MB / 0.9692 GB, free: 36.17 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008133/1.168, allocations: 2.574 MB / 0.9717 GB, free: 35.19 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005747/1.174, allocations: 2.169 MB / 0.9738 GB, free: 34.34 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00115/1.175, allocations: 128.4 kB / 0.9739 GB, free: 34.34 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008308/1.183, allocations: 1.598 MB / 0.9755 GB, free: 33.95 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001718/1.185, allocations: 0.5838 MB / 0.976 GB, free: 33.68 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001906/1.187, allocations: 0.7309 MB / 0.9768 GB, free: 33.54 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01004/1.197, allocations: 4.593 MB / 0.9812 GB, free: 31.12 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/1.197, allocations: 0 / 0.9812 GB, free: 31.12 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.835e-06/1.197, allocations: 0 / 0.9812 GB, free: 31.12 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001782/1.198, allocations: 0 / 0.9812 GB, free: 31.12 MB / 474.7 MB 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.009769/1.207, allocations: 3.349 MB / 0.9845 GB, free: 28.97 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/1.207, allocations: 8.406 kB / 0.9845 GB, free: 28.97 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01855/1.226, allocations: 1.366 MB / 0.9859 GB, free: 28.27 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007178/1.233, allocations: 2.823 MB / 0.9886 GB, free: 26.42 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002701/1.234, allocations: 252.5 kB / 0.9889 GB, free: 26.23 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005598/1.234, allocations: 246.2 kB / 0.9891 GB, free: 26.07 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01256/1.247, allocations: 3.146 MB / 0.9922 GB, free: 23.67 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-05/1.247, allocations: 7.938 kB / 0.9922 GB, free: 23.66 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004538/1.247, allocations: 100.2 kB / 0.9923 GB, free: 23.64 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001077/1.247, allocations: 74.92 kB / 0.9923 GB, free: 23.57 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01594/1.263, allocations: 2.771 MB / 0.995 GB, free: 21.61 MB / 474.7 MB 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.02737/1.291, allocations: 13.3 MB / 1.008 GB, free: 8.934 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006852/1.298, allocations: 1.422 MB / 1.009 GB, free: 7.508 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005268/1.303, allocations: 0.9026 MB / 1.01 GB, free: 6.605 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002151/1.305, allocations: 1.779 MB / 1.012 GB, free: 4.445 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005907/1.311, allocations: 1.169 MB / 1.013 GB, free: 3.223 MB / 474.7 MB Notification: Performance of pre-optimization done (n=126): time 4.789e-06/1.311, allocations: 3.938 kB / 1.013 GB, free: 3.219 MB / 474.7 MB Notification: Performance of matching and sorting (n=126): time 0.03922/1.35, allocations: 4.249 MB / 1.017 GB, free: 14.95 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003323/1.351, allocations: 0.5844 MB / 1.018 GB, free: 14.23 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006435/1.357, allocations: 2.473 MB / 1.02 GB, free: 11.73 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005263/1.358, allocations: 65.7 kB / 1.02 GB, free: 11.66 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00178/1.359, allocations: 1.34 MB / 1.022 GB, free: 10.32 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007473/1.36, allocations: 446.6 kB / 1.022 GB, free: 9.887 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002165/1.36, allocations: 36 kB / 1.022 GB, free: 9.852 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002103/1.361, allocations: 373.9 kB / 1.023 GB, free: 9.48 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006916/1.368, allocations: 0.9524 MB / 1.023 GB, free: 8.527 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007576/1.375, allocations: 1.558 MB / 1.025 GB, free: 6.738 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007184/1.382, allocations: 1.102 MB / 1.026 GB, free: 5.637 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.766e-05/1.382, allocations: 7.953 kB / 1.026 GB, free: 5.629 MB / 490.7 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.02311/1.406, allocations: 3.102 MB / 1.029 GB, free: 2.504 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004458/1.406, allocations: 480.4 kB / 1.03 GB, free: 1.863 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.826e-05/1.406, allocations: 15.98 kB / 1.03 GB, free: 1.848 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004296/1.41, allocations: 0.7246 MB / 1.03 GB, free: 1.125 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005585/1.416, allocations: 0.5031 MB / 1.031 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003904/1.42, allocations: 1.792 MB / 1.032 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008621/1.429, allocations: 0.5133 MB / 1.033 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000403/1.429, allocations: 107.9 kB / 1.033 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/1.429, allocations: 7.953 kB / 1.033 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02198/1.451, allocations: 2.838 MB / 1.036 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.115e-05/1.451, allocations: 12 kB / 1.036 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004174/1.455, allocations: 0.7214 MB / 1.037 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005492/1.461, allocations: 0.4992 MB / 1.037 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003855/1.465, allocations: 1.803 MB / 1.039 GB, free: 8.219 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007666/1.472, allocations: 457.9 kB / 1.039 GB, free: 7.77 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003723/1.473, allocations: 103.9 kB / 1.039 GB, free: 7.668 MB / 0.4948 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.002145/1.475, allocations: 0.6969 MB / 1.04 GB, free: 6.961 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000889/1.476, allocations: 268.8 kB / 1.04 GB, free: 6.695 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0209/1.497, allocations: 2.598 MB / 1.043 GB, free: 4.109 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01939/1.516, allocations: 2.218 MB / 1.045 GB, free: 1.859 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.949e-05/1.516, allocations: 0 / 1.045 GB, free: 1.859 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002627/1.519, allocations: 0.6495 MB / 1.046 GB, free: 1.188 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00105/1.52, allocations: 28 kB / 1.046 GB, free: 1.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006675/1.527, allocations: 277 kB / 1.046 GB, free: 0.8906 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004824/1.527, allocations: 96.84 kB / 1.046 GB, free: 0.7969 MB / 0.4948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02124/1.549, allocations: 3.097 MB / 1.049 GB, free: 13.73 MB / 0.5105 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01994/1.569, allocations: 3.667 MB / 1.053 GB, free: 10.07 MB / 0.5105 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005997/1.575, allocations: 0.8353 MB / 1.053 GB, free: 9.234 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005587/1.58, allocations: 1.711 MB / 1.055 GB, free: 7.52 MB / 0.5105 GB Notification: Performance of Backend: time 1.333e-06/1.58, allocations: 7.938 kB / 1.055 GB, free: 7.512 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02412/1.604, allocations: 3.812 MB / 1.059 GB, free: 3.758 MB / 0.5105 GB Notification: Performance of SimCode: time 0.02286/1.627, allocations: 7.061 MB / 1.066 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of Templates: time 0.2117/1.839, allocations: 81.42 MB / 1.145 GB, free: 11.96 MB / 0.6042 GB