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 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.DryCoilCounterFlowMassFlow,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowMassFlow",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.01128/0.01128, allocations: 109.6 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.001236/0.001236, allocations: 180.9 kB / 15.94 MB, free: 5.938 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 1.968/1.968, allocations: 194.6 MB / 211.3 MB, free: 11.25 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.271/2.271, allocations: 236.1 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004975/0.0004975, allocations: 12 kB / 0.587 GB, free: 2.082 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7086/0.7091, allocations: 98.71 MB / 0.6834 GB, free: 16.6 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.887/8.597, allocations: 2.469 GB / 3.152 GB, free: 215 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003344/8.597, allocations: 92.61 kB / 3.152 GB, free: 215 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 10.7/19.3, allocations: 2.001 GB / 5.153 GB, free: 94.55 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.519e-06/19.3, allocations: 2.625 kB / 5.153 GB, free: 94.55 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.001233/19.3, allocations: 137 kB / 5.153 GB, free: 94.53 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.03158/19.33, allocations: 6.306 MB / 5.159 GB, free: 92.11 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/19.33, allocations: 6.844 kB / 5.159 GB, free: 92.11 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003193/19.33, allocations: 0.5633 MB / 5.16 GB, free: 92.05 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01281/19.35, allocations: 1.241 MB / 5.161 GB, free: 91.74 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02527/19.37, allocations: 6.788 MB / 5.168 GB, free: 90.94 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005262/19.37, allocations: 308.5 kB / 5.168 GB, free: 90.93 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002327/19.37, allocations: 417.5 kB / 5.169 GB, free: 90.93 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02146/19.4, allocations: 5.581 MB / 5.174 GB, free: 90.56 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002999/19.4, allocations: 13.84 kB / 5.174 GB, free: 90.56 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001749/19.4, allocations: 162.8 kB / 5.174 GB, free: 90.56 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003049/19.4, allocations: 193.4 kB / 5.174 GB, free: 90.55 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01733/19.42, allocations: 4.934 MB / 5.179 GB, free: 90.52 MB / 0.8698 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.05706/19.47, allocations: 23.97 MB / 5.203 GB, free: 79.69 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008808/19.48, allocations: 3.641 MB / 5.206 GB, free: 78.08 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001698/19.48, allocations: 0.9983 MB / 5.207 GB, free: 77.03 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005374/19.49, allocations: 1.836 MB / 5.209 GB, free: 76.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=271): time 7.083e-06/19.49, allocations: 1.531 kB / 5.209 GB, free: 76.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=275): time 0.03492/19.52, allocations: 9.579 MB / 5.218 GB, free: 71.73 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.433e-05/19.52, allocations: 133.5 kB / 5.218 GB, free: 71.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01328/19.54, allocations: 3.939 MB / 5.222 GB, free: 70.25 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.001004/19.54, allocations: 92.02 kB / 5.222 GB, free: 70.18 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.004099/19.54, allocations: 2.228 MB / 5.225 GB, free: 68.51 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.00208/19.55, allocations: 0.9457 MB / 5.225 GB, free: 67.78 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004182/19.55, allocations: 53.44 kB / 5.225 GB, free: 67.74 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0003238/19.55, allocations: 424 kB / 5.226 GB, free: 67.39 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004202/19.55, allocations: 1.444 MB / 5.227 GB, free: 66.87 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005269/19.56, allocations: 2.216 MB / 5.229 GB, free: 65.54 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005286/19.56, allocations: 1.932 MB / 5.231 GB, free: 64.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.163e-05/19.56, allocations: 3.781 kB / 5.231 GB, free: 64.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=353) (initialization): time 0.01323/19.57, allocations: 4.2 MB / 5.235 GB, free: 62.99 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001201/19.58, allocations: 5.209 MB / 5.241 GB, free: 57.58 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.095e-05/19.58, allocations: 9.938 kB / 5.241 GB, free: 57.58 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007023/19.58, allocations: 123.8 kB / 5.241 GB, free: 57.55 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005615/19.58, allocations: 0.6186 MB / 5.241 GB, free: 57.49 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003515/19.59, allocations: 2.779 MB / 5.244 GB, free: 55.14 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009239/19.59, allocations: 0.4925 MB / 5.244 GB, free: 55.07 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009573/19.6, allocations: 115.1 kB / 5.245 GB, free: 55.04 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/19.6, allocations: 5.25 kB / 5.245 GB, free: 55.04 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0114/19.61, allocations: 3.842 MB / 5.248 GB, free: 53.52 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.384e-05/19.61, allocations: 10.61 kB / 5.248 GB, free: 53.52 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005341/19.61, allocations: 130 kB / 5.248 GB, free: 53.48 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005262/19.61, allocations: 0.6134 MB / 5.249 GB, free: 53.02 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003038/19.62, allocations: 2.169 MB / 5.251 GB, free: 50.89 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009398/19.63, allocations: 489.1 kB / 5.252 GB, free: 50.58 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009398/19.63, allocations: 114.8 kB / 5.252 GB, free: 50.47 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 () * Number of clocked 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.006129/19.63, allocations: 2.174 MB / 5.254 GB, free: 48.64 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001702/19.63, allocations: 426.9 kB / 5.254 GB, free: 48.22 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01196/19.65, allocations: 3.997 MB / 5.258 GB, free: 44.78 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.656e-05/19.65, allocations: 24 kB / 5.258 GB, free: 44.76 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/19.65, allocations: 0 / 5.258 GB, free: 44.76 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009226/19.66, allocations: 3.336 MB / 5.261 GB, free: 41.78 MB / 0.8698 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.03029/19.69, allocations: 10.07 MB / 5.271 GB, free: 33.52 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.905e-05/19.69, allocations: 4 kB / 5.271 GB, free: 33.51 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00576/19.69, allocations: 0.618 MB / 5.272 GB, free: 33.01 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005647/19.69, allocations: 110.4 kB / 5.272 GB, free: 32.92 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006906/19.69, allocations: 86.59 kB / 5.272 GB, free: 32.84 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003188/19.7, allocations: 2.76 MB / 5.275 GB, free: 30.11 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/19.7, allocations: 4 kB / 5.275 GB, free: 30.1 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01619/19.71, allocations: 6.57 MB / 5.281 GB, free: 23.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004819/19.72, allocations: 1.054 MB / 5.282 GB, free: 22.32 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001839/19.72, allocations: 71.98 kB / 5.282 GB, free: 22.25 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007754/19.73, allocations: 453.9 kB / 5.283 GB, free: 21.84 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00089/19.73, allocations: 173.5 kB / 5.283 GB, free: 21.67 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004199/19.73, allocations: 99.97 kB / 5.283 GB, free: 21.57 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.008705/19.74, allocations: 3.116 MB / 5.286 GB, free: 18.45 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6.22e-07/19.74, allocations: 0 / 5.286 GB, free: 18.45 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.01697/19.75, allocations: 2.738 MB / 5.289 GB, free: 15.71 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) * Number of clocked states: 0 () * 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.02224/19.78, allocations: 10.54 MB / 5.299 GB, free: 5.434 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01624/19.79, allocations: 6.071 MB / 5.305 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.435e-05/19.79, allocations: 1.75 kB / 5.305 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.005901/19.8, allocations: 2.04 MB / 5.307 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0248/19.82, allocations: 2.789 MB / 5.31 GB, free: 10.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7708/20.59, allocations: 29.1 MB / 5.338 GB, free: 103.3 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01037/20.61, allocations: 4.056 MB / 5.342 GB, free: 102.5 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.01535/20.62, allocations: 2.378 MB / 5.344 GB, free: 102.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007095/20.63, allocations: 2.101 MB / 5.346 GB, free: 102.4 MB / 0.8855 GB Notification: Performance of SimCode: time 1.463e-06/20.63, allocations: 0 / 5.346 GB, free: 102.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3987/21.03, allocations: 173.9 MB / 5.516 GB, free: 78.38 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003448/21.03, allocations: 274.5 kB / 5.517 GB, free: 78.02 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.06/31.08, allocations: 0 / 5.517 GB, free: 78.02 MB / 0.8855 GB