Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_Validation_WetCoilDiscretizedInitializationPerfectGases",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.027/4.027, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.957e-05/4.007e-05, allocations: 5 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.2119, allocations: 98.74 MB / 0.6347 GB, free: 1.902 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.633/7.845, allocations: 2.476 GB / 3.11 GB, free: 220.1 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003034/7.846, allocations: 90.11 kB / 3.111 GB, free: 220.1 MB / 0.8386 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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 115.3/123.1, allocations: 19.05 GB / 22.16 GB, free: 62.23 MB / 1.261 GB Notification: Performance of FrontEnd: time 3.166e-06/123.1, allocations: 1.312 kB / 22.16 GB, free: 62.23 MB / 1.261 GB Notification: Performance of Transformations before backend: time 0.01166/123.1, allocations: 0.6622 MB / 22.16 GB, free: 62.15 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.157/123.3, allocations: 28.52 MB / 22.19 GB, free: 53.1 MB / 1.261 GB Notification: Performance of prepare preOptimizeDAE: time 5.808e-05/123.3, allocations: 12.19 kB / 22.19 GB, free: 53.1 MB / 1.261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0238/123.3, allocations: 3.18 MB / 22.19 GB, free: 52.92 MB / 1.261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0644/123.4, allocations: 6.221 MB / 22.2 GB, free: 51.29 MB / 1.261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2111/123.6, allocations: 54.54 MB / 22.25 GB, free: 47.6 MB / 1.261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003733/123.6, allocations: 1.616 MB / 22.25 GB, free: 47.56 MB / 1.261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01717/123.6, allocations: 2.178 MB / 22.25 GB, free: 47.54 MB / 1.261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1615/123.8, allocations: 38.57 MB / 22.29 GB, free: 45.82 MB / 1.261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002046/123.8, allocations: 45 kB / 22.29 GB, free: 45.81 MB / 1.261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01486/123.8, allocations: 0.8779 MB / 22.29 GB, free: 45.81 MB / 1.261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001676/123.8, allocations: 0.9549 MB / 22.29 GB, free: 45.77 MB / 1.261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1266/123.9, allocations: 35.62 MB / 22.33 GB, free: 45.59 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 0.4408/124.3, allocations: 158 MB / 22.48 GB, free: 11.89 MB / 1.292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06406/124.4, allocations: 21.43 MB / 22.5 GB, free: 10.57 MB / 1.307 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.04906/124.5, allocations: 14.83 MB / 22.52 GB, free: 15.02 MB / 1.323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005778/124.5, allocations: 2.607 MB / 22.52 GB, free: 12.04 MB / 1.323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004144/124.5, allocations: 185 kB / 22.52 GB, free: 11.84 MB / 1.323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04937/124.5, allocations: 5.513 MB / 22.52 GB, free: 8.16 MB / 1.323 GB Notification: Performance of pre-optimization done (n=1199): time 5.987e-05/124.5, allocations: 5.594 kB / 22.52 GB, free: 8.156 MB / 1.323 GB Notification: Performance of matching and sorting (n=1265): time 1.832/126.4, allocations: 58.88 MB / 22.58 GB, free: 125.9 MB / 1.339 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002097/126.4, allocations: 183.6 kB / 22.58 GB, free: 125.9 MB / 1.339 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.07871/126.4, allocations: 23.95 MB / 22.61 GB, free: 124.9 MB / 1.339 GB Notification: Performance of collectPreVariables (initialization): time 0.005199/126.4, allocations: 287.6 kB / 22.61 GB, free: 124.9 MB / 1.339 GB Notification: Performance of collectInitialEqns (initialization): time 0.02598/126.5, allocations: 12.64 MB / 22.62 GB, free: 122.2 MB / 1.339 GB Notification: Performance of collectInitialBindings (initialization): time 0.01134/126.5, allocations: 4.435 MB / 22.62 GB, free: 119.9 MB / 1.339 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005116/126.5, allocations: 265.7 kB / 22.62 GB, free: 119.9 MB / 1.339 GB Notification: Performance of setup shared object (initialization): time 0.00228/126.5, allocations: 0.9205 MB / 22.62 GB, free: 119.6 MB / 1.339 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03082/126.5, allocations: 10.82 MB / 22.63 GB, free: 119.6 MB / 1.339 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03862/126.5, allocations: 14.98 MB / 22.65 GB, free: 115.7 MB / 1.339 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04062/126.6, allocations: 14.22 MB / 22.66 GB, free: 115.6 MB / 1.339 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002226/126.6, allocations: 21.28 kB / 22.66 GB, free: 115.6 MB / 1.339 GB Notification: Performance of matching and sorting (n=1657) (initialization): time 0.1115/126.7, allocations: 32.63 MB / 22.69 GB, free: 114 MB / 1.339 GB Notification: Performance of prepare postOptimizeDAE: time 0.01156/126.7, allocations: 52.38 MB / 22.75 GB, free: 59.46 MB / 1.339 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005094/126.7, allocations: 66.19 kB / 22.75 GB, free: 59.46 MB / 1.339 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07318/126.8, allocations: 13.8 MB / 22.76 GB, free: 59.29 MB / 1.339 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02457/126.8, allocations: 2.712 MB / 22.76 GB, free: 59.29 MB / 1.339 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0659/126.9, allocations: 29.25 MB / 22.79 GB, free: 53.51 MB / 1.339 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04525/126.9, allocations: 2.973 MB / 22.79 GB, free: 53.44 MB / 1.339 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005754/126.9, allocations: 0.5445 MB / 22.79 GB, free: 53.44 MB / 1.339 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/126.9, allocations: 4.625 kB / 22.79 GB, free: 53.44 MB / 1.339 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1027/127, allocations: 30.84 MB / 22.82 GB, free: 52.9 MB / 1.339 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003446/127, allocations: 63.97 kB / 22.82 GB, free: 52.9 MB / 1.339 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.072/127.1, allocations: 13.8 MB / 22.84 GB, free: 52.73 MB / 1.339 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0238/127.1, allocations: 2.696 MB / 22.84 GB, free: 52.73 MB / 1.339 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05886/127.2, allocations: 28.65 MB / 22.87 GB, free: 47.54 MB / 1.339 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04256/127.2, allocations: 2.921 MB / 22.87 GB, free: 47.48 MB / 1.339 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00575/127.2, allocations: 0.5444 MB / 22.87 GB, free: 47.48 MB / 1.339 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.0109/127.2, allocations: 0.8577 MB / 22.87 GB, free: 47.32 MB / 1.339 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01177/127.3, allocations: 1.994 MB / 22.87 GB, free: 46.29 MB / 1.339 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09936/127.4, allocations: 28.48 MB / 22.9 GB, free: 45.55 MB / 1.339 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001923/127.4, allocations: 125.6 kB / 22.9 GB, free: 45.55 MB / 1.339 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.761e-05/127.4, allocations: 6.906 kB / 22.9 GB, free: 45.55 MB / 1.339 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.07326/127.4, allocations: 23.37 MB / 22.92 GB, free: 44.85 MB / 1.339 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.2308/127.7, allocations: 67.76 MB / 22.99 GB, free: 8.379 MB / 1.339 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001849/127.7, allocations: 19.91 kB / 22.99 GB, free: 8.363 MB / 1.339 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02983/127.7, allocations: 3.132 MB / 22.99 GB, free: 6.078 MB / 1.339 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02499/127.7, allocations: 4.341 MB / 23 GB, free: 2.617 MB / 1.339 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004802/127.7, allocations: 387.9 kB / 23 GB, free: 2.285 MB / 1.339 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04155/127.8, allocations: 17.77 MB / 23.02 GB, free: 3.039 MB / 1.354 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-05/127.8, allocations: 23.03 kB / 23.02 GB, free: 3.023 MB / 1.354 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.822/129.6, allocations: 53.81 MB / 23.07 GB, free: 164.9 MB / 1.386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0349/129.6, allocations: 6.172 MB / 23.07 GB, free: 164.9 MB / 1.386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01279/129.6, allocations: 351.8 kB / 23.07 GB, free: 164.9 MB / 1.386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05155/129.7, allocations: 2.608 MB / 23.08 GB, free: 164.9 MB / 1.386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.007382/129.7, allocations: 0.7534 MB / 23.08 GB, free: 164.8 MB / 1.386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.006055/129.7, allocations: 412.5 kB / 23.08 GB, free: 164.8 MB / 1.386 GB Notification: Performance of sorting global known variables: time 0.08537/129.8, allocations: 19.25 MB / 23.1 GB, free: 164.2 MB / 1.386 GB Notification: Performance of sort global known variables: time 1.242e-06/129.8, allocations: 0 / 23.1 GB, free: 164.2 MB / 1.386 GB Notification: Performance of remove unused functions: time 0.1156/129.9, allocations: 13.6 MB / 23.11 GB, free: 164.2 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.1716/130.1, allocations: 67.56 MB / 23.18 GB, free: 143.1 MB / 1.386 GB Notification: Performance of simCode: created initialization part: time 0.1247/130.2, allocations: 41.38 MB / 23.22 GB, free: 141.9 MB / 1.386 GB Notification: Performance of simCode: created event and clocks part: time 6.068e-05/130.2, allocations: 11.34 kB / 23.22 GB, free: 141.9 MB / 1.386 GB Notification: Performance of simCode: created simulation system equations: time 0.03945/130.2, allocations: 12.67 MB / 23.23 GB, free: 141.4 MB / 1.386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1234/130.4, allocations: 15.09 MB / 23.24 GB, free: 141 MB / 1.386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.294/130.7, allocations: 78.65 MB / 23.32 GB, free: 131.4 MB / 1.386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1076/130.8, allocations: 22.61 MB / 23.34 GB, free: 130 MB / 1.386 GB Notification: Performance of simCode: alias equations: time 0.1515/130.9, allocations: 33.84 MB / 23.38 GB, free: 128.8 MB / 1.386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.04503/131, allocations: 11.83 MB / 23.39 GB, free: 128.8 MB / 1.386 GB Notification: Performance of SimCode: time 1.943e-06/131, allocations: 0 / 23.39 GB, free: 128.8 MB / 1.386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.805/136.8, allocations: 1.044 GB / 24.43 GB, free: 217.1 MB / 1.495 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003243/136.8, allocations: 282.7 kB / 24.43 GB, free: 216.7 MB / 1.495 GB Notification: Performance of buildModelFMU: Generate platform static: time 55.69/192.5, allocations: 64 / 24.43 GB, free: 216.7 MB / 1.495 GB