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.002396/0.0024, allocations: 356.6 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.439/1.439, allocations: 165.8 MB / 182.5 MB, free: 5.438 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.779/3.779, 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.001764/0.001764, allocations: 195 kB / 0.6662 GB, free: 6.906 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004648/0.0004651, allocations: 16 kB / 0.7423 GB, free: 8.945 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3692/0.3697, allocations: 67.44 MB / 0.8081 GB, free: 28.78 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic): time 0.238/0.6077, allocations: 120.7 MB / 0.926 GB, free: 3.777 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.374/0.9817, allocations: 22.55 MB / 0.948 GB, free: 38.11 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005273/0.9871, allocations: 117.5 kB / 0.9481 GB, free: 38.11 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006516/0.9936, allocations: 1.346 MB / 0.9495 GB, free: 38.1 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.02385/1.018, allocations: 4.254 MB / 0.9536 GB, free: 38.05 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01549/1.033, allocations: 3.133 MB / 0.9567 GB, free: 37.96 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.01325/1.046, allocations: 9.798 MB / 0.9662 GB, free: 36.62 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004657/1.051, allocations: 2.244 MB / 0.9684 GB, free: 36.06 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006542/1.058, allocations: 2.571 MB / 0.9709 GB, free: 35.08 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004498/1.062, allocations: 2.17 MB / 0.9731 GB, free: 34.22 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009526/1.063, allocations: 129.6 kB / 0.9732 GB, free: 34.22 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00669/1.07, allocations: 1.591 MB / 0.9747 GB, free: 33.84 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00147/1.071, allocations: 0.5934 MB / 0.9753 GB, free: 33.57 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001996/1.073, allocations: 0.7323 MB / 0.976 GB, free: 33.43 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007584/1.081, allocations: 4.593 MB / 0.9805 GB, free: 31 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.955e-06/1.081, allocations: 1.531 kB / 0.9805 GB, free: 31 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.574e-06/1.081, allocations: 0 / 0.9805 GB, free: 31 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000126/1.081, allocations: 0 / 0.9805 GB, free: 31 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.007637/1.089, allocations: 3.356 MB / 0.9838 GB, free: 28.86 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/1.089, allocations: 14.16 kB / 0.9838 GB, free: 28.85 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01337/1.102, allocations: 1.456 MB / 0.9852 GB, free: 28.12 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006261/1.109, allocations: 2.822 MB / 0.988 GB, free: 26.27 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002626/1.109, allocations: 264.1 kB / 0.9882 GB, free: 26.07 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005192/1.109, allocations: 232.9 kB / 0.9885 GB, free: 25.92 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009838/1.119, allocations: 3.217 MB / 0.9916 GB, free: 23.46 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001167/1.12, allocations: 6.672 kB / 0.9916 GB, free: 23.45 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007109/1.12, allocations: 106.4 kB / 0.9917 GB, free: 23.43 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.148e-05/1.12, allocations: 72.45 kB / 0.9918 GB, free: 23.36 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01198/1.132, allocations: 2.882 MB / 0.9946 GB, free: 21.32 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.02253/1.155, allocations: 13.67 MB / 1.008 GB, free: 8.328 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00525/1.16, allocations: 1.502 MB / 1.009 GB, free: 6.824 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003917/1.164, allocations: 0.9354 MB / 1.01 GB, free: 5.891 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001657/1.166, allocations: 1.782 MB / 1.012 GB, free: 3.73 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004634/1.171, allocations: 1.22 MB / 1.013 GB, free: 2.457 MB / 474.7 MB Notification: Performance of pre-optimization done (n=126): time 5.484e-06/1.171, allocations: 0 / 1.013 GB, free: 2.457 MB / 474.7 MB Notification: Performance of matching and sorting (n=132): time 0.06346/1.234, allocations: 11.86 MB / 1.025 GB, free: 6.48 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003838/1.234, allocations: 0.5883 MB / 1.025 GB, free: 5.758 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006206/1.241, allocations: 2.576 MB / 1.028 GB, free: 3.164 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004089/1.241, allocations: 61.7 kB / 1.028 GB, free: 3.098 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001856/1.243, allocations: 1.326 MB / 1.029 GB, free: 1.766 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007962/1.244, allocations: 456.6 kB / 1.03 GB, free: 1.324 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002159/1.244, allocations: 36 kB / 1.03 GB, free: 1.289 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003284/1.244, allocations: 373.9 kB / 1.03 GB, free: 0.918 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005309/1.25, allocations: 0.9993 MB / 1.031 GB, free: 15.92 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006122/1.256, allocations: 1.598 MB / 1.033 GB, free: 14.08 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005593/1.262, allocations: 1.144 MB / 1.034 GB, free: 12.94 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-05/1.262, allocations: 7.953 kB / 1.034 GB, free: 12.93 MB / 0.4949 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.02684/1.288, allocations: 4.182 MB / 1.038 GB, free: 8.727 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004926/1.289, allocations: 496.6 kB / 1.038 GB, free: 8.066 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.552e-05/1.289, allocations: 12 kB / 1.038 GB, free: 8.055 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005347/1.294, allocations: 1.162 MB / 1.039 GB, free: 6.891 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003404/1.298, allocations: 471.2 kB / 1.04 GB, free: 6.43 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00569/1.304, allocations: 2.385 MB / 1.042 GB, free: 4 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006002/1.31, allocations: 424.2 kB / 1.043 GB, free: 3.586 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005102/1.31, allocations: 107.9 kB / 1.043 GB, free: 3.48 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/1.31, allocations: 4 kB / 1.043 GB, free: 3.477 MB / 0.4949 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02565/1.336, allocations: 3.909 MB / 1.047 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.99e-05/1.336, allocations: 12 kB / 1.047 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005337/1.341, allocations: 1.165 MB / 1.048 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003295/1.345, allocations: 463.2 kB / 1.048 GB, free: 13.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005634/1.35, allocations: 2.376 MB / 1.05 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005483/1.356, allocations: 386.4 kB / 1.051 GB, free: 11.13 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004765/1.356, allocations: 103.9 kB / 1.051 GB, free: 11.03 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.002053/1.358, allocations: 0.7007 MB / 1.052 GB, free: 10.32 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008759/1.359, allocations: 280.6 kB / 1.052 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01113/1.37, allocations: 2.457 MB / 1.054 GB, free: 7.574 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.956e-05/1.37, allocations: 19.98 kB / 1.054 GB, free: 7.555 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.512e-05/1.371, allocations: 7.953 kB / 1.054 GB, free: 7.547 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009861/1.38, allocations: 2.061 MB / 1.056 GB, free: 5.449 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02845/1.409, allocations: 7.078 MB / 1.063 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.933e-05/1.409, allocations: 8 kB / 1.063 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002289/1.411, allocations: 283.9 kB / 1.064 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004808/1.416, allocations: 1.022 MB / 1.065 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002957/1.416, allocations: 55.94 kB / 1.065 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004967/1.421, allocations: 2.152 MB / 1.067 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.875e-05/1.421, allocations: 11.94 kB / 1.067 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01796/1.439, allocations: 3.831 MB / 1.07 GB, free: 6.758 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002301/1.442, allocations: 0.6573 MB / 1.071 GB, free: 6.078 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007305/1.443, allocations: 43.98 kB / 1.071 GB, free: 6.035 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004647/1.447, allocations: 303 kB / 1.071 GB, free: 5.742 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003282/1.448, allocations: 120.6 kB / 1.072 GB, free: 5.625 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002644/1.448, allocations: 75.86 kB / 1.072 GB, free: 5.551 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004618/1.452, allocations: 1.808 MB / 1.073 GB, free: 3.742 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.78e-07/1.453, allocations: 0 / 1.073 GB, free: 3.742 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006843/1.459, allocations: 1.472 MB / 1.075 GB, free: 2.27 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 (82): * Single equations (assignments): 76 * 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 19,4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.00219/1.462, allocations: 0.7697 MB / 1.076 GB, free: 1.559 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01746/1.479, allocations: 3.796 MB / 1.079 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.334e-05/1.479, allocations: 448 / 1.079 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.005281/1.484, allocations: 1.117 MB / 1.08 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0094/1.494, allocations: 1.512 MB / 1.082 GB, free: 11.17 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01563/1.51, allocations: 5.83 MB / 1.088 GB, free: 5.246 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002195/1.512, allocations: 1.771 MB / 1.089 GB, free: 3.445 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.004868/1.517, allocations: 0.6575 MB / 1.09 GB, free: 2.789 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008812/1.518, allocations: 239.3 kB / 1.09 GB, free: 2.555 MB / 0.5417 GB Notification: Performance of SimCode: time 5.336e-06/1.518, allocations: 0 / 1.09 GB, free: 2.555 MB / 0.5417 GB Notification: Performance of Templates: time 0.4746/1.992, allocations: 71.21 MB / 1.16 GB, free: 245.6 MB / 0.6042 GB