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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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 3.827/3.827, allocations: 433.4 MB / 440.9 MB, free: 10.46 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.373e-05/2.41e-05, allocations: 4 kB / 0.5325 GB, free: 1.957 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5118/0.5119, allocations: 98.72 MB / 0.6289 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.222/6.734, allocations: 2.486 GB / 3.115 GB, free: 152.1 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000229/6.734, allocations: 87.34 kB / 3.115 GB, free: 152 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 10.46/17.19, allocations: 2.33 GB / 5.445 GB, free: 85.21 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.144e-06/17.19, allocations: 0 / 5.445 GB, free: 85.21 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.001111/17.19, allocations: 150.8 kB / 5.445 GB, free: 85.19 MB / 0.8698 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.02118/17.22, allocations: 5.71 MB / 5.451 GB, free: 82.34 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/17.22, allocations: 15.78 kB / 5.451 GB, free: 82.34 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01186/17.23, allocations: 1.399 MB / 5.452 GB, free: 81.91 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02125/17.25, allocations: 7.12 MB / 5.459 GB, free: 78.74 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003036/17.25, allocations: 145.8 kB / 5.459 GB, free: 78.74 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002056/17.25, allocations: 279.2 kB / 5.459 GB, free: 78.74 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01441/17.27, allocations: 5.221 MB / 5.465 GB, free: 74.11 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01856/17.28, allocations: 5.671 MB / 5.47 GB, free: 68.32 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000233/17.29, allocations: 11.84 kB / 5.47 GB, free: 68.31 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00147/17.29, allocations: 7.875 kB / 5.47 GB, free: 68.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002464/17.29, allocations: 213 kB / 5.47 GB, free: 68.09 MB / 0.8698 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.05028/17.34, allocations: 25.77 MB / 5.495 GB, free: 41.23 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007399/17.34, allocations: 4.729 MB / 5.5 GB, free: 36.29 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004543/17.35, allocations: 2.285 MB / 5.502 GB, free: 34.01 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001298/17.35, allocations: 1.012 MB / 5.503 GB, free: 32.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005072/17.36, allocations: 2.122 MB / 5.505 GB, free: 30.62 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=310): time 1.008e-05/17.36, allocations: 4 kB / 5.505 GB, free: 30.62 MB / 0.8698 GB Notification: Performance of matching and sorting (n=314): time 0.03822/17.39, allocations: 10.46 MB / 5.516 GB, free: 19.98 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.14e-05/17.39, allocations: 188.6 kB / 5.516 GB, free: 19.75 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009581/17.4, allocations: 3.855 MB / 5.52 GB, free: 15.88 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0008029/17.4, allocations: 33.7 kB / 5.52 GB, free: 15.84 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.003865/17.41, allocations: 2.495 MB / 5.522 GB, free: 13.32 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001749/17.41, allocations: 1.045 MB / 5.523 GB, free: 12.27 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000309/17.41, allocations: 4 kB / 5.523 GB, free: 12.26 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0003056/17.41, allocations: 434.3 kB / 5.523 GB, free: 11.83 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003434/17.41, allocations: 1.579 MB / 5.525 GB, free: 10.25 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004345/17.42, allocations: 2.362 MB / 5.527 GB, free: 7.602 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005865/17.42, allocations: 2.185 MB / 5.529 GB, free: 5.402 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.414e-05/17.42, allocations: 4 kB / 5.529 GB, free: 5.398 MB / 0.8698 GB Notification: Performance of matching and sorting (n=397) (initialization): time 0.01216/17.44, allocations: 4.487 MB / 5.534 GB, free: 0.8672 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.002784/17.44, allocations: 5.843 MB / 5.54 GB, free: 10.73 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-05/17.44, allocations: 12 kB / 5.54 GB, free: 10.72 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000579/17.44, allocations: 124.7 kB / 5.54 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004631/17.45, allocations: 0.7177 MB / 5.54 GB, free: 9.875 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003705/17.45, allocations: 2.678 MB / 5.543 GB, free: 7.07 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007096/17.46, allocations: 490.6 kB / 5.543 GB, free: 6.594 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008869/17.46, allocations: 128 kB / 5.544 GB, free: 6.469 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/17.46, allocations: 6.188 kB / 5.544 GB, free: 6.465 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01187/17.47, allocations: 4.046 MB / 5.548 GB, free: 2.387 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.048e-05/17.47, allocations: 12 kB / 5.548 GB, free: 2.375 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004731/17.47, allocations: 124.7 kB / 5.548 GB, free: 2.25 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00439/17.47, allocations: 0.7048 MB / 5.548 GB, free: 1.547 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6032/18.08, allocations: 2.059 MB / 5.55 GB, free: 108.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007536/18.08, allocations: 476.1 kB / 5.551 GB, free: 108.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001049/18.09, allocations: 129.5 kB / 5.551 GB, free: 108.4 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * 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.001721/18.09, allocations: 246.4 kB / 5.551 GB, free: 108.2 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002192/18.09, allocations: 449.4 kB / 5.552 GB, free: 108.2 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01523/18.1, allocations: 4.287 MB / 5.556 GB, free: 108 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.157e-05/18.11, allocations: 31.12 kB / 5.556 GB, free: 108 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.662e-05/18.11, allocations: 2.438 kB / 5.556 GB, free: 108 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01186/18.12, allocations: 3.627 MB / 5.559 GB, free: 107.8 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.03102/18.15, allocations: 10.7 MB / 5.57 GB, free: 106.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-05/18.15, allocations: 2.562 kB / 5.57 GB, free: 106.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004516/18.15, allocations: 0.6996 MB / 5.571 GB, free: 106.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005006/18.15, allocations: 117.1 kB / 5.571 GB, free: 106.7 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007498/18.15, allocations: 47.39 kB / 5.571 GB, free: 106.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002929/18.16, allocations: 2.658 MB / 5.573 GB, free: 104.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.944e-06/18.16, allocations: 10.73 kB / 5.573 GB, free: 104.8 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0165/18.17, allocations: 7.169 MB / 5.58 GB, free: 103.9 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00452/18.18, allocations: 1.131 MB / 5.581 GB, free: 103.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001971/18.18, allocations: 30.33 kB / 5.581 GB, free: 103.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00664/18.19, allocations: 438.9 kB / 5.582 GB, free: 103.8 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008314/18.19, allocations: 188.5 kB / 5.582 GB, free: 103.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004871/18.19, allocations: 111 kB / 5.582 GB, free: 103.8 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.00717/18.2, allocations: 3.002 MB / 5.585 GB, free: 103.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.05e-06/18.2, allocations: 2.062 kB / 5.585 GB, free: 103.6 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01544/18.21, allocations: 2.722 MB / 5.588 GB, free: 103.6 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (301): * Single equations (assignments): 293 * 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.00561/18.22, allocations: 3.062 MB / 5.591 GB, free: 102.7 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01334/18.23, allocations: 6.655 MB / 5.597 GB, free: 102.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.481e-05/18.23, allocations: 6.688 kB / 5.597 GB, free: 102.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.004328/18.23, allocations: 2.197 MB / 5.599 GB, free: 101.9 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0155/18.25, allocations: 2.767 MB / 5.602 GB, free: 101.9 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02966/18.28, allocations: 10.96 MB / 5.613 GB, free: 99.86 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008929/18.29, allocations: 4.507 MB / 5.617 GB, free: 99.01 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.01948/18.31, allocations: 4.348 MB / 5.621 GB, free: 98.96 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001592/18.31, allocations: 278.8 kB / 5.622 GB, free: 98.95 MB / 0.8855 GB Notification: Performance of SimCode: time 1.942e-06/18.31, allocations: 0 / 5.622 GB, free: 98.95 MB / 0.8855 GB Notification: Performance of Templates: time 0.2379/18.55, allocations: 111.8 MB / 5.731 GB, free: 93.34 MB / 0.8855 GB