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.WetCoilCounterFlowMassFlow.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.WetCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow") Notification: Performance of loadModel(Buildings): time 4.021/4.021, allocations: 432.7 MB / 445.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.038e-05/3.062e-05, allocations: 4.547 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1716, allocations: 98.73 MB / 0.6347 GB, free: 1.922 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.201/6.372, allocations: 2.487 GB / 3.122 GB, free: 206.1 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002661/6.373, allocations: 90.11 kB / 3.122 GB, free: 206.1 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 10.99/17.36, allocations: 2.351 GB / 5.473 GB, free: 90.92 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.78e-06/17.36, allocations: 0 / 5.473 GB, free: 90.92 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.001086/17.37, allocations: 154.6 kB / 5.473 GB, free: 90.9 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1197 * Number of variables: 1197 Notification: Performance of Generate backend data structure: time 0.02127/17.39, allocations: 5.702 MB / 5.479 GB, free: 88.47 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/17.39, allocations: 7.812 kB / 5.479 GB, free: 88.47 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01216/17.4, allocations: 1.403 MB / 5.48 GB, free: 88.12 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02203/17.42, allocations: 7.12 MB / 5.487 GB, free: 87.13 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004872/17.42, allocations: 353.2 kB / 5.487 GB, free: 87.12 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002161/17.42, allocations: 480.3 kB / 5.488 GB, free: 87.12 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01942/17.44, allocations: 6.35 MB / 5.494 GB, free: 86.7 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001872/17.44, allocations: 3.594 kB / 5.494 GB, free: 86.7 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001284/17.44, allocations: 190.6 kB / 5.494 GB, free: 86.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002443/17.45, allocations: 219.8 kB / 5.494 GB, free: 86.68 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01597/17.46, allocations: 5.607 MB / 5.5 GB, free: 86.61 MB / 0.8855 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.05371/17.51, allocations: 26.59 MB / 5.526 GB, free: 70.87 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00738/17.52, allocations: 3.784 MB / 5.529 GB, free: 69.17 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004932/17.53, allocations: 2.397 MB / 5.532 GB, free: 67.01 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001326/17.53, allocations: 1.007 MB / 5.533 GB, free: 65.85 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004921/17.53, allocations: 2.101 MB / 5.535 GB, free: 64.09 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=311): time 9.109e-06/17.53, allocations: 7.328 kB / 5.535 GB, free: 64.08 MB / 0.8855 GB Notification: Performance of matching and sorting (n=315): time 0.02726/17.56, allocations: 9.28 MB / 5.544 GB, free: 55.68 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.258e-05/17.56, allocations: 142.6 kB / 5.544 GB, free: 55.51 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0101/17.57, allocations: 4.224 MB / 5.548 GB, free: 51.84 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0007698/17.57, allocations: 89.7 kB / 5.548 GB, free: 51.74 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.003629/17.58, allocations: 2.511 MB / 5.551 GB, free: 49.47 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.001679/17.58, allocations: 1.082 MB / 5.552 GB, free: 48.49 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003975/17.58, allocations: 60 kB / 5.552 GB, free: 48.43 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002892/17.58, allocations: 435 kB / 5.552 GB, free: 48.04 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003634/17.58, allocations: 1.665 MB / 5.554 GB, free: 46.57 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004647/17.59, allocations: 2.469 MB / 5.556 GB, free: 44 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004586/17.59, allocations: 2.208 MB / 5.558 GB, free: 41.78 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.152e-05/17.59, allocations: 4 kB / 5.558 GB, free: 41.78 MB / 0.8855 GB Notification: Performance of matching and sorting (n=397) (initialization): time 0.0121/17.6, allocations: 4.732 MB / 5.563 GB, free: 37 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001145/17.6, allocations: 5.691 MB / 5.569 GB, free: 30.91 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.571e-05/17.6, allocations: 12 kB / 5.569 GB, free: 30.89 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005607/17.61, allocations: 132.8 kB / 5.569 GB, free: 30.76 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00452/17.61, allocations: 0.7096 MB / 5.569 GB, free: 30.05 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002822/17.61, allocations: 2.738 MB / 5.572 GB, free: 27.17 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007288/17.62, allocations: 0.5457 MB / 5.573 GB, free: 26.65 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008715/17.62, allocations: 128 kB / 5.573 GB, free: 26.52 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/17.62, allocations: 6.625 kB / 5.573 GB, free: 26.52 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01042/17.63, allocations: 4.358 MB / 5.577 GB, free: 22.12 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-05/17.63, allocations: 12 kB / 5.577 GB, free: 22.11 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004425/17.63, allocations: 120.2 kB / 5.577 GB, free: 21.99 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004309/17.64, allocations: 0.7061 MB / 5.578 GB, free: 21.28 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002456/17.64, allocations: 2.146 MB / 5.58 GB, free: 19.02 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007075/17.65, allocations: 0.5223 MB / 5.58 GB, free: 18.49 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008439/17.65, allocations: 127.9 kB / 5.581 GB, free: 18.37 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,$PRE.mWatGai.nextEvent,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,$PRE.mAirGai.nextEvent,mAirGai.nextEvent,mAirGai.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (378): * Single equations (assignments): 374 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001208/17.65, allocations: 369.6 kB / 5.581 GB, free: 17.99 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00148/17.65, allocations: 462.5 kB / 5.581 GB, free: 17.54 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01133/17.66, allocations: 4.581 MB / 5.586 GB, free: 12.89 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.68e-05/17.66, allocations: 35.95 kB / 5.586 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.196e-05/17.66, allocations: 0 / 5.586 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008592/17.67, allocations: 3.831 MB / 5.59 GB, free: 8.953 MB / 0.8855 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.6246/18.29, allocations: 11.42 MB / 5.601 GB, free: 103.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.069e-05/18.29, allocations: 4.375 kB / 5.601 GB, free: 103.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005104/18.3, allocations: 0.7108 MB / 5.601 GB, free: 103.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005731/18.3, allocations: 109.7 kB / 5.602 GB, free: 103.1 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007707/18.3, allocations: 94.17 kB / 5.602 GB, free: 103.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00296/18.3, allocations: 2.72 MB / 5.604 GB, free: 101.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.015e-05/18.3, allocations: 5.859 kB / 5.604 GB, free: 101.2 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01766/18.32, allocations: 7.535 MB / 5.612 GB, free: 100.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004766/18.33, allocations: 1.165 MB / 5.613 GB, free: 100.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002124/18.33, allocations: 77.55 kB / 5.613 GB, free: 100.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006709/18.33, allocations: 493 kB / 5.613 GB, free: 100.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000941/18.34, allocations: 187.8 kB / 5.614 GB, free: 100.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006738/18.34, allocations: 113.3 kB / 5.614 GB, free: 100.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.009679/18.35, allocations: 3.324 MB / 5.617 GB, free: 99.92 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.154e-06/18.35, allocations: 0 / 5.617 GB, free: 99.92 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01586/18.36, allocations: 2.937 MB / 5.62 GB, free: 99.92 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 18 (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,senRelHum.phi) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,mAirGai.nextEvent,mAirGai.nextEventScaled) * Number of discrete states: 12 (mAirGai.nextEvent,mAirGai.last,mAirGai.nextEventScaled,mAirGai.b,mAirGai.a,$whenCondition2,mWatGai.nextEvent,mWatGai.last,mWatGai.nextEventScaled,mWatGai.b,mWatGai.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (302): * Single equations (assignments): 294 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005941/18.37, allocations: 2.876 MB / 5.623 GB, free: 98.96 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01522/18.38, allocations: 7.008 MB / 5.629 GB, free: 98.39 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.19e-05/18.38, allocations: 3.188 kB / 5.629 GB, free: 98.39 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.005/18.39, allocations: 2.312 MB / 5.632 GB, free: 98.14 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01723/18.41, allocations: 2.928 MB / 5.635 GB, free: 98.08 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02768/18.43, allocations: 11.03 MB / 5.645 GB, free: 96.06 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008573/18.44, allocations: 4.508 MB / 5.65 GB, free: 95.21 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.01908/18.46, allocations: 4.363 MB / 5.654 GB, free: 95.15 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001562/18.46, allocations: 273.5 kB / 5.654 GB, free: 95.15 MB / 0.8855 GB Notification: Performance of SimCode: time 1.689e-06/18.46, allocations: 0 / 5.654 GB, free: 95.15 MB / 0.8855 GB Notification: Performance of Templates: time 0.2956/18.76, allocations: 143.1 MB / 5.794 GB, free: 82.89 MB / 0.8855 GB