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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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 4.114/4.114, allocations: 433.2 MB / 440.7 MB, free: 4.574 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.819e-05/2.83e-05, allocations: 5.594 kB / 0.5325 GB, free: 12.79 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2243/0.2243, allocations: 98.72 MB / 0.6289 GB, free: 9.133 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.82/8.045, allocations: 2.486 GB / 3.115 GB, free: 155.1 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003138/8.045, allocations: 91.81 kB / 3.115 GB, free: 155.1 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 12.27/20.32, allocations: 2.33 GB / 5.445 GB, free: 84.93 MB / 0.8699 GB Notification: Performance of FrontEnd: time 2.305e-06/20.32, allocations: 0 / 5.445 GB, free: 84.93 MB / 0.8699 GB Notification: Performance of Transformations before backend: time 0.001331/20.32, allocations: 150.8 kB / 5.445 GB, free: 84.91 MB / 0.8699 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.0268/20.35, allocations: 5.712 MB / 5.451 GB, free: 82.46 MB / 0.8699 GB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/20.35, allocations: 10.38 kB / 5.451 GB, free: 82.46 MB / 0.8699 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01405/20.36, allocations: 1.401 MB / 5.452 GB, free: 82.1 MB / 0.8699 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02821/20.39, allocations: 7.125 MB / 5.459 GB, free: 79.05 MB / 0.8699 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004246/20.39, allocations: 146.3 kB / 5.459 GB, free: 79.05 MB / 0.8699 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002689/20.39, allocations: 278.3 kB / 5.459 GB, free: 79.05 MB / 0.8699 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01779/20.41, allocations: 5.219 MB / 5.464 GB, free: 77.06 MB / 0.8699 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0221/20.43, allocations: 5.671 MB / 5.47 GB, free: 73.34 MB / 0.8699 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002163/20.43, allocations: 11.84 kB / 5.47 GB, free: 73.33 MB / 0.8699 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001068/20.43, allocations: 8 kB / 5.47 GB, free: 73.32 MB / 0.8699 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000308/20.43, allocations: 214.3 kB / 5.47 GB, free: 73.12 MB / 0.8699 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.06076/20.5, allocations: 25.76 MB / 5.495 GB, free: 47.03 MB / 0.8699 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00876/20.5, allocations: 4.735 MB / 5.5 GB, free: 42.09 MB / 0.8699 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004986/20.51, allocations: 2.288 MB / 5.502 GB, free: 39.8 MB / 0.8699 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001654/20.51, allocations: 1.008 MB / 5.503 GB, free: 38.6 MB / 0.8699 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004909/20.52, allocations: 2.124 MB / 5.505 GB, free: 36.42 MB / 0.8699 GB Notification: Performance of pre-optimization done (n=310): time 7.274e-06/20.52, allocations: 0 / 5.505 GB, free: 36.42 MB / 0.8699 GB Notification: Performance of matching and sorting (n=314): time 0.04027/20.56, allocations: 10.47 MB / 5.516 GB, free: 25.77 MB / 0.8699 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.649e-05/20.56, allocations: 188.6 kB / 5.516 GB, free: 25.55 MB / 0.8699 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00961/20.57, allocations: 3.855 MB / 5.519 GB, free: 21.68 MB / 0.8699 GB Notification: Performance of collectPreVariables (initialization): time 0.001007/20.57, allocations: 29.7 kB / 5.52 GB, free: 21.64 MB / 0.8699 GB Notification: Performance of collectInitialEqns (initialization): time 0.003609/20.57, allocations: 2.499 MB / 5.522 GB, free: 19.12 MB / 0.8699 GB Notification: Performance of collectInitialBindings (initialization): time 0.002044/20.57, allocations: 1.043 MB / 5.523 GB, free: 18.06 MB / 0.8699 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003247/20.57, allocations: 0 / 5.523 GB, free: 18.06 MB / 0.8699 GB Notification: Performance of setup shared object (initialization): time 0.0002623/20.57, allocations: 436.5 kB / 5.523 GB, free: 17.63 MB / 0.8699 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003514/20.58, allocations: 1.576 MB / 5.525 GB, free: 16.05 MB / 0.8699 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004257/20.58, allocations: 2.37 MB / 5.527 GB, free: 13.39 MB / 0.8699 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006/20.59, allocations: 2.183 MB / 5.529 GB, free: 11.2 MB / 0.8699 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.673e-05/20.59, allocations: 5.75 kB / 5.529 GB, free: 11.2 MB / 0.8699 GB Notification: Performance of matching and sorting (n=397) (initialization): time 0.0129/20.6, allocations: 4.487 MB / 5.534 GB, free: 6.664 MB / 0.8699 GB Notification: Performance of prepare postOptimizeDAE: time 0.001236/20.6, allocations: 5.843 MB / 5.539 GB, free: 0.5273 MB / 0.8699 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-05/20.6, allocations: 19.95 kB / 5.539 GB, free: 0.5078 MB / 0.8699 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006268/20.6, allocations: 116.7 kB / 5.54 GB, free: 400 kB / 0.8699 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006632/20.61, allocations: 0.7138 MB / 5.54 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004165/20.61, allocations: 2.69 MB / 5.543 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009757/20.62, allocations: 486.8 kB / 5.543 GB, free: 12.38 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009921/20.62, allocations: 128 kB / 5.544 GB, free: 12.25 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/20.62, allocations: 7.953 kB / 5.544 GB, free: 12.25 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01287/20.64, allocations: 4.034 MB / 5.547 GB, free: 8.18 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.565e-05/20.64, allocations: 12 kB / 5.547 GB, free: 8.168 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000557/20.64, allocations: 125 kB / 5.548 GB, free: 8.043 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006117/20.64, allocations: 0.7021 MB / 5.548 GB, free: 7.34 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003424/20.65, allocations: 2.07 MB / 5.55 GB, free: 5.164 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009434/20.66, allocations: 474.8 kB / 5.551 GB, free: 4.699 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009542/20.66, allocations: 134.7 kB / 5.551 GB, free: 4.57 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.001209/20.66, allocations: 250.7 kB / 5.551 GB, free: 4.312 MB / 0.8855 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01288/20.67, allocations: 3.896 MB / 5.555 GB, free: 380 kB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.7404/21.41, allocations: 445.7 kB / 5.555 GB, free: 109.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01648/21.43, allocations: 4.279 MB / 5.56 GB, free: 109.6 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.649e-05/21.43, allocations: 35.31 kB / 5.56 GB, free: 109.6 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.31e-05/21.43, allocations: 1.688 kB / 5.56 GB, free: 109.6 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01281/21.44, allocations: 3.615 MB / 5.563 GB, free: 109.4 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.03506/21.48, allocations: 10.71 MB / 5.574 GB, free: 108.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.022e-05/21.48, allocations: 3.938 kB / 5.574 GB, free: 108.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006665/21.48, allocations: 0.6984 MB / 5.574 GB, free: 108.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005947/21.48, allocations: 109.2 kB / 5.574 GB, free: 108.3 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007716/21.48, allocations: 49.41 kB / 5.574 GB, free: 108.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003084/21.49, allocations: 2.658 MB / 5.577 GB, free: 106.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.495e-05/21.49, allocations: 8.906 kB / 5.577 GB, free: 106.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01909/21.51, allocations: 7.166 MB / 5.584 GB, free: 105.6 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005314/21.51, allocations: 1.133 MB / 5.585 GB, free: 105.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002027/21.51, allocations: 28.62 kB / 5.585 GB, free: 105.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008414/21.52, allocations: 445.7 kB / 5.586 GB, free: 105.5 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001056/21.52, allocations: 186.8 kB / 5.586 GB, free: 105.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004805/21.52, allocations: 112.6 kB / 5.586 GB, free: 105.5 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.008194/21.53, allocations: 2.999 MB / 5.589 GB, free: 105.3 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6.31e-07/21.53, allocations: 0 / 5.589 GB, free: 105.3 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01854/21.55, allocations: 2.721 MB / 5.591 GB, free: 105.3 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.02475/21.58, allocations: 11.35 MB / 5.602 GB, free: 102.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01628/21.59, allocations: 6.654 MB / 5.609 GB, free: 101.8 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.4e-05/21.59, allocations: 2.25 kB / 5.609 GB, free: 101.8 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.005149/21.6, allocations: 2.191 MB / 5.611 GB, free: 101.6 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02375/21.62, allocations: 2.757 MB / 5.614 GB, free: 101.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04449/21.67, allocations: 12.87 MB / 5.626 GB, free: 99.34 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009282/21.68, allocations: 4.508 MB / 5.631 GB, free: 98.49 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.02381/21.7, allocations: 4.341 MB / 5.635 GB, free: 98.43 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006473/21.71, allocations: 2.282 MB / 5.637 GB, free: 98.42 MB / 0.8855 GB Notification: Performance of SimCode: time 1.423e-06/21.71, allocations: 0 / 5.637 GB, free: 98.42 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3735/22.08, allocations: 163.9 MB / 5.797 GB, free: 53.44 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000211/22.08, allocations: 188.7 kB / 5.797 GB, free: 53.25 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.814/31.89, allocations: 0 / 5.797 GB, free: 53.25 MB / 0.8855 GB