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: 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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009023/0.009023, allocations: 110.2 kB / 15.05 MB, free: 5.98 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.001079/0.001079, allocations: 184 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 1.836/1.836, allocations: 194.6 MB / 211.3 MB, free: 11.04 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.12/2.12, allocations: 236.1 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004941/0.0004942, allocations: 12 kB / 0.5869 GB, free: 2.168 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.595/0.5955, allocations: 98.7 MB / 0.6833 GB, free: 16.87 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.108/6.703, allocations: 2.469 GB / 3.152 GB, free: 291.7 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000244/6.703, allocations: 91.19 kB / 3.152 GB, free: 291.7 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 9.033/15.74, allocations: 2.001 GB / 5.153 GB, free: 96.97 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.171e-06/15.74, allocations: 0 / 5.153 GB, free: 96.97 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.001012/15.74, allocations: 141.1 kB / 5.153 GB, free: 96.95 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.02515/15.76, allocations: 6.312 MB / 5.159 GB, free: 94.73 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/15.76, allocations: 10.88 kB / 5.159 GB, free: 94.73 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01049/15.77, allocations: 1.244 MB / 5.161 GB, free: 94.42 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02004/15.79, allocations: 6.785 MB / 5.167 GB, free: 93.62 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004424/15.79, allocations: 304 kB / 5.168 GB, free: 93.61 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001809/15.8, allocations: 420.7 kB / 5.168 GB, free: 93.61 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01772/15.81, allocations: 5.579 MB / 5.173 GB, free: 93.24 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001988/15.81, allocations: 4.312 kB / 5.173 GB, free: 93.24 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001405/15.82, allocations: 168.7 kB / 5.174 GB, free: 93.24 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002358/15.82, allocations: 188.7 kB / 5.174 GB, free: 93.23 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01406/15.83, allocations: 4.938 MB / 5.179 GB, free: 93.2 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.04565/15.88, allocations: 23.97 MB / 5.202 GB, free: 83.88 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006807/15.88, allocations: 3.638 MB / 5.206 GB, free: 83.64 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001312/15.88, allocations: 0.9959 MB / 5.207 GB, free: 82.61 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004327/15.89, allocations: 1.833 MB / 5.208 GB, free: 82.44 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=271): time 7.647e-06/15.89, allocations: 3.344 kB / 5.208 GB, free: 82.44 MB / 0.8698 GB Notification: Performance of matching and sorting (n=275): time 0.02785/15.92, allocations: 9.578 MB / 5.218 GB, free: 80.59 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.559e-05/15.92, allocations: 143.8 kB / 5.218 GB, free: 80.46 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00936/15.93, allocations: 3.934 MB / 5.222 GB, free: 80.18 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0007099/15.93, allocations: 83.67 kB / 5.222 GB, free: 80.15 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.003312/15.93, allocations: 2.234 MB / 5.224 GB, free: 79.43 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001514/15.93, allocations: 0.9453 MB / 5.225 GB, free: 78.82 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002985/15.93, allocations: 57.34 kB / 5.225 GB, free: 78.82 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002469/15.93, allocations: 420.5 kB / 5.225 GB, free: 78.52 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00332/15.94, allocations: 1.45 MB / 5.227 GB, free: 78.51 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004137/15.94, allocations: 2.2 MB / 5.229 GB, free: 77.79 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004251/15.94, allocations: 1.942 MB / 5.231 GB, free: 77.68 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.279e-05/15.94, allocations: 3.875 kB / 5.231 GB, free: 77.68 MB / 0.8698 GB Notification: Performance of matching and sorting (n=353) (initialization): time 0.01101/15.95, allocations: 4.181 MB / 5.235 GB, free: 77.28 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001039/15.96, allocations: 5.217 MB / 5.24 GB, free: 71.96 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-05/15.96, allocations: 9.969 kB / 5.24 GB, free: 71.96 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005376/15.96, allocations: 128.2 kB / 5.24 GB, free: 71.95 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003747/15.96, allocations: 0.6154 MB / 5.241 GB, free: 71.95 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003057/15.96, allocations: 2.787 MB / 5.243 GB, free: 70.02 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006912/15.97, allocations: 0.5012 MB / 5.244 GB, free: 69.98 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007826/15.97, allocations: 117.5 kB / 5.244 GB, free: 69.98 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/15.97, allocations: 5.031 kB / 5.244 GB, free: 69.98 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009248/15.98, allocations: 3.844 MB / 5.248 GB, free: 69.82 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.979e-05/15.98, allocations: 10.94 kB / 5.248 GB, free: 69.82 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004337/15.98, allocations: 117.9 kB / 5.248 GB, free: 69.81 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00382/15.98, allocations: 0.6079 MB / 5.248 GB, free: 69.81 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002635/15.99, allocations: 2.185 MB / 5.251 GB, free: 68.47 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006889/15.99, allocations: 487.6 kB / 5.251 GB, free: 68.44 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007936/16, allocations: 118.5 kB / 5.251 GB, free: 68.44 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.00532/16, allocations: 2.167 MB / 5.253 GB, free: 68.18 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001447/16, allocations: 431.2 kB / 5.254 GB, free: 67.97 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01034/16.01, allocations: 4 MB / 5.258 GB, free: 67.69 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.786e-05/16.01, allocations: 27.53 kB / 5.258 GB, free: 67.69 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.618e-05/16.01, allocations: 0 / 5.258 GB, free: 67.69 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007875/16.02, allocations: 3.331 MB / 5.261 GB, free: 67.36 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.02651/16.05, allocations: 10.06 MB / 5.271 GB, free: 65.86 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.936e-05/16.05, allocations: 3.906 kB / 5.271 GB, free: 65.86 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00442/16.05, allocations: 0.6243 MB / 5.271 GB, free: 65.84 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004682/16.05, allocations: 109 kB / 5.271 GB, free: 65.81 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006169/16.05, allocations: 82.44 kB / 5.272 GB, free: 65.77 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002841/16.06, allocations: 2.764 MB / 5.274 GB, free: 63.44 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.766e-06/16.06, allocations: 3.25 kB / 5.274 GB, free: 63.44 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02155/16.08, allocations: 6.566 MB / 5.281 GB, free: 60.26 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00621/16.08, allocations: 1.066 MB / 5.282 GB, free: 59.65 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002667/16.09, allocations: 66.67 kB / 5.282 GB, free: 59.61 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009902/16.1, allocations: 451.8 kB / 5.282 GB, free: 59.56 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001031/16.1, allocations: 166.6 kB / 5.282 GB, free: 59.53 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007246/16.1, allocations: 103.8 kB / 5.282 GB, free: 59.51 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.01202/16.11, allocations: 3.115 MB / 5.285 GB, free: 58.41 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.858e-06/16.11, allocations: 0 / 5.285 GB, free: 58.41 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.02124/16.13, allocations: 2.752 MB / 5.288 GB, free: 58.07 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.008096/16.14, allocations: 2.794 MB / 5.291 GB, free: 56.99 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.02074/16.16, allocations: 6.067 MB / 5.297 GB, free: 54.64 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.68e-05/16.16, allocations: 2.812 kB / 5.297 GB, free: 54.64 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.006689/16.17, allocations: 2.037 MB / 5.299 GB, free: 53.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02753/16.19, allocations: 2.791 MB / 5.302 GB, free: 53.34 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03469/16.23, allocations: 13.33 MB / 5.315 GB, free: 46.91 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007945/16.24, allocations: 4.053 MB / 5.318 GB, free: 61.36 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.01168/16.25, allocations: 2.374 MB / 5.321 GB, free: 60.5 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00184/16.25, allocations: 334.3 kB / 5.321 GB, free: 60.2 MB / 0.8855 GB Notification: Performance of SimCode: time 1.922e-06/16.25, allocations: 0 / 5.321 GB, free: 60.2 MB / 0.8855 GB Notification: Performance of Templates: time 0.9651/17.22, allocations: 122.1 MB / 5.44 GB, free: 89.8 MB / 0.8855 GB