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.273/2.273, allocations: 248.7 MB / 256.2 MB, free: 7.098 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.001463/0.001463, allocations: 180.6 kB / 315.4 MB, free: 4.027 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.14/2.14, allocations: 205.3 MB / 0.5662 GB, free: 0.5312 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001046/0.001046, allocations: 86.53 kB / 0.6704 GB, free: 5.738 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.051e-05/3.067e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2264, allocations: 106.3 MB / 0.8841 GB, free: 12.97 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.434/8.661, allocations: 2.481 GB / 3.365 GB, free: 211.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002843/8.661, allocations: 87.7 kB / 3.365 GB, free: 211.9 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 112.5/121.1, allocations: 18.93 GB / 22.3 GB, free: 57.65 MB / 1.292 GB Notification: Performance of FrontEnd: time 2.375e-06/121.1, allocations: 2.688 kB / 22.3 GB, free: 57.65 MB / 1.292 GB Notification: Performance of Transformations before backend: time 0.01015/121.2, allocations: 0.6617 MB / 22.3 GB, free: 57.56 MB / 1.292 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.1557/121.3, allocations: 28.57 MB / 22.33 GB, free: 48.5 MB / 1.292 GB Notification: Performance of prepare preOptimizeDAE: time 6.031e-05/121.3, allocations: 13.28 kB / 22.33 GB, free: 48.5 MB / 1.292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06247/121.4, allocations: 6.218 MB / 22.33 GB, free: 46.87 MB / 1.292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2097/121.6, allocations: 54.11 MB / 22.38 GB, free: 43.19 MB / 1.292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001901/121.6, allocations: 0.6719 MB / 22.39 GB, free: 43.19 MB / 1.292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01511/121.6, allocations: 1.296 MB / 22.39 GB, free: 43.18 MB / 1.292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.1137/121.7, allocations: 33.77 MB / 22.42 GB, free: 43.09 MB / 1.292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1505/121.9, allocations: 35.56 MB / 22.45 GB, free: 41.45 MB / 1.292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001994/121.9, allocations: 37.78 kB / 22.45 GB, free: 41.45 MB / 1.292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01377/121.9, allocations: 18.97 kB / 22.45 GB, free: 41.45 MB / 1.292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001724/121.9, allocations: 0.9563 MB / 22.46 GB, free: 41.4 MB / 1.292 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.4005/122.3, allocations: 153.8 MB / 22.61 GB, free: 8.461 MB / 1.323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0589/122.3, allocations: 23.35 MB / 22.63 GB, free: 4.133 MB / 1.339 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.06456/122.4, allocations: 15.59 MB / 22.64 GB, free: 11.82 MB / 1.354 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005325/122.4, allocations: 2.614 MB / 22.65 GB, free: 8.828 MB / 1.354 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003445/122.4, allocations: 186.5 kB / 22.65 GB, free: 8.633 MB / 1.354 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03824/122.4, allocations: 5.241 MB / 22.65 GB, free: 5.223 MB / 1.354 GB Notification: Performance of pre-optimization done (n=1205): time 0.0001164/122.4, allocations: 0 / 22.65 GB, free: 5.223 MB / 1.354 GB Notification: Performance of matching and sorting (n=1271): time 1.924/124.4, allocations: 56.53 MB / 22.71 GB, free: 116.4 MB / 1.354 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000144/124.4, allocations: 181.6 kB / 22.71 GB, free: 116.3 MB / 1.354 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.07208/124.4, allocations: 22.72 MB / 22.73 GB, free: 115.5 MB / 1.354 GB Notification: Performance of collectPreVariables (initialization): time 0.00517/124.5, allocations: 49.33 kB / 22.73 GB, free: 115.4 MB / 1.354 GB Notification: Performance of collectInitialEqns (initialization): time 0.02381/124.5, allocations: 12.55 MB / 22.74 GB, free: 112.6 MB / 1.354 GB Notification: Performance of collectInitialBindings (initialization): time 0.01046/124.5, allocations: 4.272 MB / 22.75 GB, free: 110.4 MB / 1.354 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0045/124.5, allocations: 3.031 kB / 22.75 GB, free: 110.4 MB / 1.354 GB Notification: Performance of setup shared object (initialization): time 0.00227/124.5, allocations: 0.9254 MB / 22.75 GB, free: 110.1 MB / 1.354 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02872/124.5, allocations: 10.44 MB / 22.76 GB, free: 110 MB / 1.354 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0352/124.6, allocations: 14.52 MB / 22.77 GB, free: 106.2 MB / 1.354 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05424/124.6, allocations: 13.93 MB / 22.78 GB, free: 106 MB / 1.354 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000386/124.6, allocations: 19.88 kB / 22.78 GB, free: 106 MB / 1.354 GB Notification: Performance of matching and sorting (n=1657) (initialization): time 0.1213/124.7, allocations: 30.78 MB / 22.81 GB, free: 104.5 MB / 1.354 GB Notification: Performance of prepare postOptimizeDAE: time 0.0108/124.7, allocations: 52.37 MB / 22.87 GB, free: 51.32 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005409/124.7, allocations: 70.06 kB / 22.87 GB, free: 51.32 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06662/124.8, allocations: 11.35 MB / 22.88 GB, free: 51.18 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02385/124.8, allocations: 2.713 MB / 22.88 GB, free: 51.18 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06274/124.9, allocations: 29.31 MB / 22.91 GB, free: 45.56 MB / 1.354 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.06391/125, allocations: 2.686 MB / 22.91 GB, free: 45.49 MB / 1.354 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007247/125, allocations: 0.5544 MB / 22.91 GB, free: 45.49 MB / 1.354 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/125, allocations: 2.719 kB / 22.91 GB, free: 45.49 MB / 1.354 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1222/125.1, allocations: 28.78 MB / 22.94 GB, free: 44.96 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004449/125.1, allocations: 68.41 kB / 22.94 GB, free: 44.96 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08054/125.2, allocations: 11.35 MB / 22.95 GB, free: 44.82 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02806/125.2, allocations: 2.702 MB / 22.95 GB, free: 44.82 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06078/125.3, allocations: 28.72 MB / 22.98 GB, free: 39.79 MB / 1.354 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04308/125.3, allocations: 2.635 MB / 22.98 GB, free: 39.72 MB / 1.354 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005564/125.3, allocations: 0.5522 MB / 22.98 GB, free: 39.72 MB / 1.354 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 310 * 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.01067/125.3, allocations: 387.6 kB / 22.98 GB, free: 39.59 MB / 1.354 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.08005/125.4, allocations: 24.58 MB / 23.01 GB, free: 38.13 MB / 1.354 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01167/125.4, allocations: 1.95 MB / 23.01 GB, free: 37.12 MB / 1.354 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09411/125.5, allocations: 27.11 MB / 23.04 GB, free: 36.38 MB / 1.354 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002551/125.5, allocations: 131 kB / 23.04 GB, free: 36.38 MB / 1.354 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.541e-05/125.5, allocations: 3.125 kB / 23.04 GB, free: 36.38 MB / 1.354 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06656/125.6, allocations: 22.34 MB / 23.06 GB, free: 32.2 MB / 1.354 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.262/125.8, allocations: 66.43 MB / 23.12 GB, free: 4.859 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001909/125.8, allocations: 16.62 kB / 23.12 GB, free: 4.844 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03044/125.9, allocations: 3.137 MB / 23.13 GB, free: 2.555 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02485/125.9, allocations: 4.061 MB / 23.13 GB, free: 15.38 MB / 1.385 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004043/125.9, allocations: 222.5 kB / 23.13 GB, free: 15.21 MB / 1.385 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03662/125.9, allocations: 17.5 MB / 23.15 GB, free: 15.68 MB / 1.401 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.172e-05/125.9, allocations: 29.09 kB / 23.15 GB, free: 15.66 MB / 1.401 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.863/127.8, allocations: 54.89 MB / 23.2 GB, free: 167.4 MB / 1.417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.03572/127.8, allocations: 6.276 MB / 23.21 GB, free: 167.3 MB / 1.417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01317/127.8, allocations: 153.4 kB / 23.21 GB, free: 167.3 MB / 1.417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04147/127.9, allocations: 2.39 MB / 23.21 GB, free: 167.3 MB / 1.417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005496/127.9, allocations: 0.7612 MB / 23.21 GB, free: 167.3 MB / 1.417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004758/127.9, allocations: 452.9 kB / 23.21 GB, free: 167.3 MB / 1.417 GB Notification: Performance of sorting global known variables: time 0.05738/128, allocations: 18.12 MB / 23.23 GB, free: 166.8 MB / 1.417 GB Notification: Performance of sort global known variables: time 1.022e-06/128, allocations: 0.5 kB / 23.23 GB, free: 166.8 MB / 1.417 GB Notification: Performance of remove unused functions: time 0.1058/128.1, allocations: 12.66 MB / 23.24 GB, free: 166.8 MB / 1.417 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.1702/128.2, allocations: 68.39 MB / 23.31 GB, free: 145.6 MB / 1.417 GB Notification: Performance of simCode: created initialization part: time 0.1177/128.3, allocations: 39.76 MB / 23.35 GB, free: 144.5 MB / 1.417 GB Notification: Performance of simCode: created event and clocks part: time 4.996e-05/128.3, allocations: 13.28 kB / 23.35 GB, free: 144.5 MB / 1.417 GB Notification: Performance of simCode: created simulation system equations: time 0.03585/128.4, allocations: 12.28 MB / 23.36 GB, free: 144.1 MB / 1.417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1259/128.5, allocations: 14.58 MB / 23.37 GB, free: 144 MB / 1.417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3038/128.8, allocations: 78.04 MB / 23.45 GB, free: 134.4 MB / 1.417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.07115/128.9, allocations: 22.63 MB / 23.47 GB, free: 133 MB / 1.417 GB Notification: Performance of simCode: alias equations: time 0.1601/129, allocations: 33.47 MB / 23.5 GB, free: 131.9 MB / 1.417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.04224/129.1, allocations: 11.76 MB / 23.52 GB, free: 131.9 MB / 1.417 GB Notification: Performance of SimCode: time 1.463e-06/129.1, allocations: 4 kB / 23.52 GB, free: 131.9 MB / 1.417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.861/135.9, allocations: 0.8897 GB / 24.41 GB, free: 218.1 MB / 1.495 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002837/135.9, allocations: 223 kB / 24.41 GB, free: 217.8 MB / 1.495 GB Notification: Performance of buildModelFMU: Generate platform static: time 44.89/180.8, allocations: 2.719 kB / 24.41 GB, free: 217.8 MB / 1.495 GB