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.DryCoilCounterFlowMassFlow.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.DryCoilCounterFlowMassFlow,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowMassFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.942/3.942, allocations: 432.6 MB / 445.2 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.53e-05/3.551e-05, allocations: 4.859 kB / 0.5383 GB, free: 10.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2178/0.2179, allocations: 98.72 MB / 0.6347 GB, free: 1.898 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.55/7.768, allocations: 2.479 GB / 3.114 GB, free: 124 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00027/7.769, allocations: 86.39 kB / 3.114 GB, free: 124 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 10.56/18.33, allocations: 1.997 GB / 5.111 GB, free: 69.27 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.876e-06/18.33, allocations: 0 / 5.111 GB, free: 69.27 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.001176/18.33, allocations: 138.2 kB / 5.111 GB, free: 69.13 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: 1029 * Number of variables: 1029 Notification: Performance of Generate backend data structure: time 0.02393/18.36, allocations: 5.182 MB / 5.117 GB, free: 63.89 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/18.36, allocations: 19.97 kB / 5.117 GB, free: 63.87 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00273/18.36, allocations: 0.555 MB / 5.117 GB, free: 63.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01209/18.37, allocations: 1.241 MB / 5.118 GB, free: 62.06 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02452/18.4, allocations: 6.741 MB / 5.125 GB, free: 55.28 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004819/18.4, allocations: 307.8 kB / 5.125 GB, free: 54.98 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002182/18.4, allocations: 415.9 kB / 5.126 GB, free: 54.57 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0201/18.42, allocations: 5.506 MB / 5.131 GB, free: 48.96 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003033/18.42, allocations: 8 kB / 5.131 GB, free: 48.95 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001648/18.42, allocations: 167.9 kB / 5.131 GB, free: 48.79 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000275/18.42, allocations: 191.8 kB / 5.131 GB, free: 48.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01624/18.44, allocations: 4.841 MB / 5.136 GB, free: 43.76 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.05553/18.49, allocations: 23.97 MB / 5.159 GB, free: 18.44 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008441/18.5, allocations: 3.585 MB / 5.163 GB, free: 14.83 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005117/18.51, allocations: 2.085 MB / 5.165 GB, free: 12.74 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001614/18.51, allocations: 0.9981 MB / 5.166 GB, free: 11.54 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005209/18.52, allocations: 1.818 MB / 5.168 GB, free: 9.668 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=271): time 8.125e-06/18.52, allocations: 0 / 5.168 GB, free: 9.668 MB / 0.8698 GB Notification: Performance of matching and sorting (n=275): time 0.03063/18.55, allocations: 8.034 MB / 5.176 GB, free: 1.438 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.827e-05/18.55, allocations: 136.9 kB / 5.176 GB, free: 1.277 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6952/19.24, allocations: 3.889 MB / 5.18 GB, free: 92.47 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.000872/19.24, allocations: 84.67 kB / 5.18 GB, free: 92.44 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.004384/19.25, allocations: 2.233 MB / 5.182 GB, free: 92.32 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.002168/19.25, allocations: 0.9456 MB / 5.183 GB, free: 92.04 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003603/19.25, allocations: 51.53 kB / 5.183 GB, free: 92.04 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0003734/19.25, allocations: 425.2 kB / 5.183 GB, free: 91.74 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004551/19.25, allocations: 1.42 MB / 5.185 GB, free: 91.73 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006053/19.26, allocations: 2.171 MB / 5.187 GB, free: 91.01 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005883/19.27, allocations: 1.914 MB / 5.189 GB, free: 90.89 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.653e-05/19.27, allocations: 7.875 kB / 5.189 GB, free: 90.89 MB / 0.8698 GB Notification: Performance of matching and sorting (n=353) (initialization): time 0.01429/19.28, allocations: 4.133 MB / 5.193 GB, free: 90.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001177/19.28, allocations: 5.209 MB / 5.198 GB, free: 85.18 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.396e-05/19.28, allocations: 11.19 kB / 5.198 GB, free: 85.18 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000721/19.28, allocations: 122.6 kB / 5.198 GB, free: 85.18 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005939/19.29, allocations: 0.6166 MB / 5.198 GB, free: 85.18 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003702/19.29, allocations: 2.743 MB / 5.201 GB, free: 83.25 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00938/19.3, allocations: 0.5005 MB / 5.202 GB, free: 83.23 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001001/19.3, allocations: 114.1 kB / 5.202 GB, free: 83.23 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/19.3, allocations: 4.594 kB / 5.202 GB, free: 83.23 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01236/19.32, allocations: 3.778 MB / 5.205 GB, free: 83.07 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.598e-05/19.32, allocations: 14.62 kB / 5.205 GB, free: 83.07 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005815/19.32, allocations: 119.7 kB / 5.205 GB, free: 83.06 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00536/19.32, allocations: 0.6099 MB / 5.206 GB, free: 83.06 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00296/19.32, allocations: 2.136 MB / 5.208 GB, free: 81.72 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008902/19.33, allocations: 496.4 kB / 5.209 GB, free: 81.71 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008804/19.33, allocations: 113.8 kB / 5.209 GB, free: 81.71 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * 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 (334): * Single equations (assignments): 330 * 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.001251/19.34, allocations: 346.6 kB / 5.209 GB, free: 81.54 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001654/19.34, allocations: 425.3 kB / 5.209 GB, free: 81.32 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01206/19.35, allocations: 3.951 MB / 5.213 GB, free: 81.06 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.669e-05/19.35, allocations: 24.31 kB / 5.213 GB, free: 81.06 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/19.35, allocations: 3.375 kB / 5.213 GB, free: 81.06 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008733/19.36, allocations: 3.295 MB / 5.217 GB, free: 80.74 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 postOpt removeSimpleEquations (simulation): time 0.02947/19.39, allocations: 10.01 MB / 5.226 GB, free: 79.75 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.951e-05/19.39, allocations: 3.438 kB / 5.226 GB, free: 79.75 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005939/19.39, allocations: 0.6192 MB / 5.227 GB, free: 79.75 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005665/19.39, allocations: 116.1 kB / 5.227 GB, free: 79.75 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006751/19.39, allocations: 81.81 kB / 5.227 GB, free: 79.75 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003177/19.4, allocations: 2.724 MB / 5.23 GB, free: 77.82 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/19.4, allocations: 8.391 kB / 5.23 GB, free: 77.82 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01569/19.41, allocations: 6.507 MB / 5.236 GB, free: 76.63 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004878/19.42, allocations: 1.053 MB / 5.237 GB, free: 76.32 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001953/19.42, allocations: 71.38 kB / 5.237 GB, free: 76.32 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00791/19.43, allocations: 456.4 kB / 5.238 GB, free: 76.31 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008803/19.43, allocations: 168 kB / 5.238 GB, free: 76.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004327/19.43, allocations: 104.8 kB / 5.238 GB, free: 76.3 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.008615/19.44, allocations: 3.068 MB / 5.241 GB, free: 76.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8.42e-07/19.44, allocations: 0 / 5.241 GB, free: 76.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.01708/19.46, allocations: 2.747 MB / 5.244 GB, free: 76.1 MB / 0.8698 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 (262): * Single equations (assignments): 254 * 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.0222/19.48, allocations: 10.47 MB / 5.254 GB, free: 72.86 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01587/19.49, allocations: 6.126 MB / 5.26 GB, free: 72.28 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.388e-05/19.49, allocations: 4.531 kB / 5.26 GB, free: 72.28 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.004763/19.5, allocations: 2.004 MB / 5.262 GB, free: 72.02 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02466/19.52, allocations: 2.794 MB / 5.265 GB, free: 71.97 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04798/19.57, allocations: 11.68 MB / 5.276 GB, free: 69.98 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0116/19.58, allocations: 4.065 MB / 5.28 GB, free: 69.15 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.03249/19.62, allocations: 3.959 MB / 5.284 GB, free: 69.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008397/19.62, allocations: 2.033 MB / 5.286 GB, free: 69.09 MB / 0.8698 GB Notification: Performance of SimCode: time 2.164e-06/19.62, allocations: 0 / 5.286 GB, free: 69.09 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4029/20.03, allocations: 187.6 MB / 5.469 GB, free: 6.984 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004181/20.03, allocations: 248.2 kB / 5.469 GB, free: 6.648 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.43/30.46, allocations: 3.938 kB / 5.469 GB, free: 6.645 MB / 0.8855 GB