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 Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01841/0.01842, allocations: 106.2 kB / 15.05 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.0026/0.0026, allocations: 183.8 kB / 15.94 MB, free: 5.941 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.741/2.741, allocations: 194.6 MB / 211.3 MB, free: 11.24 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.22/2.22, allocations: 236.2 MB / 492.6 MB, free: 11.27 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006617/0.0006617, allocations: 12 kB / 0.587 GB, free: 2.094 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6922/0.6929, allocations: 98.71 MB / 0.6834 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.167/8.86, allocations: 2.477 GB / 3.16 GB, free: 212.7 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003433/8.861, allocations: 94.97 kB / 3.16 GB, free: 212.7 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 12.84/21.71, allocations: 2.355 GB / 5.515 GB, free: 85.82 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.815e-06/21.71, allocations: 0 / 5.515 GB, free: 85.82 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.001443/21.71, allocations: 150.5 kB / 5.515 GB, free: 85.8 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.0359/21.74, allocations: 6.892 MB / 5.522 GB, free: 83.09 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.409e-05/21.74, allocations: 10.88 kB / 5.522 GB, free: 83.09 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004007/21.75, allocations: 0.6462 MB / 5.523 GB, free: 83.02 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01465/21.76, allocations: 1.412 MB / 5.524 GB, free: 82.66 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02768/21.79, allocations: 7.164 MB / 5.531 GB, free: 81.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006406/21.79, allocations: 352.4 kB / 5.531 GB, free: 81.79 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002804/21.79, allocations: 480.4 kB / 5.532 GB, free: 81.78 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02655/21.82, allocations: 6.429 MB / 5.538 GB, free: 81.38 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004254/21.82, allocations: 9.25 kB / 5.538 GB, free: 81.38 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002389/21.82, allocations: 194.1 kB / 5.538 GB, free: 81.38 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003375/21.82, allocations: 220.6 kB / 5.538 GB, free: 81.36 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02151/21.84, allocations: 5.712 MB / 5.544 GB, free: 81.31 MB / 0.8855 GB 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.07106/21.92, allocations: 26.59 MB / 5.57 GB, free: 71.45 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0101/21.93, allocations: 3.821 MB / 5.574 GB, free: 69.79 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001825/21.93, allocations: 1.009 MB / 5.575 GB, free: 68.73 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007077/21.93, allocations: 2.139 MB / 5.577 GB, free: 67.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=311): time 8.386e-06/21.93, allocations: 3.062 kB / 5.577 GB, free: 67.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=315): time 0.04419/21.98, allocations: 11.24 MB / 5.588 GB, free: 62.58 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.407e-05/21.98, allocations: 139.2 kB / 5.588 GB, free: 62.45 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01382/21.99, allocations: 4.273 MB / 5.592 GB, free: 61 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.00111/21.99, allocations: 90.36 kB / 5.592 GB, free: 60.92 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.004829/22, allocations: 2.519 MB / 5.595 GB, free: 59.02 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.002433/22, allocations: 1.072 MB / 5.596 GB, free: 58.19 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008036/22, allocations: 61.28 kB / 5.596 GB, free: 58.14 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0004347/22, allocations: 434.2 kB / 5.596 GB, free: 57.79 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005484/22.01, allocations: 1.704 MB / 5.598 GB, free: 57.18 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00681/22.02, allocations: 2.495 MB / 5.6 GB, free: 55.73 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006679/22.02, allocations: 2.242 MB / 5.602 GB, free: 54.76 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.753e-05/22.02, allocations: 3.781 kB / 5.602 GB, free: 54.76 MB / 0.8855 GB Notification: Performance of matching and sorting (n=397) (initialization): time 0.01731/22.04, allocations: 4.805 MB / 5.607 GB, free: 52.83 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001351/22.04, allocations: 5.691 MB / 5.613 GB, free: 46.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.743e-05/22.04, allocations: 10.41 kB / 5.613 GB, free: 46.79 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007552/22.04, allocations: 128 kB / 5.613 GB, free: 46.75 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006649/22.05, allocations: 0.7085 MB / 5.613 GB, free: 46.69 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003653/22.05, allocations: 2.795 MB / 5.616 GB, free: 44.33 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01009/22.06, allocations: 0.5489 MB / 5.617 GB, free: 44.24 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001164/22.06, allocations: 130.9 kB / 5.617 GB, free: 44.21 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/22.06, allocations: 3.312 kB / 5.617 GB, free: 44.21 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01507/22.08, allocations: 4.425 MB / 5.621 GB, free: 40.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.173e-05/22.08, allocations: 15.59 kB / 5.621 GB, free: 40.77 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005642/22.08, allocations: 120.7 kB / 5.621 GB, free: 40.67 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006424/22.09, allocations: 0.7074 MB / 5.622 GB, free: 40.07 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003147/22.09, allocations: 2.167 MB / 5.624 GB, free: 37.95 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009861/22.1, allocations: 0.5311 MB / 5.625 GB, free: 37.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001126/22.1, allocations: 131 kB / 5.625 GB, free: 37.48 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 () * Number of clocked 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.007622/22.11, allocations: 2.404 MB / 5.627 GB, free: 35.47 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002563/22.11, allocations: 464.9 kB / 5.628 GB, free: 35.01 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01678/22.13, allocations: 4.662 MB / 5.632 GB, free: 31.03 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.404e-05/22.13, allocations: 32 kB / 5.632 GB, free: 31 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.939e-06/22.13, allocations: 0 / 5.632 GB, free: 31 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01264/22.14, allocations: 3.887 MB / 5.636 GB, free: 27.55 MB / 0.8855 GB 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 postOpt removeSimpleEquations (simulation): time 0.03941/22.18, allocations: 11.49 MB / 5.647 GB, free: 18.13 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-05/22.18, allocations: 3.125 kB / 5.647 GB, free: 18.13 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006881/22.19, allocations: 0.7058 MB / 5.648 GB, free: 17.55 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006112/22.19, allocations: 112.7 kB / 5.648 GB, free: 17.46 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009329/22.19, allocations: 86.03 kB / 5.648 GB, free: 17.39 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00337/22.19, allocations: 2.768 MB / 5.651 GB, free: 14.64 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/22.19, allocations: 4 kB / 5.651 GB, free: 14.64 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02114/22.21, allocations: 7.612 MB / 5.658 GB, free: 6.867 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00558/22.22, allocations: 1.167 MB / 5.659 GB, free: 5.676 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002507/22.22, allocations: 78.58 kB / 5.659 GB, free: 5.602 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008641/22.23, allocations: 495.1 kB / 5.66 GB, free: 5.148 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001107/22.23, allocations: 192.7 kB / 5.66 GB, free: 4.961 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008924/22.23, allocations: 111.9 kB / 5.66 GB, free: 4.855 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.01052/22.24, allocations: 3.376 MB / 5.663 GB, free: 1.48 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7.71e-07/22.24, allocations: 0 / 5.663 GB, free: 1.48 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0203/22.26, allocations: 2.939 MB / 5.666 GB, free: 14.54 MB / 0.9011 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) * Number of clocked states: 0 () * 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.03149/22.29, allocations: 11.63 MB / 5.678 GB, free: 3.066 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.7876/23.08, allocations: 6.959 MB / 5.684 GB, free: 116.2 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.021e-05/23.08, allocations: 5.969 kB / 5.684 GB, free: 116.2 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.007447/23.09, allocations: 2.339 MB / 5.687 GB, free: 115.9 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02712/23.12, allocations: 2.928 MB / 5.69 GB, free: 115.9 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06403/23.18, allocations: 32.61 MB / 5.721 GB, free: 93.7 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01231/23.19, allocations: 4.505 MB / 5.726 GB, free: 92.85 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.01812/23.21, allocations: 2.616 MB / 5.728 GB, free: 92.8 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008242/23.22, allocations: 2.365 MB / 5.731 GB, free: 92.8 MB / 0.9011 GB Notification: Performance of SimCode: time 1.803e-06/23.22, allocations: 0 / 5.731 GB, free: 92.8 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4071/23.63, allocations: 185.4 MB / 5.912 GB, free: 58.9 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002867/23.63, allocations: 282.8 kB / 5.912 GB, free: 58.54 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/34.78, allocations: 0 / 5.912 GB, free: 58.54 MB / 0.9011 GB