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.002406/0.00241, allocations: 355.9 kB / 15.94 MB, free: 6.207 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.436/1.436, allocations: 165.8 MB / 182.5 MB, free: 5.402 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.025/4.025, allocations: 410.8 MB / 0.5995 GB, free: 15.21 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.001675/0.001674, allocations: 190.4 kB / 0.6662 GB, free: 6.934 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000465/0.0004652, allocations: 12 kB / 0.7423 GB, free: 8.977 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3322, allocations: 67.45 MB / 0.8081 GB, free: 28.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor): time 0.1914/0.5236, allocations: 120.7 MB / 0.926 GB, free: 3.809 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.4547/0.9784, allocations: 22.64 MB / 0.9481 GB, free: 38.04 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004983/0.9834, allocations: 117.8 kB / 0.9482 GB, free: 38.04 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00527/0.9887, allocations: 1.348 MB / 0.9495 GB, free: 38.04 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.01526/1.004, allocations: 4.256 MB / 0.9537 GB, free: 37.99 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01197/1.016, allocations: 3.123 MB / 0.9567 GB, free: 37.9 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.01306/1.029, allocations: 9.862 MB / 0.9664 GB, free: 36.57 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004227/1.033, allocations: 2.247 MB / 0.9686 GB, free: 35.99 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006003/1.039, allocations: 2.576 MB / 0.9711 GB, free: 35.01 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004211/1.044, allocations: 2.164 MB / 0.9732 GB, free: 34.16 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008076/1.045, allocations: 130.3 kB / 0.9733 GB, free: 34.16 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006669/1.051, allocations: 1.595 MB / 0.9749 GB, free: 33.78 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00124/1.053, allocations: 0.59 MB / 0.9754 GB, free: 33.51 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001527/1.054, allocations: 0.7237 MB / 0.9762 GB, free: 33.38 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007035/1.061, allocations: 4.597 MB / 0.9806 GB, free: 30.95 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.268e-06/1.061, allocations: 4 kB / 0.9806 GB, free: 30.94 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.651e-06/1.061, allocations: 0 / 0.9806 GB, free: 30.94 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.912e-05/1.061, allocations: 1.625 kB / 0.9806 GB, free: 30.94 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.007177/1.068, allocations: 3.347 MB / 0.9839 GB, free: 28.8 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/1.069, allocations: 6.688 kB / 0.9839 GB, free: 28.8 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01263/1.081, allocations: 1.376 MB / 0.9853 GB, free: 28.12 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006578/1.088, allocations: 2.817 MB / 0.988 GB, free: 26.27 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003055/1.088, allocations: 252.3 kB / 0.9883 GB, free: 26.09 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006208/1.089, allocations: 242 kB / 0.9885 GB, free: 25.92 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009734/1.099, allocations: 3.148 MB / 0.9916 GB, free: 23.52 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.01e-05/1.099, allocations: 11.55 kB / 0.9916 GB, free: 23.51 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00042/1.099, allocations: 103.4 kB / 0.9917 GB, free: 23.48 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.268e-05/1.099, allocations: 66.23 kB / 0.9917 GB, free: 23.42 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01137/1.111, allocations: 2.77 MB / 0.9944 GB, free: 21.46 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.02386/1.134, allocations: 13.3 MB / 1.007 GB, free: 8.938 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005098/1.14, allocations: 1.426 MB / 1.009 GB, free: 7.508 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003712/1.143, allocations: 0.9026 MB / 1.01 GB, free: 6.605 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001671/1.145, allocations: 1.782 MB / 1.011 GB, free: 4.445 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004353/1.149, allocations: 1.161 MB / 1.013 GB, free: 3.23 MB / 474.7 MB Notification: Performance of pre-optimization done (n=126): time 6.735e-06/1.149, allocations: 4 kB / 1.013 GB, free: 3.227 MB / 474.7 MB Notification: Performance of matching and sorting (n=126): time 0.0248/1.174, allocations: 4.258 MB / 1.017 GB, free: 14.95 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003722/1.175, allocations: 0.5766 MB / 1.017 GB, free: 14.23 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005848/1.181, allocations: 2.481 MB / 1.02 GB, free: 11.73 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003942/1.181, allocations: 69.58 kB / 1.02 GB, free: 11.66 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001772/1.183, allocations: 1.341 MB / 1.021 GB, free: 10.31 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007041/1.184, allocations: 443.9 kB / 1.022 GB, free: 9.887 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001918/1.184, allocations: 36 kB / 1.022 GB, free: 9.852 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002416/1.184, allocations: 373.9 kB / 1.022 GB, free: 9.48 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004701/1.189, allocations: 0.9642 MB / 1.023 GB, free: 8.516 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00554/1.194, allocations: 1.55 MB / 1.024 GB, free: 6.734 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005142/1.199, allocations: 1.101 MB / 1.025 GB, free: 5.633 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.025e-05/1.2, allocations: 4 kB / 1.025 GB, free: 5.629 MB / 490.7 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.01582/1.215, allocations: 3.109 MB / 1.028 GB, free: 2.496 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004717/1.216, allocations: 487 kB / 1.029 GB, free: 1.852 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.558e-05/1.216, allocations: 8 kB / 1.029 GB, free: 1.844 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003502/1.219, allocations: 0.716 MB / 1.03 GB, free: 1.129 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003688/1.223, allocations: 0.4992 MB / 1.03 GB, free: 0.6289 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003515/1.227, allocations: 1.797 MB / 1.032 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005726/1.232, allocations: 0.5211 MB / 1.032 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004467/1.233, allocations: 107.9 kB / 1.033 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/1.233, allocations: 4 kB / 1.033 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01451/1.247, allocations: 2.84 MB / 1.035 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.183e-05/1.248, allocations: 16.06 kB / 1.035 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003488/1.251, allocations: 0.7161 MB / 1.036 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003644/1.255, allocations: 0.4953 MB / 1.036 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003338/1.258, allocations: 1.803 MB / 1.038 GB, free: 8.223 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005202/1.263, allocations: 457.9 kB / 1.039 GB, free: 7.773 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005623/1.264, allocations: 111.9 kB / 1.039 GB, free: 7.664 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.002162/1.266, allocations: 0.6959 MB / 1.039 GB, free: 6.961 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008771/1.267, allocations: 268.8 kB / 1.04 GB, free: 6.695 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01427/1.281, allocations: 2.596 MB / 1.042 GB, free: 4.109 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.165e-05/1.281, allocations: 19.98 kB / 1.042 GB, free: 4.09 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.171e-05/1.281, allocations: 4 kB / 1.042 GB, free: 4.086 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01286/1.294, allocations: 2.214 MB / 1.044 GB, free: 1.84 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02159/1.316, allocations: 6.488 MB / 1.051 GB, free: 11.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.913e-05/1.316, allocations: 12.09 kB / 1.051 GB, free: 11.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002383/1.318, allocations: 299.5 kB / 1.051 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003395/1.322, allocations: 0.7065 MB / 1.052 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002688/1.322, allocations: 47.94 kB / 1.052 GB, free: 10.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003311/1.325, allocations: 1.795 MB / 1.054 GB, free: 8.316 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-05/1.326, allocations: 11.94 kB / 1.054 GB, free: 8.305 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01523/1.341, allocations: 3.565 MB / 1.057 GB, free: 4.672 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002167/1.343, allocations: 0.6496 MB / 1.058 GB, free: 4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006938/1.344, allocations: 39.98 kB / 1.058 GB, free: 3.961 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004409/1.348, allocations: 282.9 kB / 1.058 GB, free: 3.688 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003828/1.349, allocations: 116.7 kB / 1.058 GB, free: 3.574 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002964/1.349, allocations: 75.92 kB / 1.058 GB, free: 3.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004929/1.354, allocations: 1.731 MB / 1.06 GB, free: 1.766 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.771e-06/1.354, allocations: 0 / 1.06 GB, free: 1.766 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006853/1.361, allocations: 1.676 MB / 1.062 GB, free: 88 kB / 0.5105 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.002335/1.363, allocations: 0.7504 MB / 1.062 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01563/1.379, allocations: 3.596 MB / 1.066 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.634e-05/1.379, allocations: 4.438 kB / 1.066 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004843/1.384, allocations: 1.047 MB / 1.067 GB, free: 10.74 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009457/1.393, allocations: 1.415 MB / 1.068 GB, free: 9.348 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01796/1.411, allocations: 6.123 MB / 1.074 GB, free: 3.129 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002517/1.414, allocations: 1.769 MB / 1.076 GB, free: 1.328 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005215/1.419, allocations: 0.6825 MB / 1.077 GB, free: 0.6562 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001053/1.42, allocations: 231.3 kB / 1.077 GB, free: 440 kB / 0.5261 GB Notification: Performance of SimCode: time 2.68e-06/1.42, allocations: 0 / 1.077 GB, free: 440 kB / 0.5261 GB Notification: Performance of Templates: time 0.1533/1.573, allocations: 64.77 MB / 1.14 GB, free: 408 kB / 0.5886 GB