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.003925/0.00393, allocations: 355.2 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.429/1.429, allocations: 165.8 MB / 182.5 MB, free: 5.418 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.843/3.843, allocations: 410.8 MB / 0.5995 GB, free: 15.07 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.001765/0.001765, allocations: 196 kB / 0.6662 GB, free: 6.938 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000464/0.0004642, allocations: 8 kB / 0.7423 GB, free: 8.98 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/0.3247, allocations: 67.45 MB / 0.8081 GB, free: 28.81 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic): time 0.1572/0.482, allocations: 120.6 MB / 0.926 GB, free: 3.852 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.3766/0.8586, allocations: 22.64 MB / 0.9481 GB, free: 38.13 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005041/0.8637, allocations: 117.4 kB / 0.9482 GB, free: 38.13 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004994/0.8687, allocations: 1.349 MB / 0.9495 GB, free: 38.12 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.0151/0.8839, allocations: 4.259 MB / 0.9537 GB, free: 38.07 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01192/0.8958, allocations: 3.131 MB / 0.9567 GB, free: 37.98 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.01246/0.9083, allocations: 9.826 MB / 0.9663 GB, free: 36.64 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004191/0.9125, allocations: 2.264 MB / 0.9685 GB, free: 36.09 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005801/0.9184, allocations: 2.582 MB / 0.971 GB, free: 35.11 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004052/0.9225, allocations: 2.192 MB / 0.9732 GB, free: 34.25 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007317/0.9232, allocations: 131.5 kB / 0.9733 GB, free: 34.25 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006246/0.9295, allocations: 1.589 MB / 0.9749 GB, free: 33.87 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00113/0.9307, allocations: 0.5968 MB / 0.9755 GB, free: 33.6 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001441/0.9321, allocations: 0.7304 MB / 0.9762 GB, free: 33.46 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006604/0.9388, allocations: 4.612 MB / 0.9807 GB, free: 31.02 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.9388, allocations: 0 / 0.9807 GB, free: 31.02 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.27e-06/0.9388, allocations: 0 / 0.9807 GB, free: 31.02 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.509e-05/0.9389, allocations: 0 / 0.9807 GB, free: 31.02 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.006895/0.9458, allocations: 3.382 MB / 0.984 GB, free: 28.86 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.9459, allocations: 8.75 kB / 0.984 GB, free: 28.86 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01149/0.9574, allocations: 1.369 MB / 0.9853 GB, free: 28.13 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006056/0.9634, allocations: 2.822 MB / 0.9881 GB, free: 26.27 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002682/0.9638, allocations: 253.5 kB / 0.9883 GB, free: 26.08 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005771/0.9643, allocations: 237.6 kB / 0.9885 GB, free: 25.93 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009053/0.9734, allocations: 3.188 MB / 0.9917 GB, free: 23.5 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.178e-05/0.9735, allocations: 11.94 kB / 0.9917 GB, free: 23.48 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003833/0.9739, allocations: 99.92 kB / 0.9918 GB, free: 23.46 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001063/0.974, allocations: 69.31 kB / 0.9918 GB, free: 23.39 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01143/0.9855, allocations: 2.813 MB / 0.9946 GB, free: 21.41 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.02302/1.009, allocations: 13.62 MB / 1.008 GB, free: 8.449 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005464/1.014, allocations: 1.43 MB / 1.009 GB, free: 7.012 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003811/1.018, allocations: 0.8886 MB / 1.01 GB, free: 6.121 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001752/1.02, allocations: 1.786 MB / 1.012 GB, free: 3.961 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004324/1.024, allocations: 1.15 MB / 1.013 GB, free: 2.758 MB / 474.7 MB Notification: Performance of pre-optimization done (n=126): time 5.361e-06/1.024, allocations: 0 / 1.013 GB, free: 2.758 MB / 474.7 MB Notification: Performance of matching and sorting (n=132): time 0.04075/1.065, allocations: 9.777 MB / 1.023 GB, free: 8.863 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003751/1.065, allocations: 0.5882 MB / 1.023 GB, free: 8.141 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006053/1.071, allocations: 2.585 MB / 1.026 GB, free: 5.539 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003849/1.072, allocations: 65.69 kB / 1.026 GB, free: 5.469 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001743/1.074, allocations: 1.34 MB / 1.027 GB, free: 4.121 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007321/1.074, allocations: 456.4 kB / 1.027 GB, free: 3.68 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001959/1.074, allocations: 40 kB / 1.027 GB, free: 3.641 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002572/1.075, allocations: 377.9 kB / 1.028 GB, free: 3.266 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004923/1.08, allocations: 0.9485 MB / 1.029 GB, free: 2.316 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005833/1.086, allocations: 1.551 MB / 1.03 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005664/1.091, allocations: 1.101 MB / 1.031 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.742e-05/1.091, allocations: 4 kB / 1.031 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.01783/1.109, allocations: 3.371 MB / 1.035 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004729/1.11, allocations: 491.9 kB / 1.035 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.624e-05/1.11, allocations: 12 kB / 1.035 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004353/1.114, allocations: 0.9416 MB / 1.036 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003532/1.118, allocations: 483.2 kB / 1.037 GB, free: 9.961 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00456/1.122, allocations: 2.191 MB / 1.039 GB, free: 7.719 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005842/1.128, allocations: 402.4 kB / 1.039 GB, free: 7.328 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004318/1.129, allocations: 111.9 kB / 1.039 GB, free: 7.219 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/1.129, allocations: 4 kB / 1.039 GB, free: 7.215 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0161/1.145, allocations: 3.081 MB / 1.042 GB, free: 4.121 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.914e-05/1.145, allocations: 12 kB / 1.042 GB, free: 4.109 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004204/1.149, allocations: 0.936 MB / 1.043 GB, free: 3.172 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00343/1.152, allocations: 475.2 kB / 1.044 GB, free: 2.707 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004439/1.157, allocations: 2.186 MB / 1.046 GB, free: 480 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005506/1.162, allocations: 367.3 kB / 1.046 GB, free: 112 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004591/1.163, allocations: 103.9 kB / 1.046 GB, free: 8 kB / 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.002058/1.165, allocations: 0.6955 MB / 1.047 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008382/1.166, allocations: 284.6 kB / 1.047 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01034/1.176, allocations: 2.317 MB / 1.049 GB, free: 12.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.551e-05/1.176, allocations: 12 kB / 1.049 GB, free: 12.69 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/1.176, allocations: 4 kB / 1.049 GB, free: 12.69 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008875/1.185, allocations: 1.928 MB / 1.051 GB, free: 10.72 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02027/1.206, allocations: 6.273 MB / 1.057 GB, free: 4.328 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-05/1.206, allocations: 8 kB / 1.057 GB, free: 4.32 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00241/1.208, allocations: 296.2 kB / 1.058 GB, free: 4.031 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003782/1.212, allocations: 0.7915 MB / 1.058 GB, free: 3.238 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002432/1.212, allocations: 55.94 kB / 1.058 GB, free: 3.184 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003757/1.216, allocations: 1.964 MB / 1.06 GB, free: 1.172 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.647e-05/1.216, allocations: 16 kB / 1.06 GB, free: 1.156 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01552/1.231, allocations: 3.539 MB / 1.064 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002261/1.234, allocations: 0.6574 MB / 1.065 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007266/1.235, allocations: 36 kB / 1.065 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004785/1.239, allocations: 280.9 kB / 1.065 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003681/1.24, allocations: 120.7 kB / 1.065 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002798/1.24, allocations: 71.92 kB / 1.065 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004815/1.245, allocations: 1.82 MB / 1.067 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.037e-06/1.245, allocations: 0 / 1.067 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006444/1.251, allocations: 1.468 MB / 1.068 GB, free: 9.066 MB / 0.5261 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.002096/1.253, allocations: 0.7871 MB / 1.069 GB, free: 8.352 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02228/1.276, allocations: 3.666 MB / 1.073 GB, free: 4.68 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.927e-05/1.276, allocations: 4.625 kB / 1.073 GB, free: 4.676 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.009581/1.285, allocations: 1.073 MB / 1.074 GB, free: 3.609 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01874/1.304, allocations: 1.522 MB / 1.075 GB, free: 2.113 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03208/1.336, allocations: 6.017 MB / 1.081 GB, free: 12 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003774/1.34, allocations: 1.775 MB / 1.083 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01013/1.35, allocations: 0.6578 MB / 1.083 GB, free: 9.547 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002213/1.353, allocations: 243.2 kB / 1.084 GB, free: 9.309 MB / 0.5417 GB Notification: Performance of SimCode: time 2.12e-06/1.353, allocations: 0 / 1.084 GB, free: 9.309 MB / 0.5417 GB Notification: Performance of Templates: time 0.1597/1.512, allocations: 69.32 MB / 1.151 GB, free: 4.746 MB / 0.6042 GB