Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatExchangers_Validation_WetCoilDiscretizedInitializationPerfectGases",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.181/2.181, allocations: 248.5 MB / 261.1 MB, free: 6.094 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001566/0.001565, allocations: 182.4 kB / 320.4 MB, free: 15.31 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.985/1.985, allocations: 205.2 MB / 0.571 GB, free: 11.7 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001121/0.001121, allocations: 94.48 kB / 0.6754 GB, free: 0.7891 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.109e-05/4.119e-05, allocations: 4 kB / 0.7869 GB, free: 97.77 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2233, allocations: 106.3 MB / 0.8907 GB, free: 7.418 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.345/8.568, allocations: 2.481 GB / 3.371 GB, free: 190.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003781/8.569, allocations: 90.83 kB / 3.371 GB, free: 190.1 MB / 0.8698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 113.3/121.9, allocations: 19.1 GB / 22.47 GB, free: 54.93 MB / 1.307 GB Notification: Performance of FrontEnd: time 3.496e-06/121.9, allocations: 0 / 22.47 GB, free: 54.93 MB / 1.307 GB Notification: Performance of Transformations before backend: time 0.0111/121.9, allocations: 0.6664 MB / 22.47 GB, free: 54.85 MB / 1.307 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.1547/122.1, allocations: 28.57 MB / 22.5 GB, free: 45.78 MB / 1.307 GB Notification: Performance of prepare preOptimizeDAE: time 5.506e-05/122.1, allocations: 9.625 kB / 22.5 GB, free: 45.78 MB / 1.307 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02148/122.1, allocations: 3.181 MB / 22.5 GB, free: 45.6 MB / 1.307 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0634/122.2, allocations: 6.221 MB / 22.5 GB, free: 43.97 MB / 1.307 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2036/122.4, allocations: 54.12 MB / 22.56 GB, free: 40.27 MB / 1.307 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003466/122.4, allocations: 1.615 MB / 22.56 GB, free: 40.23 MB / 1.307 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01666/122.4, allocations: 2.179 MB / 22.56 GB, free: 40.21 MB / 1.307 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1581/122.5, allocations: 38.69 MB / 22.6 GB, free: 38.46 MB / 1.307 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002062/122.5, allocations: 47.75 kB / 22.6 GB, free: 38.45 MB / 1.307 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01418/122.6, allocations: 0.8779 MB / 22.6 GB, free: 38.45 MB / 1.307 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001523/122.6, allocations: 0.9474 MB / 22.6 GB, free: 38.41 MB / 1.307 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1253/122.7, allocations: 35.62 MB / 22.64 GB, free: 38.23 MB / 1.307 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 2.054/124.7, allocations: 158.8 MB / 22.79 GB, free: 96.07 MB / 1.37 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05664/124.8, allocations: 21.16 MB / 22.81 GB, free: 95.25 MB / 1.37 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.04071/124.8, allocations: 14.48 MB / 22.83 GB, free: 95.13 MB / 1.37 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005149/124.8, allocations: 2.607 MB / 22.83 GB, free: 92.49 MB / 1.37 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004013/124.8, allocations: 193.4 kB / 22.83 GB, free: 92.44 MB / 1.37 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03905/124.9, allocations: 5.513 MB / 22.83 GB, free: 92.44 MB / 1.37 GB Notification: Performance of pre-optimization done (n=1205): time 8.856e-05/124.9, allocations: 1.031 kB / 22.83 GB, free: 92.44 MB / 1.37 GB Notification: Performance of matching and sorting (n=1271): time 0.231/125.1, allocations: 58.03 MB / 22.89 GB, free: 88.61 MB / 1.37 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001631/125.1, allocations: 180.6 kB / 22.89 GB, free: 88.54 MB / 1.37 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.07756/125.2, allocations: 24 MB / 22.91 GB, free: 87.6 MB / 1.37 GB Notification: Performance of collectPreVariables (initialization): time 0.005524/125.2, allocations: 289 kB / 22.91 GB, free: 87.57 MB / 1.37 GB Notification: Performance of collectInitialEqns (initialization): time 0.02532/125.2, allocations: 12.53 MB / 22.93 GB, free: 84.81 MB / 1.37 GB Notification: Performance of collectInitialBindings (initialization): time 0.01082/125.2, allocations: 4.454 MB / 22.93 GB, free: 82.46 MB / 1.37 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004533/125.2, allocations: 259.7 kB / 22.93 GB, free: 82.46 MB / 1.37 GB Notification: Performance of setup shared object (initialization): time 0.002412/125.2, allocations: 0.9188 MB / 22.93 GB, free: 82.12 MB / 1.37 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03088/125.3, allocations: 10.83 MB / 22.94 GB, free: 82.09 MB / 1.37 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03638/125.3, allocations: 14.99 MB / 22.96 GB, free: 78.25 MB / 1.37 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03754/125.3, allocations: 14.24 MB / 22.97 GB, free: 78.06 MB / 1.37 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001692/125.3, allocations: 20.62 kB / 22.97 GB, free: 78.06 MB / 1.37 GB Notification: Performance of matching and sorting (n=1657) (initialization): time 0.104/125.5, allocations: 32.44 MB / 23 GB, free: 76.5 MB / 1.37 GB Notification: Performance of prepare postOptimizeDAE: time 0.01404/125.5, allocations: 52.04 MB / 23.05 GB, free: 39.16 MB / 1.386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004397/125.5, allocations: 70.91 kB / 23.05 GB, free: 39.16 MB / 1.386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07023/125.5, allocations: 13.8 MB / 23.07 GB, free: 38.99 MB / 1.386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02382/125.6, allocations: 2.712 MB / 23.07 GB, free: 38.99 MB / 1.386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06502/125.6, allocations: 29.24 MB / 23.1 GB, free: 33.21 MB / 1.386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04407/125.7, allocations: 2.973 MB / 23.1 GB, free: 33.07 MB / 1.386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005563/125.7, allocations: 0.5428 MB / 23.1 GB, free: 33.07 MB / 1.386 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/125.7, allocations: 6.094 kB / 23.1 GB, free: 33.07 MB / 1.386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.09738/125.8, allocations: 30.67 MB / 23.13 GB, free: 32.54 MB / 1.386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003041/125.8, allocations: 66.75 kB / 23.13 GB, free: 32.54 MB / 1.386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06953/125.8, allocations: 13.81 MB / 23.15 GB, free: 32.37 MB / 1.386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02381/125.9, allocations: 2.7 MB / 23.15 GB, free: 32.37 MB / 1.386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06281/125.9, allocations: 28.65 MB / 23.18 GB, free: 25.73 MB / 1.386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04374/126, allocations: 2.921 MB / 23.18 GB, free: 24.11 MB / 1.386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005506/126, allocations: 0.5438 MB / 23.18 GB, free: 23.71 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.01127/126, allocations: 0.8502 MB / 23.18 GB, free: 23.39 MB / 1.386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01207/126, allocations: 1.995 MB / 23.18 GB, free: 21.38 MB / 1.386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09852/126.1, allocations: 28.52 MB / 23.21 GB, free: 6.105 MB / 1.386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001582/126.1, allocations: 128.7 kB / 23.21 GB, free: 5.984 MB / 1.386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.264e-05/126.1, allocations: 4.906 kB / 23.21 GB, free: 5.98 MB / 1.386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.07656/126.2, allocations: 23.48 MB / 23.23 GB, free: 5.363 MB / 1.401 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.3093/126.5, allocations: 72.75 MB / 23.3 GB, free: 4.094 MB / 1.448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002079/126.5, allocations: 16 kB / 23.3 GB, free: 4.078 MB / 1.448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.04068/126.5, allocations: 3.133 MB / 23.31 GB, free: 1.789 MB / 1.448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.605/128.1, allocations: 4.648 MB / 23.31 GB, free: 176.7 MB / 1.448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004377/128.1, allocations: 395.2 kB / 23.31 GB, free: 176.7 MB / 1.448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04039/128.2, allocations: 17.57 MB / 23.33 GB, free: 171.1 MB / 1.448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-05/128.2, allocations: 27.69 kB / 23.33 GB, free: 171.1 MB / 1.448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1281/128.3, allocations: 50.9 MB / 23.38 GB, free: 160.6 MB / 1.448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.03187/128.3, allocations: 6.362 MB / 23.39 GB, free: 160.5 MB / 1.448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01217/128.4, allocations: 359.5 kB / 23.39 GB, free: 160.5 MB / 1.448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04005/128.4, allocations: 2.616 MB / 23.39 GB, free: 160.5 MB / 1.448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005303/128.4, allocations: 0.7611 MB / 23.39 GB, free: 160.5 MB / 1.448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004747/128.4, allocations: 447.4 kB / 23.39 GB, free: 160.5 MB / 1.448 GB Notification: Performance of sorting global known variables: time 0.05897/128.5, allocations: 19.3 MB / 23.41 GB, free: 159.9 MB / 1.448 GB Notification: Performance of sort global known variables: time 2.404e-06/128.5, allocations: 2.047 kB / 23.41 GB, free: 159.9 MB / 1.448 GB Notification: Performance of remove unused functions: time 0.102/128.6, allocations: 13.61 MB / 23.42 GB, free: 159.9 MB / 1.448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 76 * 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 (1104): * Single equations (assignments): 1086 * 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.1655/128.7, allocations: 68.41 MB / 23.49 GB, free: 138.6 MB / 1.448 GB Notification: Performance of simCode: created initialization part: time 0.1241/128.9, allocations: 41.4 MB / 23.53 GB, free: 137.3 MB / 1.448 GB Notification: Performance of simCode: created event and clocks part: time 4.465e-05/128.9, allocations: 10.72 kB / 23.53 GB, free: 137.3 MB / 1.448 GB Notification: Performance of simCode: created simulation system equations: time 0.03866/128.9, allocations: 12.71 MB / 23.54 GB, free: 136.9 MB / 1.448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.126/129, allocations: 15.08 MB / 23.56 GB, free: 136.6 MB / 1.448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2769/129.3, allocations: 78.78 MB / 23.63 GB, free: 127 MB / 1.448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.06565/129.4, allocations: 22.63 MB / 23.65 GB, free: 125.5 MB / 1.448 GB Notification: Performance of simCode: alias equations: time 0.1525/129.5, allocations: 33.62 MB / 23.69 GB, free: 114.8 MB / 1.448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0431/129.6, allocations: 11.75 MB / 23.7 GB, free: 113.8 MB / 1.448 GB Notification: Performance of SimCode: time 1.443e-06/129.6, allocations: 0 / 23.7 GB, free: 113.8 MB / 1.448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.524/135.1, allocations: 1.044 GB / 24.74 GB, free: 170 MB / 1.526 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002279/135.1, allocations: 274.6 kB / 24.74 GB, free: 169.7 MB / 1.526 GB Notification: Performance of buildModelFMU: Generate platform static: time 52.81/187.9, allocations: 4 kB / 24.74 GB, free: 169.6 MB / 1.526 GB