Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 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_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.004997/0.005002, allocations: 353.9 kB / 16.59 MB, free: 5.57 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.73/1.73, allocations: 165.8 MB / 183.1 MB, free: 5.371 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 3.936/3.936, allocations: 410.8 MB / 0.6001 GB, free: 15.24 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.00174/0.00174, allocations: 185.4 kB / 0.6668 GB, free: 6.973 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006485/0.0006487, allocations: 12 kB / 0.7429 GB, free: 9.008 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4544/0.4551, allocations: 67.44 MB / 0.8087 GB, free: 28.83 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic): time 0.1958/0.651, allocations: 120.7 MB / 0.9266 GB, free: 3.867 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.4668/1.118, allocations: 22.64 MB / 0.9487 GB, free: 37.97 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006145/1.124, allocations: 117.4 kB / 0.9488 GB, free: 37.97 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007052/1.131, allocations: 1.345 MB / 0.9501 GB, free: 37.97 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.01973/1.151, allocations: 4.256 MB / 0.9543 GB, free: 37.92 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01554/1.167, allocations: 3.136 MB / 0.9573 GB, free: 37.83 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.01678/1.183, allocations: 9.829 MB / 0.9669 GB, free: 36.49 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005717/1.189, allocations: 2.258 MB / 0.9691 GB, free: 35.93 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008141/1.197, allocations: 2.582 MB / 0.9716 GB, free: 34.95 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005932/1.203, allocations: 2.184 MB / 0.9738 GB, free: 34.1 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001423/1.205, allocations: 132.6 kB / 0.9739 GB, free: 34.1 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008508/1.213, allocations: 1.595 MB / 0.9755 GB, free: 33.72 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001762/1.215, allocations: 0.5922 MB / 0.976 GB, free: 33.45 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002278/1.218, allocations: 0.7359 MB / 0.9768 GB, free: 33.31 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009652/1.227, allocations: 4.615 MB / 0.9813 GB, free: 30.87 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/1.227, allocations: 0 / 0.9813 GB, free: 30.87 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.016e-06/1.227, allocations: 0 / 0.9813 GB, free: 30.87 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001767/1.227, allocations: 0 / 0.9813 GB, free: 30.87 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: 583 * Number of variables: 583 Notification: Performance of Generate backend data structure: time 0.01039/1.238, allocations: 3.375 MB / 0.9846 GB, free: 28.71 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/1.238, allocations: 13.66 kB / 0.9846 GB, free: 28.71 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02027/1.258, allocations: 1.369 MB / 0.9859 GB, free: 27.97 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007864/1.266, allocations: 2.82 MB / 0.9887 GB, free: 26.11 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003513/1.267, allocations: 256.8 kB / 0.9889 GB, free: 25.93 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009339/1.268, allocations: 231 kB / 0.9891 GB, free: 25.77 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01376/1.281, allocations: 3.191 MB / 0.9922 GB, free: 23.33 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001049/1.281, allocations: 7.938 kB / 0.9922 GB, free: 23.32 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005555/1.282, allocations: 102.2 kB / 0.9923 GB, free: 23.3 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001124/1.282, allocations: 70.22 kB / 0.9924 GB, free: 23.23 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01706/1.299, allocations: 2.809 MB / 0.9952 GB, free: 21.25 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.03235/1.332, allocations: 13.63 MB / 1.008 GB, free: 8.441 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007657/1.339, allocations: 1.43 MB / 1.01 GB, free: 7.004 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006591/1.346, allocations: 0.8847 MB / 1.011 GB, free: 6.117 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002268/1.348, allocations: 1.787 MB / 1.012 GB, free: 3.953 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006697/1.355, allocations: 1.157 MB / 1.014 GB, free: 2.746 MB / 474.7 MB Notification: Performance of pre-optimization done (n=126): time 6.372e-06/1.355, allocations: 0 / 1.014 GB, free: 2.746 MB / 474.7 MB Notification: Performance of matching and sorting (n=132): time 0.06063/1.416, allocations: 9.781 MB / 1.023 GB, free: 8.848 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003054/1.416, allocations: 0.5766 MB / 1.024 GB, free: 8.137 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007203/1.423, allocations: 2.588 MB / 1.026 GB, free: 5.531 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005398/1.424, allocations: 65.69 kB / 1.026 GB, free: 5.461 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001986/1.426, allocations: 1.344 MB / 1.028 GB, free: 4.109 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009415/1.427, allocations: 460.3 kB / 1.028 GB, free: 3.664 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002688/1.427, allocations: 36 kB / 1.028 GB, free: 3.629 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002147/1.427, allocations: 373.9 kB / 1.028 GB, free: 3.258 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00734/1.435, allocations: 0.9485 MB / 1.029 GB, free: 2.309 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008245/1.443, allocations: 1.555 MB / 1.031 GB, free: 0.5156 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007627/1.451, allocations: 1.098 MB / 1.032 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.511e-05/1.451, allocations: 0 / 1.032 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.02577/1.477, allocations: 3.374 MB / 1.035 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004556/1.477, allocations: 0.4912 MB / 1.036 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.771e-05/1.477, allocations: 16 kB / 1.036 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005587/1.483, allocations: 0.9304 MB / 1.037 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005384/1.488, allocations: 479.2 kB / 1.037 GB, free: 9.953 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005552/1.494, allocations: 2.195 MB / 1.039 GB, free: 7.707 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009062/1.503, allocations: 395.3 kB / 1.04 GB, free: 7.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006737/1.504, allocations: 111.9 kB / 1.04 GB, free: 7.211 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/1.504, allocations: 4 kB / 1.04 GB, free: 7.207 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02432/1.528, allocations: 3.077 MB / 1.043 GB, free: 4.117 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.215e-05/1.528, allocations: 12 kB / 1.043 GB, free: 4.105 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005293/1.533, allocations: 0.9448 MB / 1.044 GB, free: 3.164 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005286/1.539, allocations: 479.2 kB / 1.044 GB, free: 2.695 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00537/1.544, allocations: 2.179 MB / 1.046 GB, free: 476 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008137/1.552, allocations: 371.3 kB / 1.047 GB, free: 104 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007046/1.553, allocations: 103.9 kB / 1.047 GB, free: 0 / 0.4948 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.002743/1.556, allocations: 0.7053 MB / 1.047 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001146/1.557, allocations: 284.6 kB / 1.048 GB, free: 15.01 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01519/1.572, allocations: 2.311 MB / 1.05 GB, free: 12.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01298/1.585, allocations: 1.928 MB / 1.052 GB, free: 10.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-05/1.585, allocations: 4 kB / 1.052 GB, free: 10.73 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002569/1.588, allocations: 0.6417 MB / 1.052 GB, free: 10.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001157/1.589, allocations: 32 kB / 1.052 GB, free: 10.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007241/1.596, allocations: 276.8 kB / 1.053 GB, free: 9.762 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000561/1.597, allocations: 100.8 kB / 1.053 GB, free: 9.664 MB / 0.5105 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02161/1.619, allocations: 3.205 MB / 1.056 GB, free: 6.484 MB / 0.5105 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02022/1.639, allocations: 3.702 MB / 1.06 GB, free: 2.773 MB / 0.5105 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005963/1.645, allocations: 0.847 MB / 1.06 GB, free: 1.93 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005797/1.651, allocations: 1.792 MB / 1.062 GB, free: 140 kB / 0.5105 GB Notification: Performance of Backend: time 1.222e-06/1.651, allocations: 0 / 1.062 GB, free: 140 kB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02445/1.675, allocations: 3.878 MB / 1.066 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of SimCode: time 0.02318/1.699, allocations: 7.177 MB / 1.073 GB, free: 5.152 MB / 0.5261 GB Notification: Performance of Templates: time 0.224/1.923, allocations: 84.9 MB / 1.156 GB, free: 0.957 MB / 0.6042 GB