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.WetCoilDiscretizedInitializationPerfectGases.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.WetCoilDiscretizedInitializationPerfectGases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases") Notification: Performance of loadModel(Buildings): time 3.844/3.844, allocations: 432.7 MB / 445.3 MB, free: 15.65 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.144e-05/3.16e-05, allocations: 4.828 kB / 0.5383 GB, free: 10.23 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1737, allocations: 98.74 MB / 0.6347 GB, free: 1.887 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.497/6.671, allocations: 2.476 GB / 3.11 GB, free: 147.1 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002361/6.671, allocations: 86.58 kB / 3.111 GB, free: 147.1 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 98.53/105.2, allocations: 19.05 GB / 22.16 GB, free: 55.47 MB / 1.261 GB Notification: Performance of FrontEnd: time 2.802e-06/105.2, allocations: 0 / 22.16 GB, free: 55.47 MB / 1.261 GB Notification: Performance of Transformations before backend: time 0.008032/105.2, allocations: 0.6621 MB / 22.16 GB, free: 55.37 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.1242/105.3, allocations: 28.52 MB / 22.19 GB, free: 46.05 MB / 1.261 GB Notification: Performance of prepare preOptimizeDAE: time 5.565e-05/105.3, allocations: 6.938 kB / 22.19 GB, free: 46.05 MB / 1.261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06279/105.4, allocations: 6.219 MB / 22.19 GB, free: 44.38 MB / 1.261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1974/105.6, allocations: 54.55 MB / 22.25 GB, free: 39.99 MB / 1.261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002222/105.6, allocations: 1.625 MB / 22.25 GB, free: 39.95 MB / 1.261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01207/105.6, allocations: 2.169 MB / 22.25 GB, free: 39.93 MB / 1.261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1182/105.7, allocations: 38.57 MB / 22.29 GB, free: 27.53 MB / 1.261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001206/105.7, allocations: 38.88 kB / 22.29 GB, free: 27.49 MB / 1.261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01013/105.7, allocations: 0.8773 MB / 22.29 GB, free: 26.63 MB / 1.261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001045/105.7, allocations: 0.9562 MB / 22.29 GB, free: 25.73 MB / 1.261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1147/105.9, allocations: 36.33 MB / 22.32 GB, free: 11.67 MB / 1.276 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.596/107.5, allocations: 158 MB / 22.48 GB, free: 55.42 MB / 1.323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04563/107.5, allocations: 21.05 MB / 22.5 GB, free: 54.85 MB / 1.323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03225/107.5, allocations: 14.43 MB / 22.51 GB, free: 54.71 MB / 1.323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0046/107.5, allocations: 2.609 MB / 22.52 GB, free: 52.08 MB / 1.323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003434/107.5, allocations: 187.8 kB / 22.52 GB, free: 52.03 MB / 1.323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03031/107.6, allocations: 5.508 MB / 22.52 GB, free: 51.77 MB / 1.323 GB Notification: Performance of pre-optimization done (n=1199): time 6.38e-05/107.6, allocations: 0 / 22.52 GB, free: 51.77 MB / 1.323 GB Notification: Performance of matching and sorting (n=1265): time 0.1894/107.8, allocations: 58.77 MB / 22.58 GB, free: 46.36 MB / 1.323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000174/107.8, allocations: 185.2 kB / 22.58 GB, free: 46.28 MB / 1.323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.06419/107.8, allocations: 23.95 MB / 22.6 GB, free: 45.34 MB / 1.323 GB Notification: Performance of collectPreVariables (initialization): time 0.004163/107.8, allocations: 288.2 kB / 22.6 GB, free: 45.31 MB / 1.323 GB Notification: Performance of collectInitialEqns (initialization): time 0.02036/107.8, allocations: 12.63 MB / 22.61 GB, free: 42.55 MB / 1.323 GB Notification: Performance of collectInitialBindings (initialization): time 0.008611/107.9, allocations: 4.431 MB / 22.62 GB, free: 39.88 MB / 1.323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003789/107.9, allocations: 262.9 kB / 22.62 GB, free: 39.88 MB / 1.323 GB Notification: Performance of setup shared object (initialization): time 0.002029/107.9, allocations: 0.9242 MB / 22.62 GB, free: 39.54 MB / 1.323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02345/107.9, allocations: 10.82 MB / 22.63 GB, free: 39.51 MB / 1.323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02883/107.9, allocations: 14.99 MB / 22.65 GB, free: 35.66 MB / 1.323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03106/107.9, allocations: 14.23 MB / 22.66 GB, free: 51.46 MB / 1.339 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000138/107.9, allocations: 16.91 kB / 22.66 GB, free: 51.46 MB / 1.339 GB Notification: Performance of matching and sorting (n=1657) (initialization): time 0.08775/108, allocations: 32.63 MB / 22.69 GB, free: 49.89 MB / 1.339 GB Notification: Performance of prepare postOptimizeDAE: time 0.02908/108.1, allocations: 52.38 MB / 22.74 GB, free: 43.36 MB / 1.386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002962/108.1, allocations: 72.27 kB / 22.74 GB, free: 43.36 MB / 1.386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05527/108.1, allocations: 13.79 MB / 22.76 GB, free: 43.2 MB / 1.386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01674/108.1, allocations: 2.718 MB / 22.76 GB, free: 43.2 MB / 1.386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05141/108.2, allocations: 29.24 MB / 22.79 GB, free: 37.41 MB / 1.386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03314/108.2, allocations: 2.974 MB / 22.79 GB, free: 37.27 MB / 1.386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004731/108.2, allocations: 0.5472 MB / 22.79 GB, free: 37.27 MB / 1.386 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/108.2, allocations: 5.438 kB / 22.79 GB, free: 37.27 MB / 1.386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07611/108.3, allocations: 30.84 MB / 22.82 GB, free: 29.78 MB / 1.386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002554/108.3, allocations: 68 kB / 22.82 GB, free: 29.71 MB / 1.386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04898/108.3, allocations: 13.79 MB / 22.83 GB, free: 19.03 MB / 1.386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01626/108.4, allocations: 2.703 MB / 22.84 GB, free: 16.98 MB / 1.386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.369/109.7, allocations: 29.04 MB / 22.87 GB, free: 184.4 MB / 1.386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03327/109.8, allocations: 2.922 MB / 22.87 GB, free: 184.4 MB / 1.386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005181/109.8, allocations: 0.5454 MB / 22.87 GB, free: 184.4 MB / 1.386 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.009409/109.8, allocations: 0.8544 MB / 22.87 GB, free: 184.3 MB / 1.386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009801/109.8, allocations: 1.988 MB / 22.87 GB, free: 184.3 MB / 1.386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08499/109.9, allocations: 28.49 MB / 22.9 GB, free: 183.6 MB / 1.386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001916/109.9, allocations: 128.6 kB / 22.9 GB, free: 183.6 MB / 1.386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.348e-05/109.9, allocations: 3.719 kB / 22.9 GB, free: 183.6 MB / 1.386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06212/109.9, allocations: 23.38 MB / 22.92 GB, free: 182.9 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 0.1997/110.1, allocations: 67.76 MB / 22.99 GB, free: 180 MB / 1.386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001841/110.1, allocations: 17.41 kB / 22.99 GB, free: 180 MB / 1.386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02061/110.2, allocations: 3.124 MB / 22.99 GB, free: 180 MB / 1.386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01853/110.2, allocations: 4.341 MB / 23 GB, free: 179.9 MB / 1.386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003981/110.2, allocations: 389.6 kB / 23 GB, free: 179.9 MB / 1.386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02808/110.2, allocations: 17.58 MB / 23.01 GB, free: 174.2 MB / 1.386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.419e-05/110.2, allocations: 22.59 kB / 23.01 GB, free: 174.2 MB / 1.386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1041/110.3, allocations: 49.96 MB / 23.06 GB, free: 164.5 MB / 1.386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.03465/110.3, allocations: 6.175 MB / 23.07 GB, free: 163.6 MB / 1.386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01004/110.4, allocations: 358.2 kB / 23.07 GB, free: 163.6 MB / 1.386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03063/110.4, allocations: 2.608 MB / 23.07 GB, free: 163.5 MB / 1.386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004394/110.4, allocations: 0.7588 MB / 23.07 GB, free: 163.5 MB / 1.386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004059/110.4, allocations: 409.5 kB / 23.07 GB, free: 163.5 MB / 1.386 GB Notification: Performance of sorting global known variables: time 0.04922/110.4, allocations: 19.25 MB / 23.09 GB, free: 162.9 MB / 1.386 GB Notification: Performance of sort global known variables: time 1.25e-06/110.4, allocations: 3.844 kB / 23.09 GB, free: 162.9 MB / 1.386 GB Notification: Performance of remove unused functions: time 0.08471/110.5, allocations: 13.6 MB / 23.1 GB, free: 162.9 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.04284/110.6, allocations: 17.84 MB / 23.12 GB, free: 151.2 MB / 1.386 GB Notification: Performance of simCode: created initialization part: time 0.09424/110.7, allocations: 41.38 MB / 23.16 GB, free: 150 MB / 1.386 GB Notification: Performance of simCode: created event and clocks part: time 3.341e-05/110.7, allocations: 14.19 kB / 23.16 GB, free: 150 MB / 1.386 GB Notification: Performance of simCode: created simulation system equations: time 0.0297/110.7, allocations: 12.67 MB / 23.17 GB, free: 149.5 MB / 1.386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.08394/110.8, allocations: 15.08 MB / 23.19 GB, free: 143.6 MB / 1.386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1807/111, allocations: 67.83 MB / 23.26 GB, free: 93.32 MB / 1.386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.05969/111, allocations: 22.61 MB / 23.28 GB, free: 75.69 MB / 1.386 GB Notification: Performance of simCode: alias equations: time 0.1127/111.1, allocations: 33.84 MB / 23.31 GB, free: 55.25 MB / 1.386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008372/111.1, allocations: 1.076 MB / 23.31 GB, free: 54.23 MB / 1.386 GB Notification: Performance of SimCode: time 2.126e-06/111.1, allocations: 0 / 23.31 GB, free: 54.23 MB / 1.386 GB Notification: Performance of Templates: time 4.221/115.4, allocations: 0.749 GB / 24.06 GB, free: 141.3 MB / 1.448 GB