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.WetCoilCounterFlowPControl.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.WetCoilCounterFlowPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004241/0.004246, allocations: 225.7 kB / 15.82 MB, free: 6.305 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.00113/0.00113, allocations: 174.6 kB / 16.7 MB, free: 5.453 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 3.805/3.805, allocations: 389.1 MB / 406.5 MB, free: 11.82 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.942/3.942, allocations: 472.3 MB / 0.9024 GB, free: 9.18 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006399/0.0006402, allocations: 12.22 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1731/0.1737, allocations: 98.73 MB / 1.105 GB, free: 42.09 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.533/7.707, allocations: 2.496 GB / 3.6 GB, free: 12.65 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003338/7.707, allocations: 108.3 kB / 3.6 GB, free: 12.6 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 13.47/21.17, allocations: 2.57 GB / 6.17 GB, free: 76.58 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.906e-06/21.17, allocations: 7.906 kB / 6.17 GB, free: 76.58 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.001402/21.17, allocations: 165.4 kB / 6.17 GB, free: 76.54 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1251 * Number of variables: 1251 Notification: Performance of Generate backend data structure: time 0.03445/21.21, allocations: 7.476 MB / 6.178 GB, free: 69.07 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/21.21, allocations: 8.562 kB / 6.178 GB, free: 69.07 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01411/21.22, allocations: 1.502 MB / 6.179 GB, free: 67.55 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02605/21.25, allocations: 7.363 MB / 6.186 GB, free: 60.12 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005048/21.25, allocations: 377.6 kB / 6.187 GB, free: 59.75 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002287/21.25, allocations: 0.5077 MB / 6.187 GB, free: 59.25 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02197/21.27, allocations: 6.749 MB / 6.194 GB, free: 52.35 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002045/21.27, allocations: 11.84 kB / 6.194 GB, free: 52.34 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001253/21.27, allocations: 204 kB / 6.194 GB, free: 52.14 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002844/21.28, allocations: 225.5 kB / 6.194 GB, free: 51.92 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02074/21.3, allocations: 5.905 MB / 6.2 GB, free: 46 MB / 0.9011 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.06271/21.36, allocations: 28 MB / 6.227 GB, free: 16.51 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009572/21.37, allocations: 4.354 MB / 6.231 GB, free: 12.09 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005488/21.37, allocations: 2.513 MB / 6.234 GB, free: 9.574 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001341/21.38, allocations: 0.9232 MB / 6.235 GB, free: 8.465 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005075/21.38, allocations: 2.183 MB / 6.237 GB, free: 6.242 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=322): time 8.285e-06/21.38, allocations: 4 kB / 6.237 GB, free: 6.238 MB / 0.9011 GB Notification: Performance of matching and sorting (n=326): time 0.7677/22.15, allocations: 11.55 MB / 6.248 GB, free: 88.37 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001261/22.15, allocations: 253 kB / 6.248 GB, free: 88.11 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01514/22.16, allocations: 4.995 MB / 6.253 GB, free: 87.8 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.001125/22.16, allocations: 96.02 kB / 6.253 GB, free: 87.77 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.004876/22.17, allocations: 2.746 MB / 6.256 GB, free: 87.14 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.002129/22.17, allocations: 1.132 MB / 6.257 GB, free: 86.57 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004699/22.17, allocations: 63.81 kB / 6.257 GB, free: 86.57 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0003176/22.17, allocations: 445.9 kB / 6.258 GB, free: 86.27 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005571/22.18, allocations: 1.781 MB / 6.259 GB, free: 86.26 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007243/22.19, allocations: 2.719 MB / 6.262 GB, free: 85.39 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007126/22.19, allocations: 2.298 MB / 6.264 GB, free: 85.31 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.143e-05/22.19, allocations: 7.766 kB / 6.264 GB, free: 85.31 MB / 0.9011 GB Notification: Performance of matching and sorting (n=421) (initialization): time 0.01914/22.21, allocations: 5.143 MB / 6.269 GB, free: 84.88 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003946/22.21, allocations: 0.5276 MB / 6.27 GB, free: 84.27 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.843e-05/22.21, allocations: 16.61 kB / 6.27 GB, free: 84.27 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001443/22.21, allocations: 244.1 kB / 6.27 GB, free: 84.25 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006969/22.22, allocations: 0.7607 MB / 6.271 GB, free: 84.25 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004145/22.22, allocations: 3.424 MB / 6.274 GB, free: 81.81 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01112/22.24, allocations: 0.5961 MB / 6.275 GB, free: 81.79 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001206/22.24, allocations: 135.4 kB / 6.275 GB, free: 81.79 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/22.24, allocations: 2.812 kB / 6.275 GB, free: 81.79 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01405/22.25, allocations: 4.628 MB / 6.279 GB, free: 81.65 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.117e-05/22.25, allocations: 19.64 kB / 6.279 GB, free: 81.65 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008991/22.25, allocations: 205.1 kB / 6.28 GB, free: 81.63 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006386/22.26, allocations: 0.7383 MB / 6.28 GB, free: 81.63 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00608/22.26, allocations: 4.059 MB / 6.284 GB, free: 78.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01094/22.28, allocations: 0.5791 MB / 6.285 GB, free: 78.88 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001151/22.28, allocations: 131.6 kB / 6.285 GB, free: 78.88 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (397): * Single equations (assignments): 391 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * 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: 1 {1 9} Notification: Performance of prepare postOptimizeDAE: time 0.007608/22.28, allocations: 2.427 MB / 6.287 GB, free: 78.66 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002022/22.29, allocations: 0.4962 MB / 6.288 GB, free: 78.41 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01506/22.3, allocations: 4.86 MB / 6.293 GB, free: 78.15 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.128e-05/22.3, allocations: 35.67 kB / 6.293 GB, free: 78.15 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-05/22.3, allocations: 2.594 kB / 6.293 GB, free: 78.15 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01244/22.31, allocations: 4.036 MB / 6.297 GB, free: 77.85 MB / 0.9011 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.03796/22.35, allocations: 11.75 MB / 6.308 GB, free: 76.98 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.965e-05/22.35, allocations: 3.406 kB / 6.308 GB, free: 76.98 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007104/22.36, allocations: 0.738 MB / 6.309 GB, free: 76.98 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009261/22.36, allocations: 178.1 kB / 6.309 GB, free: 76.96 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008689/22.36, allocations: 97.36 kB / 6.309 GB, free: 76.96 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00354/22.37, allocations: 3.311 MB / 6.312 GB, free: 74.52 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/22.37, allocations: 8.125 kB / 6.312 GB, free: 74.52 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02038/22.39, allocations: 7.465 MB / 6.32 GB, free: 73.76 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005545/22.39, allocations: 1.195 MB / 6.321 GB, free: 73.41 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002285/22.39, allocations: 79.22 kB / 6.321 GB, free: 73.41 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008965/22.4, allocations: 0.5056 MB / 6.321 GB, free: 73.39 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009675/22.4, allocations: 193.1 kB / 6.321 GB, free: 73.39 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004889/22.4, allocations: 112.5 kB / 6.322 GB, free: 73.39 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.01113/22.42, allocations: 3.506 MB / 6.325 GB, free: 73.21 MB / 0.9011 GB Notification: Performance of sort global known variables: time 8.71e-07/22.42, allocations: 0.7812 kB / 6.325 GB, free: 73.21 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.02165/22.44, allocations: 3.164 MB / 6.328 GB, free: 73.21 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 21 (temSen.T,val.filter.x[1],val.filter.x[2],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,con.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (314): * Single equations (assignments): 306 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * 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: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.006949/22.44, allocations: 3.208 MB / 6.331 GB, free: 72.09 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.01912/22.46, allocations: 7.309 MB / 6.338 GB, free: 71.46 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.509e-05/22.46, allocations: 2.125 kB / 6.338 GB, free: 71.46 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.005772/22.47, allocations: 2.34 MB / 6.341 GB, free: 71.26 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02837/22.5, allocations: 3.137 MB / 6.344 GB, free: 71.21 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03619/22.53, allocations: 15.69 MB / 6.359 GB, free: 65.72 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0119/22.55, allocations: 4.687 MB / 6.364 GB, free: 80.88 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.01734/22.56, allocations: 2.651 MB / 6.366 GB, free: 80.82 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002759/22.57, allocations: 385.1 kB / 6.367 GB, free: 80.81 MB / 0.9167 GB Notification: Performance of SimCode: time 1.282e-06/22.57, allocations: 0 / 6.367 GB, free: 80.81 MB / 0.9167 GB Notification: Performance of Templates: time 0.3207/22.89, allocations: 137.7 MB / 6.501 GB, free: 56.38 MB / 0.9167 GB