Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_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.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.004377/0.004382, allocations: 359.3 kB / 16.59 MB, free: 5.566 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.546/1.546, allocations: 165.8 MB / 183.1 MB, free: 5.477 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.3/4.3, allocations: 410.7 MB / 0.6001 GB, free: 15.15 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.002677/0.002677, allocations: 191.5 kB / 0.6668 GB, free: 6.891 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007272/0.0007275, allocations: 19.98 kB / 0.7429 GB, free: 8.934 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4994/0.5001, allocations: 67.44 MB / 0.8087 GB, free: 28.76 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic): time 0.1802/0.6804, allocations: 120.7 MB / 0.9266 GB, free: 3.762 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.4599/1.14, allocations: 22.56 MB / 0.9486 GB, free: 38.02 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005682/1.146, allocations: 114.2 kB / 0.9487 GB, free: 38.02 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006409/1.153, allocations: 1.35 MB / 0.9501 GB, free: 38.02 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.01895/1.172, allocations: 4.251 MB / 0.9542 GB, free: 37.96 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01454/1.186, allocations: 3.13 MB / 0.9573 GB, free: 37.88 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.01608/1.202, allocations: 9.809 MB / 0.9668 GB, free: 36.54 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006113/1.208, allocations: 2.247 MB / 0.969 GB, free: 36 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007834/1.216, allocations: 2.571 MB / 0.9715 GB, free: 35.02 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005559/1.222, allocations: 2.168 MB / 0.9737 GB, free: 34.16 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001166/1.223, allocations: 129 kB / 0.9738 GB, free: 34.16 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008368/1.231, allocations: 1.596 MB / 0.9753 GB, free: 33.78 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001701/1.233, allocations: 0.5852 MB / 0.9759 GB, free: 33.52 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002224/1.235, allocations: 0.7297 MB / 0.9766 GB, free: 33.38 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009146/1.245, allocations: 4.601 MB / 0.9811 GB, free: 30.95 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.816e-06/1.245, allocations: 0 / 0.9811 GB, free: 30.95 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.516e-06/1.245, allocations: 2.812 kB / 0.9811 GB, free: 30.95 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001999/1.245, allocations: 0 / 0.9811 GB, free: 30.95 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.0105/1.255, allocations: 3.348 MB / 0.9844 GB, free: 28.8 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/1.256, allocations: 8.938 kB / 0.9844 GB, free: 28.8 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.021/1.277, allocations: 1.456 MB / 0.9858 GB, free: 28.04 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007785/1.284, allocations: 2.833 MB / 0.9886 GB, free: 26.18 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004042/1.285, allocations: 251.5 kB / 0.9888 GB, free: 26 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009293/1.286, allocations: 242.7 kB / 0.9891 GB, free: 25.84 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01418/1.3, allocations: 3.224 MB / 0.9922 GB, free: 23.38 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.825e-05/1.3, allocations: 7.938 kB / 0.9922 GB, free: 23.37 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005384/1.301, allocations: 96.31 kB / 0.9923 GB, free: 23.34 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001079/1.301, allocations: 78.67 kB / 0.9924 GB, free: 23.27 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01811/1.319, allocations: 2.878 MB / 0.9952 GB, free: 21.23 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.04001/1.359, allocations: 13.66 MB / 1.009 GB, free: 8.305 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01204/1.371, allocations: 1.509 MB / 1.01 GB, free: 6.793 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009094/1.38, allocations: 0.9354 MB / 1.011 GB, free: 5.859 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003318/1.384, allocations: 1.781 MB / 1.013 GB, free: 3.699 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01024/1.394, allocations: 1.212 MB / 1.014 GB, free: 2.434 MB / 474.7 MB Notification: Performance of pre-optimization done (n=126): time 8.436e-06/1.394, allocations: 0 / 1.014 GB, free: 2.434 MB / 474.7 MB Notification: Performance of matching and sorting (n=132): time 0.1264/1.52, allocations: 11.87 MB / 1.025 GB, free: 6.445 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003171/1.521, allocations: 0.5805 MB / 1.026 GB, free: 5.73 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007545/1.528, allocations: 2.584 MB / 1.029 GB, free: 3.129 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005623/1.529, allocations: 57.7 kB / 1.029 GB, free: 3.066 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002027/1.531, allocations: 1.331 MB / 1.03 GB, free: 1.73 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009504/1.532, allocations: 460.3 kB / 1.03 GB, free: 1.285 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000272/1.532, allocations: 32 kB / 1.03 GB, free: 1.254 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002211/1.533, allocations: 373.9 kB / 1.031 GB, free: 0.8828 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007634/1.54, allocations: 0.9993 MB / 1.032 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008282/1.549, allocations: 1.604 MB / 1.033 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007723/1.556, allocations: 1.132 MB / 1.034 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.16e-05/1.556, allocations: 0 / 1.034 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.0425/1.599, allocations: 4.199 MB / 1.038 GB, free: 8.688 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004222/1.599, allocations: 487.2 kB / 1.039 GB, free: 8.035 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.841e-05/1.599, allocations: 12 kB / 1.039 GB, free: 8.023 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006774/1.606, allocations: 1.169 MB / 1.04 GB, free: 6.855 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005289/1.611, allocations: 475.2 kB / 1.041 GB, free: 6.391 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007005/1.619, allocations: 2.381 MB / 1.043 GB, free: 3.965 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009587/1.628, allocations: 422.7 kB / 1.043 GB, free: 3.555 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005815/1.629, allocations: 103.9 kB / 1.043 GB, free: 3.453 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/1.629, allocations: 4 kB / 1.043 GB, free: 3.449 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0413/1.67, allocations: 3.906 MB / 1.047 GB, free: 15.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-05/1.67, allocations: 12 kB / 1.047 GB, free: 15.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006692/1.677, allocations: 1.161 MB / 1.048 GB, free: 14.36 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005134/1.682, allocations: 471.2 kB / 1.049 GB, free: 13.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006895/1.689, allocations: 2.38 MB / 1.051 GB, free: 11.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008343/1.697, allocations: 379.3 kB / 1.051 GB, free: 11.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006683/1.698, allocations: 103.9 kB / 1.052 GB, free: 11 MB / 0.5105 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 (166): * Single equations (assignments): 163 * 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 25,4 27} Notification: Performance of prepare postOptimizeDAE: time 0.002561/1.701, allocations: 0.6986 MB / 1.052 GB, free: 10.29 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001175/1.702, allocations: 280.6 kB / 1.053 GB, free: 10.02 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01659/1.719, allocations: 2.466 MB / 1.055 GB, free: 7.543 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01417/1.733, allocations: 2.064 MB / 1.057 GB, free: 5.441 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.959e-05/1.733, allocations: 0 / 1.057 GB, free: 5.441 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00248/1.735, allocations: 0.6496 MB / 1.058 GB, free: 4.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001012/1.736, allocations: 35.94 kB / 1.058 GB, free: 4.734 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00699/1.743, allocations: 291.5 kB / 1.058 GB, free: 4.449 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004026/1.744, allocations: 100.8 kB / 1.058 GB, free: 4.352 MB / 0.5105 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02603/1.77, allocations: 3.475 MB / 1.061 GB, free: 0.9023 MB / 0.5105 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.021/1.791, allocations: 3.841 MB / 1.065 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006285/1.797, allocations: 0.8821 MB / 1.066 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005312/1.803, allocations: 1.796 MB / 1.068 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of Backend: time 7.42e-07/1.803, allocations: 0 / 1.068 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02466/1.827, allocations: 3.95 MB / 1.072 GB, free: 6.508 MB / 0.5261 GB Notification: Performance of SimCode: time 0.02372/1.851, allocations: 7.198 MB / 1.079 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of Templates: time 0.6623/2.514, allocations: 86.43 MB / 1.163 GB, free: 166.7 MB / 0.6042 GB