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.Validation.WetCoilDiscretizedInitialization.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitialization") Notification: Performance of loadModel(Buildings): time 3.934/3.934, allocations: 432.7 MB / 445.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.661e-05/4.547e-05, allocations: 5 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.2366, allocations: 98.72 MB / 0.6347 GB, free: 1.926 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.125/6.362, allocations: 2.476 GB / 3.11 GB, free: 216.9 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/6.362, allocations: 89.39 kB / 3.111 GB, free: 216.8 MB / 0.823 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Movers/BaseClasses/IdealSource.mo:14:3-22:27:writable] Error: The conditional expression control_m_flow could not be evaluated. Notification: Performance of FrontEnd - DAE generated: time 97.64/104, allocations: 19.05 GB / 22.16 GB, free: 50.95 MB / 1.261 GB Notification: Performance of FrontEnd: time 2.079e-06/104, allocations: 2.406 kB / 22.16 GB, free: 50.95 MB / 1.261 GB Notification: Performance of Transformations before backend: time 0.007968/104, allocations: 0.6626 MB / 22.16 GB, free: 50.86 MB / 1.261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5549 * Number of variables: 5549 Notification: Performance of Generate backend data structure: time 0.1116/104.1, allocations: 28.52 MB / 22.19 GB, free: 41.81 MB / 1.261 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/104.1, allocations: 15.72 kB / 22.19 GB, free: 41.81 MB / 1.261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.052/104.2, allocations: 6.213 MB / 22.19 GB, free: 40.15 MB / 1.261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1532/104.3, allocations: 54.54 MB / 22.25 GB, free: 36.31 MB / 1.261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002253/104.3, allocations: 1.618 MB / 22.25 GB, free: 36.27 MB / 1.261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01226/104.3, allocations: 2.177 MB / 22.25 GB, free: 36.25 MB / 1.261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1164/104.5, allocations: 38.57 MB / 22.29 GB, free: 34.49 MB / 1.261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001246/104.5, allocations: 45.81 kB / 22.29 GB, free: 34.48 MB / 1.261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01018/104.5, allocations: 0.8794 MB / 22.29 GB, free: 34.48 MB / 1.261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00107/104.5, allocations: 0.9471 MB / 22.29 GB, free: 34.43 MB / 1.261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09392/104.6, allocations: 35.63 MB / 22.32 GB, free: 34.25 MB / 1.261 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 1.792/106.4, allocations: 158.4 MB / 22.48 GB, free: 65 MB / 1.307 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05924/106.4, allocations: 21.06 MB / 22.5 GB, free: 64.42 MB / 1.307 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.04582/106.5, allocations: 14.42 MB / 22.51 GB, free: 64.29 MB / 1.307 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003585/106.5, allocations: 2.607 MB / 22.52 GB, free: 61.65 MB / 1.307 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002863/106.5, allocations: 192.6 kB / 22.52 GB, free: 61.6 MB / 1.307 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02878/106.5, allocations: 5.51 MB / 22.52 GB, free: 61.6 MB / 1.307 GB Notification: Performance of pre-optimization done (n=1199): time 5.887e-05/106.5, allocations: 3.766 kB / 22.52 GB, free: 61.6 MB / 1.307 GB Notification: Performance of matching and sorting (n=1265): time 0.1777/106.7, allocations: 58.77 MB / 22.58 GB, free: 57.7 MB / 1.307 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000154/106.7, allocations: 182.8 kB / 22.58 GB, free: 57.62 MB / 1.307 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.06144/106.7, allocations: 23.95 MB / 22.6 GB, free: 56.69 MB / 1.307 GB Notification: Performance of collectPreVariables (initialization): time 0.003842/106.7, allocations: 286 kB / 22.6 GB, free: 56.66 MB / 1.307 GB Notification: Performance of collectInitialEqns (initialization): time 0.01875/106.8, allocations: 12.64 MB / 22.61 GB, free: 53.89 MB / 1.307 GB Notification: Performance of collectInitialBindings (initialization): time 0.007571/106.8, allocations: 4.437 MB / 22.62 GB, free: 51.59 MB / 1.307 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002323/106.8, allocations: 256.9 kB / 22.62 GB, free: 51.59 MB / 1.307 GB Notification: Performance of setup shared object (initialization): time 0.00152/106.8, allocations: 0.9233 MB / 22.62 GB, free: 51.26 MB / 1.307 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02199/106.8, allocations: 10.82 MB / 22.63 GB, free: 51.23 MB / 1.307 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02738/106.8, allocations: 14.98 MB / 22.65 GB, free: 47.38 MB / 1.307 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02808/106.8, allocations: 14.24 MB / 22.66 GB, free: 47.18 MB / 1.307 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001201/106.8, allocations: 19.47 kB / 22.66 GB, free: 47.18 MB / 1.307 GB Notification: Performance of matching and sorting (n=1657) (initialization): time 0.08052/106.9, allocations: 32.63 MB / 22.69 GB, free: 45.6 MB / 1.307 GB Notification: Performance of prepare postOptimizeDAE: time 0.02355/107, allocations: 52.38 MB / 22.74 GB, free: 39.08 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002658/107, allocations: 69.12 kB / 22.74 GB, free: 39.08 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04802/107, allocations: 13.79 MB / 22.76 GB, free: 38.91 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01712/107, allocations: 2.712 MB / 22.76 GB, free: 38.91 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04699/107.1, allocations: 29.24 MB / 22.79 GB, free: 33.12 MB / 1.354 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03085/107.1, allocations: 2.98 MB / 22.79 GB, free: 32.98 MB / 1.354 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004281/107.1, allocations: 0.5412 MB / 22.79 GB, free: 32.98 MB / 1.354 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/107.1, allocations: 10.69 kB / 22.79 GB, free: 32.98 MB / 1.354 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07532/107.2, allocations: 30.83 MB / 22.82 GB, free: 32.44 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002612/107.2, allocations: 66.66 kB / 22.82 GB, free: 32.44 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04877/107.2, allocations: 13.8 MB / 22.83 GB, free: 32.28 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0155/107.2, allocations: 2.699 MB / 22.84 GB, free: 31.91 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04803/107.3, allocations: 28.65 MB / 22.86 GB, free: 14.05 MB / 1.354 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03085/107.3, allocations: 2.919 MB / 22.87 GB, free: 12.43 MB / 1.354 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004682/107.3, allocations: 0.5493 MB / 22.87 GB, free: 12.04 MB / 1.354 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 304 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1233): * Single equations (assignments): 1227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * 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: 3 {(1,100.0%) 12,(1,100.0%) 8,(1,100.0%) 2} * Non-linear torn systems: 2 {24 208,24 148} Notification: Performance of prepare postOptimizeDAE: time 0.008789/107.3, allocations: 0.8535 MB / 22.87 GB, free: 11.71 MB / 1.354 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009031/107.3, allocations: 1.986 MB / 22.87 GB, free: 9.707 MB / 1.354 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1363/107.5, allocations: 31.48 MB / 22.9 GB, free: 13.56 MB / 1.37 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001876/107.5, allocations: 130.3 kB / 22.9 GB, free: 13.44 MB / 1.37 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-05/107.5, allocations: 6.953 kB / 22.9 GB, free: 13.43 MB / 1.37 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.09298/107.6, allocations: 25.02 MB / 22.93 GB, free: 13.57 MB / 1.386 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 1.493/109.1, allocations: 67.96 MB / 22.99 GB, free: 152.4 MB / 1.386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001385/109.1, allocations: 15.12 kB / 22.99 GB, free: 152.4 MB / 1.386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02053/109.1, allocations: 3.121 MB / 23 GB, free: 152.4 MB / 1.386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03213/109.1, allocations: 4.34 MB / 23 GB, free: 152.3 MB / 1.386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005636/109.1, allocations: 394.7 kB / 23 GB, free: 152.3 MB / 1.386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05049/109.2, allocations: 17.58 MB / 23.02 GB, free: 146.7 MB / 1.386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.011e-05/109.2, allocations: 22.34 kB / 23.02 GB, free: 146.7 MB / 1.386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1185/109.3, allocations: 49.96 MB / 23.07 GB, free: 137 MB / 1.386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0236/109.3, allocations: 6.174 MB / 23.07 GB, free: 136.9 MB / 1.386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01013/109.3, allocations: 357.8 kB / 23.07 GB, free: 136.9 MB / 1.386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02812/109.4, allocations: 2.609 MB / 23.08 GB, free: 136.9 MB / 1.386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004254/109.4, allocations: 0.7542 MB / 23.08 GB, free: 136.8 MB / 1.386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003624/109.4, allocations: 411.8 kB / 23.08 GB, free: 136.8 MB / 1.386 GB Notification: Performance of sorting global known variables: time 0.0472/109.4, allocations: 19.25 MB / 23.1 GB, free: 136.3 MB / 1.386 GB Notification: Performance of sort global known variables: time 1.217e-06/109.4, allocations: 0 / 23.1 GB, free: 136.3 MB / 1.386 GB Notification: Performance of remove unused functions: time 0.1129/109.5, allocations: 13.6 MB / 23.11 GB, free: 136.3 MB / 1.386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 70 * Number of states: 50 (hexFixIni.hexReg[1].ele[1,1].vol1.dynBal.U,hexFixIni.hexReg[1].ele[1,1].vol2.dynBal.U,hexFixIni.hexReg[1].ele[1,1].vol2.dynBal.mXi[1],hexFixIni.hexReg[1].ele[1,1].mas.T,hexFixIni.hexReg[1].ele[1,2].vol1.dynBal.U,hexFixIni.hexReg[1].ele[1,2].vol2.dynBal.U,hexFixIni.hexReg[1].ele[1,2].vol2.dynBal.mXi[1],hexFixIni.hexReg[1].ele[1,2].mas.T,hexFixIni.hexReg[1].ele[1,3].vol1.dynBal.U,hexFixIni.hexReg[1].ele[1,3].vol2.dynBal.U,hexFixIni.hexReg[1].ele[1,3].vol2.dynBal.mXi[1],hexFixIni.hexReg[1].ele[1,3].mas.T,hexFixIni.hexReg[2].ele[1,1].vol1.dynBal.U,hexFixIni.hexReg[2].ele[1,1].vol2.dynBal.U,hexFixIni.hexReg[2].ele[1,1].vol2.dynBal.mXi[1],hexFixIni.hexReg[2].ele[1,1].mas.T,hexFixIni.hexReg[2].ele[1,2].vol1.dynBal.U,hexFixIni.hexReg[2].ele[1,2].vol2.dynBal.U,hexFixIni.hexReg[2].ele[1,2].vol2.dynBal.mXi[1],hexFixIni.hexReg[2].ele[1,2].mas.T,hexFixIni.hexReg[2].ele[1,3].vol1.dynBal.U,hexFixIni.hexReg[2].ele[1,3].vol2.dynBal.U,hexFixIni.hexReg[2].ele[1,3].vol2.dynBal.m,hexFixIni.hexReg[2].ele[1,3].vol2.dynBal.mXi[1],hexFixIni.hexReg[2].ele[1,3].mas.T,hexSteStaIni.port_b1.h_outflow,hexSteStaIni.hexReg[1].ele[1,1].vol2.dynBal.medium.X[2],hexSteStaIni.hexReg[1].ele[1,1].vol2.dynBal.medium.dT,hexSteStaIni.hexReg[1].ele[1,1].mas.T,hexSteStaIni.hexReg[1].ele[1,2].port_b1.h_outflow,hexSteStaIni.hexReg[1].ele[1,2].vol2.dynBal.medium.X[2],hexSteStaIni.hexReg[1].ele[1,2].vol2.dynBal.medium.dT,hexSteStaIni.hexReg[1].ele[1,2].mas.T,hexSteStaIni.hexReg[1].ele[1,3].vol2.dynBal.medium.X[2],hexSteStaIni.hexReg[1].ele[1,3].vol2.dynBal.medium.dT,hexSteStaIni.hexReg[1].ele[1,3].mas.T,hexSteStaIni.hexReg[1].port_a1[1].h_outflow,hexSteStaIni.hexReg[1].port_b1[1].h_outflow,hexSteStaIni.hexReg[2].ele[1,1].vol2.dynBal.medium.X[2],hexSteStaIni.hexReg[2].ele[1,1].vol2.dynBal.medium.dT,hexSteStaIni.hexReg[2].ele[1,1].mas.T,hexSteStaIni.hexReg[2].ele[1,2].port_b1.h_outflow,hexSteStaIni.hexReg[2].ele[1,2].vol2.dynBal.medium.X[2],hexSteStaIni.hexReg[2].ele[1,2].vol2.dynBal.medium.dT,hexSteStaIni.hexReg[2].ele[1,2].mas.T,hexSteStaIni.hexReg[2].ele[1,3].vol2.dynBal.medium.X[2],hexSteStaIni.hexReg[2].ele[1,3].vol2.dynBal.medium.dT,hexSteStaIni.hexReg[2].ele[1,3].vol2.dynBal.m,hexSteStaIni.hexReg[2].ele[1,3].mas.T,hexSteStaIni.hexReg[2].port_b1[1].h_outflow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1098): * Single equations (assignments): 1080 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 12,(1,100.0%) 12,(1,100.0%) 2} * Non-linear torn systems: 1 {24 148} Notification: Performance of Backend phase and start with SimCode phase: time 0.05264/109.6, allocations: 17.85 MB / 23.13 GB, free: 124.6 MB / 1.386 GB Notification: Performance of simCode: created initialization part: time 0.09187/109.7, allocations: 41.38 MB / 23.17 GB, free: 123.3 MB / 1.386 GB Notification: Performance of simCode: created event and clocks part: time 3.143e-05/109.7, allocations: 11.28 kB / 23.17 GB, free: 123.3 MB / 1.386 GB Notification: Performance of simCode: created simulation system equations: time 0.02777/109.7, allocations: 12.67 MB / 23.18 GB, free: 122.9 MB / 1.386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0816/109.8, allocations: 15.09 MB / 23.19 GB, free: 122.5 MB / 1.386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.172/109.9, allocations: 67.83 MB / 23.26 GB, free: 113.6 MB / 1.386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.05908/110, allocations: 22.61 MB / 23.28 GB, free: 112.1 MB / 1.386 GB Notification: Performance of simCode: alias equations: time 0.1111/110.1, allocations: 33.83 MB / 23.31 GB, free: 94.77 MB / 1.386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008092/110.1, allocations: 1.076 MB / 23.32 GB, free: 93.79 MB / 1.386 GB Notification: Performance of SimCode: time 2.544e-06/110.1, allocations: 4 kB / 23.32 GB, free: 93.78 MB / 1.386 GB Notification: Performance of Templates: time 4.126/114.3, allocations: 0.7489 GB / 24.06 GB, free: 234.2 MB / 1.464 GB