Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl") Notification: Performance of loadModel(Buildings): time 3.865/3.865, allocations: 432.7 MB / 445.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.349e-05/3.361e-05, allocations: 4.375 kB / 0.5383 GB, free: 10.31 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.1762, allocations: 98.71 MB / 0.6347 GB, free: 1.883 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.423/6.599, allocations: 2.506 GB / 3.141 GB, free: 115.5 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002408/6.6, allocations: 99.84 kB / 3.141 GB, free: 115.4 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 12.07/18.67, allocations: 2.599 GB / 5.739 GB, free: 80.08 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.101e-06/18.67, allocations: 2.5 kB / 5.739 GB, free: 80.08 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.001162/18.67, allocations: 166.6 kB / 5.74 GB, free: 80.06 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1251 * Number of variables: 1251 Notification: Performance of Generate backend data structure: time 0.02238/18.7, allocations: 6.183 MB / 5.746 GB, free: 77.55 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/18.7, allocations: 11.56 kB / 5.746 GB, free: 77.55 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0127/18.71, allocations: 1.493 MB / 5.747 GB, free: 77.17 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02229/18.73, allocations: 7.495 MB / 5.754 GB, free: 76.23 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004816/18.73, allocations: 375.6 kB / 5.755 GB, free: 76.22 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002102/18.74, allocations: 0.4949 MB / 5.755 GB, free: 76.22 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02006/18.76, allocations: 6.599 MB / 5.762 GB, free: 75.74 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002405/18.76, allocations: 15.77 kB / 5.762 GB, free: 75.74 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001619/18.76, allocations: 203.3 kB / 5.762 GB, free: 75.73 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002529/18.76, allocations: 229.5 kB / 5.762 GB, free: 75.72 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01626/18.77, allocations: 5.722 MB / 5.768 GB, free: 75.68 MB / 0.9011 GB Warning: The model contains alias variables with conflicting start and/or 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.05566/18.83, allocations: 28.07 MB / 5.795 GB, free: 65.28 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007898/18.84, allocations: 4.262 MB / 5.799 GB, free: 64.64 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005055/18.84, allocations: 2.442 MB / 5.802 GB, free: 64.6 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001142/18.84, allocations: 0.929 MB / 5.803 GB, free: 63.66 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005092/18.85, allocations: 2.133 MB / 5.805 GB, free: 63.52 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=322): time 9.301e-06/18.85, allocations: 0 / 5.805 GB, free: 63.52 MB / 0.9011 GB Notification: Performance of matching and sorting (n=326): time 0.02968/18.88, allocations: 9.513 MB / 5.814 GB, free: 61.77 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.041e-05/18.88, allocations: 240.2 kB / 5.814 GB, free: 61.52 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01108/18.89, allocations: 4.532 MB / 5.819 GB, free: 60.08 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0008813/18.89, allocations: 101.4 kB / 5.819 GB, free: 60 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.004045/18.89, allocations: 2.748 MB / 5.821 GB, free: 57.91 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.001752/18.9, allocations: 1.134 MB / 5.822 GB, free: 57.03 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004103/18.9, allocations: 66.47 kB / 5.823 GB, free: 56.98 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0003022/18.9, allocations: 446.3 kB / 5.823 GB, free: 56.62 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003945/18.9, allocations: 1.718 MB / 5.825 GB, free: 55.98 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005201/18.91, allocations: 2.631 MB / 5.827 GB, free: 54.39 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005291/18.91, allocations: 2.252 MB / 5.829 GB, free: 53.55 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.717e-05/18.91, allocations: 3.969 kB / 5.829 GB, free: 53.55 MB / 0.9011 GB Notification: Performance of matching and sorting (n=421) (initialization): time 0.01427/18.93, allocations: 4.982 MB / 5.834 GB, free: 51.72 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.001266/18.93, allocations: 6.222 MB / 5.84 GB, free: 45.03 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.747e-05/18.93, allocations: 20.23 kB / 5.84 GB, free: 45.03 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008962/18.93, allocations: 214.1 kB / 5.841 GB, free: 44.97 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005028/18.93, allocations: 0.7577 MB / 5.841 GB, free: 44.95 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003686/18.94, allocations: 3.409 MB / 5.845 GB, free: 42.04 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008136/18.95, allocations: 0.5977 MB / 5.845 GB, free: 41.95 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009873/18.95, allocations: 132.3 kB / 5.845 GB, free: 41.93 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/18.95, allocations: 3.906 kB / 5.845 GB, free: 41.93 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01177/18.96, allocations: 4.524 MB / 5.85 GB, free: 40.25 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.037e-05/18.96, allocations: 13.94 kB / 5.85 GB, free: 40.25 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007545/18.96, allocations: 205.4 kB / 5.85 GB, free: 40.2 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004573/18.96, allocations: 0.7361 MB / 5.851 GB, free: 40.13 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005298/18.97, allocations: 4.062 MB / 5.855 GB, free: 36.73 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008154/18.98, allocations: 0.5732 MB / 5.855 GB, free: 36.64 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009684/18.98, allocations: 130.2 kB / 5.855 GB, free: 36.62 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (397): * Single equations (assignments): 391 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 1 {1 9} Notification: Performance of prepare postOptimizeDAE: time 0.001616/18.98, allocations: 347.3 kB / 5.856 GB, free: 36.32 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001916/18.98, allocations: 0.4947 MB / 5.856 GB, free: 36.07 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01328/19, allocations: 4.744 MB / 5.861 GB, free: 32.1 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.758e-05/19, allocations: 35.19 kB / 5.861 GB, free: 32.07 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/19, allocations: 0 / 5.861 GB, free: 32.07 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009454/19, allocations: 3.922 MB / 5.865 GB, free: 28.6 MB / 0.9011 GB Warning: The model contains alias variables with conflicting start and/or 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 postOpt removeSimpleEquations (simulation): time 0.03249/19.04, allocations: 11.68 MB / 5.876 GB, free: 19.11 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.398e-05/19.04, allocations: 7.953 kB / 5.876 GB, free: 19.1 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004825/19.04, allocations: 0.733 MB / 5.877 GB, free: 18.5 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007474/19.04, allocations: 174.9 kB / 5.877 GB, free: 18.36 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007578/19.04, allocations: 91.48 kB / 5.877 GB, free: 18.28 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00302/19.05, allocations: 3.306 MB / 5.88 GB, free: 14.97 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.46e-06/19.05, allocations: 4 kB / 5.88 GB, free: 14.97 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01631/19.06, allocations: 7.73 MB / 5.888 GB, free: 7.895 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004857/19.07, allocations: 1.213 MB / 5.889 GB, free: 6.797 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002289/19.07, allocations: 79.89 kB / 5.889 GB, free: 6.723 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00688/19.08, allocations: 0.5062 MB / 5.89 GB, free: 6.395 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008744/19.08, allocations: 198.6 kB / 5.89 GB, free: 6.27 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006557/19.08, allocations: 106.9 kB / 5.89 GB, free: 6.176 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.009115/19.09, allocations: 3.555 MB / 5.893 GB, free: 3.09 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.256e-06/19.09, allocations: 2.719 kB / 5.893 GB, free: 3.09 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.01892/19.11, allocations: 3.203 MB / 5.896 GB, free: 0 / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 21 (temSen.T,val.filter.x[1],val.filter.x[2],hex.ele[1].vol1.dynBal.U,hex.ele[1].vol2.dynBal.U,hex.ele[1].vol2.dynBal.mXi[1],hex.ele[1].mas.T,hex.ele[2].vol1.dynBal.U,hex.ele[2].vol2.dynBal.U,hex.ele[2].vol2.dynBal.mXi[1],hex.ele[2].mas.T,hex.ele[3].vol1.dynBal.U,hex.ele[3].vol2.dynBal.U,hex.ele[3].vol2.dynBal.mXi[1],hex.ele[3].mas.T,hex.ele[4].vol1.dynBal.U,hex.ele[4].vol2.dynBal.U,hex.ele[4].vol2.dynBal.m,hex.ele[4].vol2.dynBal.mXi[1],hex.ele[4].mas.T,con.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (314): * Single equations (assignments): 306 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.00733/19.11, allocations: 3.218 MB / 5.9 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0185/19.13, allocations: 7.286 MB / 5.907 GB, free: 6.688 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.318e-05/19.13, allocations: 0.7812 kB / 5.907 GB, free: 6.688 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.005658/19.14, allocations: 2.283 MB / 5.909 GB, free: 4.598 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01846/19.16, allocations: 3.072 MB / 5.912 GB, free: 2.406 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6305/19.79, allocations: 11.55 MB / 5.923 GB, free: 99.72 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01062/19.8, allocations: 4.691 MB / 5.928 GB, free: 98.87 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0213/19.82, allocations: 4.426 MB / 5.932 GB, free: 98.82 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001791/19.82, allocations: 301.7 kB / 5.932 GB, free: 98.82 MB / 0.9167 GB Notification: Performance of SimCode: time 1.895e-06/19.82, allocations: 0 / 5.932 GB, free: 98.82 MB / 0.9167 GB Notification: Performance of Templates: time 0.3088/20.13, allocations: 153.9 MB / 6.083 GB, free: 92.57 MB / 0.9167 GB