Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow") Notification: Performance of loadModel(Buildings): time 3.899/3.899, allocations: 433.4 MB / 440.9 MB, free: 10.46 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.876e-05/2.899e-05, allocations: 8 kB / 0.5325 GB, free: 1.934 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4944/0.4944, allocations: 98.71 MB / 0.6289 GB, free: 15.69 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.06/6.555, allocations: 2.478 GB / 3.107 GB, free: 159.8 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002228/6.555, allocations: 91 kB / 3.107 GB, free: 159.7 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 8.785/15.34, allocations: 1.98 GB / 5.087 GB, free: 99.93 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.811e-06/15.34, allocations: 0 / 5.087 GB, free: 99.93 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0009297/15.34, allocations: 134.3 kB / 5.087 GB, free: 99.91 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.01841/15.36, allocations: 5.176 MB / 5.092 GB, free: 97.68 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/15.36, allocations: 10.94 kB / 5.092 GB, free: 97.68 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01049/15.37, allocations: 1.243 MB / 5.093 GB, free: 97.36 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01935/15.39, allocations: 6.742 MB / 5.1 GB, free: 96.46 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002264/15.39, allocations: 128.7 kB / 5.1 GB, free: 96.46 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001497/15.39, allocations: 249 kB / 5.1 GB, free: 96.46 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.012/15.4, allocations: 4.486 MB / 5.105 GB, free: 96.44 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01511/15.42, allocations: 4.928 MB / 5.11 GB, free: 95.02 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001665/15.42, allocations: 11.47 kB / 5.11 GB, free: 95.02 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007568/15.42, allocations: 6.5 kB / 5.11 GB, free: 95.02 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002105/15.42, allocations: 193.1 kB / 5.11 GB, free: 95 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.04318/15.46, allocations: 23.28 MB / 5.133 GB, free: 80.03 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006736/15.47, allocations: 4.552 MB / 5.137 GB, free: 76.64 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003635/15.47, allocations: 1.977 MB / 5.139 GB, free: 74.86 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001155/15.47, allocations: 0.9968 MB / 5.14 GB, free: 73.71 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003643/15.48, allocations: 1.827 MB / 5.142 GB, free: 72.17 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=270): time 7.161e-06/15.48, allocations: 0 / 5.142 GB, free: 72.17 MB / 0.8698 GB Notification: Performance of matching and sorting (n=274): time 0.03157/15.51, allocations: 9.14 MB / 5.151 GB, free: 63.88 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.225e-05/15.51, allocations: 188.3 kB / 5.151 GB, free: 63.66 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00841/15.52, allocations: 3.604 MB / 5.154 GB, free: 60.54 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0006666/15.52, allocations: 33.7 kB / 5.154 GB, free: 60.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.003201/15.52, allocations: 2.252 MB / 5.156 GB, free: 58.47 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001447/15.52, allocations: 0.9064 MB / 5.157 GB, free: 57.62 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003062/15.52, allocations: 2.906 kB / 5.157 GB, free: 57.62 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002594/15.52, allocations: 421.4 kB / 5.158 GB, free: 57.24 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002738/15.53, allocations: 1.346 MB / 5.159 GB, free: 56.06 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003608/15.53, allocations: 2.077 MB / 5.161 GB, free: 53.89 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004807/15.54, allocations: 1.898 MB / 5.163 GB, free: 51.98 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-05/15.54, allocations: 8 kB / 5.163 GB, free: 51.98 MB / 0.8698 GB Notification: Performance of matching and sorting (n=353) (initialization): time 0.0103/15.55, allocations: 3.91 MB / 5.167 GB, free: 48.02 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001071/15.55, allocations: 5.377 MB / 5.172 GB, free: 42.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.21e-05/15.55, allocations: 12 kB / 5.172 GB, free: 42.29 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005248/15.55, allocations: 127.8 kB / 5.172 GB, free: 42.16 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003733/15.55, allocations: 0.6124 MB / 5.173 GB, free: 41.55 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002826/15.55, allocations: 2.688 MB / 5.175 GB, free: 38.73 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006608/15.56, allocations: 450.8 kB / 5.176 GB, free: 38.29 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007635/15.56, allocations: 116 kB / 5.176 GB, free: 38.18 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/15.56, allocations: 4 kB / 5.176 GB, free: 38.17 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009451/15.57, allocations: 3.491 MB / 5.179 GB, free: 34.64 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.156e-05/15.57, allocations: 12.69 kB / 5.179 GB, free: 34.63 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004199/15.57, allocations: 124.5 kB / 5.179 GB, free: 34.51 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003466/15.58, allocations: 0.6066 MB / 5.18 GB, free: 33.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002451/15.58, allocations: 2.07 MB / 5.182 GB, free: 31.73 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006607/15.58, allocations: 442.8 kB / 5.183 GB, free: 31.29 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007587/15.59, allocations: 115.9 kB / 5.183 GB, free: 31.18 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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.001081/15.59, allocations: 239 kB / 5.183 GB, free: 30.93 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001382/15.59, allocations: 415 kB / 5.183 GB, free: 30.52 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01009/15.6, allocations: 3.681 MB / 5.187 GB, free: 26.78 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.711e-05/15.6, allocations: 24 kB / 5.187 GB, free: 26.76 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.134e-05/15.6, allocations: 7.984 kB / 5.187 GB, free: 26.75 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008022/15.61, allocations: 3.094 MB / 5.19 GB, free: 23.58 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.02434/15.63, allocations: 9.406 MB / 5.199 GB, free: 14.05 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.769e-05/15.63, allocations: 0 / 5.199 GB, free: 14.05 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003819/15.63, allocations: 0.6125 MB / 5.2 GB, free: 13.43 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004666/15.64, allocations: 113.1 kB / 5.2 GB, free: 13.32 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005572/15.64, allocations: 47.95 kB / 5.2 GB, free: 13.27 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002617/15.64, allocations: 2.664 MB / 5.202 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.556e-06/15.64, allocations: 8.062 kB / 5.202 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01299/15.65, allocations: 6.163 MB / 5.208 GB, free: 4.066 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003808/15.66, allocations: 1.043 MB / 5.209 GB, free: 3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001438/15.66, allocations: 27.98 kB / 5.21 GB, free: 2.973 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005823/15.66, allocations: 407.1 kB / 5.21 GB, free: 2.574 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006642/15.66, allocations: 164.4 kB / 5.21 GB, free: 2.414 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003733/15.66, allocations: 104 kB / 5.21 GB, free: 2.312 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.5819/16.25, allocations: 2.801 MB / 5.213 GB, free: 109.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.18e-06/16.25, allocations: 0 / 5.213 GB, free: 109.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0157/16.26, allocations: 2.546 MB / 5.215 GB, free: 109.2 MB / 0.8698 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 (261): * Single equations (assignments): 253 * 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.006196/16.27, allocations: 2.991 MB / 5.218 GB, free: 108.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01243/16.28, allocations: 5.789 MB / 5.224 GB, free: 107.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-05/16.28, allocations: 6.781 kB / 5.224 GB, free: 107.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.003859/16.28, allocations: 1.904 MB / 5.226 GB, free: 107.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01618/16.3, allocations: 2.646 MB / 5.228 GB, free: 107.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02586/16.33, allocations: 9.879 MB / 5.238 GB, free: 105.7 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007642/16.33, allocations: 4.06 MB / 5.242 GB, free: 104.9 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.01742/16.35, allocations: 4.017 MB / 5.246 GB, free: 104.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001398/16.35, allocations: 248.3 kB / 5.246 GB, free: 104.8 MB / 0.8698 GB Notification: Performance of SimCode: time 2.508e-06/16.35, allocations: 5.562 kB / 5.246 GB, free: 104.8 MB / 0.8698 GB Notification: Performance of Templates: time 0.2241/16.58, allocations: 105.5 MB / 5.349 GB, free: 99.67 MB / 0.8698 GB