Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowMassFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.946/3.946, allocations: 432.6 MB / 445.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.75e-05/4.772e-05, allocations: 5.125 kB / 0.5383 GB, free: 10.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2178/0.2179, allocations: 98.73 MB / 0.6347 GB, free: 1.887 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.689/7.907, allocations: 2.487 GB / 3.122 GB, free: 177.2 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003255/7.907, allocations: 90.81 kB / 3.122 GB, free: 177.2 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 12.3/20.2, allocations: 2.351 GB / 5.473 GB, free: 90.27 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.775e-06/20.2, allocations: 0 / 5.473 GB, free: 90.27 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.001317/20.21, allocations: 143.3 kB / 5.473 GB, free: 90.25 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.02681/20.23, allocations: 5.719 MB / 5.479 GB, free: 87.82 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/20.23, allocations: 6.969 kB / 5.479 GB, free: 87.82 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003336/20.24, allocations: 0.6418 MB / 5.479 GB, free: 87.75 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0137/20.25, allocations: 1.404 MB / 5.481 GB, free: 87.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02654/20.28, allocations: 7.128 MB / 5.488 GB, free: 86.41 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000614/20.28, allocations: 354 kB / 5.488 GB, free: 86.39 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00261/20.28, allocations: 480 kB / 5.488 GB, free: 86.39 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02439/20.3, allocations: 6.338 MB / 5.494 GB, free: 85.98 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003036/20.3, allocations: 7.906 kB / 5.495 GB, free: 85.97 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002037/20.31, allocations: 193 kB / 5.495 GB, free: 85.97 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003389/20.31, allocations: 222 kB / 5.495 GB, free: 85.96 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01951/20.33, allocations: 5.6 MB / 5.5 GB, free: 85.89 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.06541/20.39, allocations: 26.58 MB / 5.526 GB, free: 69.98 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009048/20.4, allocations: 3.786 MB / 5.53 GB, free: 68.2 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006003/20.41, allocations: 2.391 MB / 5.532 GB, free: 66.04 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001793/20.41, allocations: 1.009 MB / 5.533 GB, free: 64.88 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006278/20.41, allocations: 2.109 MB / 5.535 GB, free: 63.11 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=311): time 7.714e-06/20.42, allocations: 0 / 5.535 GB, free: 63.11 MB / 0.8855 GB Notification: Performance of matching and sorting (n=315): time 0.03305/20.45, allocations: 9.285 MB / 5.544 GB, free: 54.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.077e-05/20.45, allocations: 149.1 kB / 5.545 GB, free: 54.53 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0116/20.46, allocations: 4.213 MB / 5.549 GB, free: 50.86 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0009597/20.46, allocations: 89.7 kB / 5.549 GB, free: 50.77 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.004136/20.46, allocations: 2.517 MB / 5.551 GB, free: 48.49 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.001993/20.47, allocations: 1.082 MB / 5.552 GB, free: 47.51 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003518/20.47, allocations: 62.75 kB / 5.552 GB, free: 47.45 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002848/20.47, allocations: 430.8 kB / 5.553 GB, free: 47.06 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004459/20.47, allocations: 1.666 MB / 5.554 GB, free: 45.59 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005876/20.48, allocations: 2.466 MB / 5.557 GB, free: 43.13 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006062/20.48, allocations: 2.21 MB / 5.559 GB, free: 41.26 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.446e-05/20.48, allocations: 4 kB / 5.559 GB, free: 41.26 MB / 0.8855 GB Notification: Performance of matching and sorting (n=397) (initialization): time 0.01413/20.5, allocations: 4.734 MB / 5.564 GB, free: 37.05 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001308/20.5, allocations: 5.692 MB / 5.569 GB, free: 30.96 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.946e-05/20.5, allocations: 12 kB / 5.569 GB, free: 30.95 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007203/20.5, allocations: 131.7 kB / 5.569 GB, free: 30.84 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006511/20.51, allocations: 0.7024 MB / 5.57 GB, free: 30.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003322/20.51, allocations: 2.756 MB / 5.573 GB, free: 27.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009889/20.52, allocations: 0.5481 MB / 5.573 GB, free: 26.78 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001039/20.52, allocations: 124 kB / 5.573 GB, free: 26.66 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/20.52, allocations: 5.875 kB / 5.573 GB, free: 26.65 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0123/20.53, allocations: 4.36 MB / 5.578 GB, free: 22.26 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-05/20.53, allocations: 12 kB / 5.578 GB, free: 22.25 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005506/20.53, allocations: 118.5 kB / 5.578 GB, free: 22.13 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006158/20.54, allocations: 0.7061 MB / 5.578 GB, free: 21.42 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002822/20.54, allocations: 2.126 MB / 5.58 GB, free: 19.17 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009505/20.55, allocations: 0.534 MB / 5.581 GB, free: 18.63 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009698/20.55, allocations: 127.9 kB / 5.581 GB, free: 18.51 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.001266/20.56, allocations: 364.9 kB / 5.581 GB, free: 18.14 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001715/20.56, allocations: 464.7 kB / 5.582 GB, free: 17.68 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01358/20.57, allocations: 4.593 MB / 5.586 GB, free: 13.03 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.785e-05/20.57, allocations: 31.95 kB / 5.586 GB, free: 13 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/20.57, allocations: 7.562 kB / 5.586 GB, free: 12.99 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01035/20.58, allocations: 3.832 MB / 5.59 GB, free: 9.082 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.7659/21.35, allocations: 11.43 MB / 5.601 GB, free: 102.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.01e-05/21.35, allocations: 5.047 kB / 5.601 GB, free: 102.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007164/21.35, allocations: 0.6982 MB / 5.602 GB, free: 102.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000692/21.36, allocations: 113.6 kB / 5.602 GB, free: 102.3 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009173/21.36, allocations: 90.03 kB / 5.602 GB, free: 102.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003516/21.36, allocations: 2.723 MB / 5.605 GB, free: 100.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.478e-06/21.36, allocations: 9.062 kB / 5.605 GB, free: 100.4 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02213/21.38, allocations: 7.529 MB / 5.612 GB, free: 99.41 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005901/21.39, allocations: 1.162 MB / 5.613 GB, free: 99.32 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002419/21.39, allocations: 80.28 kB / 5.613 GB, free: 99.32 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009144/21.4, allocations: 493.8 kB / 5.614 GB, free: 99.32 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00116/21.4, allocations: 190.9 kB / 5.614 GB, free: 99.31 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006003/21.4, allocations: 112.7 kB / 5.614 GB, free: 99.31 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.01122/21.41, allocations: 3.319 MB / 5.617 GB, free: 99.11 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7.02e-07/21.41, allocations: 0 / 5.617 GB, free: 99.11 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01935/21.43, allocations: 2.94 MB / 5.62 GB, free: 99.11 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.02673/21.46, allocations: 11.55 MB / 5.632 GB, free: 96.05 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01878/21.48, allocations: 7.011 MB / 5.638 GB, free: 95.47 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.625e-05/21.48, allocations: 3.75 kB / 5.638 GB, free: 95.47 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.005836/21.48, allocations: 2.31 MB / 5.641 GB, free: 95.22 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02497/21.51, allocations: 2.925 MB / 5.644 GB, free: 95.16 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04146/21.55, allocations: 13.04 MB / 5.656 GB, free: 92.98 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00907/21.56, allocations: 4.508 MB / 5.661 GB, free: 92.12 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.02385/21.58, allocations: 4.364 MB / 5.665 GB, free: 92.07 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006454/21.59, allocations: 2.288 MB / 5.667 GB, free: 92.07 MB / 0.8855 GB Notification: Performance of SimCode: time 1.493e-06/21.59, allocations: 0 / 5.667 GB, free: 92.07 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4294/22.02, allocations: 199.9 MB / 5.862 GB, free: 20.47 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002989/22.02, allocations: 251.9 kB / 5.863 GB, free: 20.13 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/33.16, allocations: 0 / 5.863 GB, free: 20.13 MB / 0.8855 GB