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.128/2.128, allocations: 251 MB / 265.9 MB, free: 11.69 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001619/0.001618, allocations: 183.9 kB / 325.5 MB, free: 2.914 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.333/2.333, allocations: 205.4 MB / 0.5764 GB, free: 21.22 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.001184/0.001184, allocations: 105 kB / 0.6809 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004737/0.0004736, allocations: 12.81 kB / 0.795 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2079/0.2084, allocations: 106.3 MB / 0.8988 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.463/7.671, allocations: 2.481 GB / 3.379 GB, free: 40.38 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003107/7.672, allocations: 91.39 kB / 3.38 GB, free: 40.33 MB / 0.8855 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 117.3/125, allocations: 19.13 GB / 22.5 GB, free: 51.12 MB / 1.307 GB Notification: Performance of FrontEnd: time 3.938e-06/125, allocations: 2.625 kB / 22.5 GB, free: 51.12 MB / 1.307 GB Notification: Performance of Transformations before backend: time 0.01053/125, allocations: 0.6653 MB / 22.51 GB, free: 50.98 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.1896/125.2, allocations: 36.09 MB / 22.54 GB, free: 35.47 MB / 1.307 GB Notification: Performance of prepare preOptimizeDAE: time 5.407e-05/125.2, allocations: 8.031 kB / 22.54 GB, free: 35.46 MB / 1.307 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.03398/125.2, allocations: 3.206 MB / 22.54 GB, free: 34.1 MB / 1.307 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07076/125.3, allocations: 6.252 MB / 22.55 GB, free: 29.06 MB / 1.307 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2037/125.5, allocations: 54.35 MB / 22.6 GB, free: 5.117 MB / 1.323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003494/125.5, allocations: 1.616 MB / 22.6 GB, free: 3.5 MB / 1.323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01578/125.5, allocations: 2.179 MB / 22.61 GB, free: 1.32 MB / 1.323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 1.889/127.4, allocations: 39.15 MB / 22.64 GB, free: 73.92 MB / 1.323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002217/127.4, allocations: 38.8 kB / 22.64 GB, free: 73.92 MB / 1.323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01397/127.4, allocations: 0.8809 MB / 22.65 GB, free: 73.92 MB / 1.323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001913/127.4, allocations: 0.9521 MB / 22.65 GB, free: 73.88 MB / 1.323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1319/127.6, allocations: 36.27 MB / 22.68 GB, free: 73.7 MB / 1.323 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.4311/128, allocations: 158.2 MB / 22.84 GB, free: 56.02 MB / 1.354 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0571/128.1, allocations: 21.42 MB / 22.86 GB, free: 55.18 MB / 1.354 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005589/128.1, allocations: 2.615 MB / 22.86 GB, free: 52.54 MB / 1.354 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003741/128.1, allocations: 187.2 kB / 22.86 GB, free: 52.49 MB / 1.354 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03882/128.1, allocations: 5.509 MB / 22.87 GB, free: 52.23 MB / 1.354 GB Notification: Performance of pre-optimization done (n=1205): time 6.924e-05/128.1, allocations: 0 / 22.87 GB, free: 52.23 MB / 1.354 GB Notification: Performance of matching and sorting (n=1271): time 0.4815/128.6, allocations: 89 MB / 22.95 GB, free: 46.48 MB / 1.354 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001915/128.6, allocations: 181.7 kB / 22.95 GB, free: 46.4 MB / 1.354 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.07622/128.7, allocations: 24.19 MB / 22.98 GB, free: 43.09 MB / 1.354 GB Notification: Performance of collectPreVariables (initialization): time 0.005594/128.7, allocations: 292.7 kB / 22.98 GB, free: 42.88 MB / 1.354 GB Notification: Performance of collectInitialEqns (initialization): time 0.02424/128.7, allocations: 12.53 MB / 22.99 GB, free: 34.36 MB / 1.354 GB Notification: Performance of collectInitialBindings (initialization): time 0.01224/128.7, allocations: 4.445 MB / 22.99 GB, free: 30.95 MB / 1.354 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006059/128.7, allocations: 259.9 kB / 22.99 GB, free: 30.75 MB / 1.354 GB Notification: Performance of setup shared object (initialization): time 0.002797/128.7, allocations: 0.9232 MB / 22.99 GB, free: 30.21 MB / 1.354 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03249/128.7, allocations: 11.04 MB / 23.01 GB, free: 27.06 MB / 1.354 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03768/128.8, allocations: 15.22 MB / 23.02 GB, free: 19.67 MB / 1.354 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03785/128.8, allocations: 14.41 MB / 23.03 GB, free: 13.03 MB / 1.354 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001157/128.8, allocations: 22.69 kB / 23.03 GB, free: 13.01 MB / 1.354 GB Notification: Performance of matching and sorting (n=1657) (initialization): time 0.1114/128.9, allocations: 32.68 MB / 23.07 GB, free: 1.457 MB / 1.37 GB Notification: Performance of prepare postOptimizeDAE: time 0.0243/129, allocations: 52.04 MB / 23.12 GB, free: 11.5 MB / 1.432 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003559/129, allocations: 68.64 kB / 23.12 GB, free: 11.43 MB / 1.432 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07089/129, allocations: 13.35 MB / 23.13 GB, free: 0.8984 MB / 1.432 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03578/129.1, allocations: 3.27 MB / 23.13 GB, free: 0 / 1.432 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.727/130.8, allocations: 29.47 MB / 23.16 GB, free: 173.1 MB / 1.432 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04395/130.8, allocations: 3.025 MB / 23.16 GB, free: 173.1 MB / 1.432 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005746/130.8, allocations: 0.5448 MB / 23.17 GB, free: 173.1 MB / 1.432 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/130.8, allocations: 3.562 kB / 23.17 GB, free: 173.1 MB / 1.432 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1047/130.9, allocations: 30.91 MB / 23.2 GB, free: 172.6 MB / 1.432 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004843/130.9, allocations: 68.81 kB / 23.2 GB, free: 172.6 MB / 1.432 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06885/131, allocations: 13.35 MB / 23.21 GB, free: 172.4 MB / 1.432 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02389/131, allocations: 2.7 MB / 23.21 GB, free: 172.4 MB / 1.432 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06696/131.1, allocations: 28.88 MB / 23.24 GB, free: 167.4 MB / 1.432 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0423/131.1, allocations: 2.974 MB / 23.24 GB, free: 167.4 MB / 1.432 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005852/131.2, allocations: 0.5454 MB / 23.24 GB, free: 167.4 MB / 1.432 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 () * Number of clocked 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.0534/131.2, allocations: 17.51 MB / 23.26 GB, free: 167.2 MB / 1.432 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01358/131.2, allocations: 1.993 MB / 23.26 GB, free: 167.2 MB / 1.432 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1036/131.3, allocations: 28.7 MB / 23.29 GB, free: 166.5 MB / 1.432 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002426/131.3, allocations: 127.8 kB / 23.29 GB, free: 166.5 MB / 1.432 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.231e-05/131.3, allocations: 3.844 kB / 23.29 GB, free: 166.5 MB / 1.432 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.09218/131.4, allocations: 23.57 MB / 23.31 GB, free: 165.8 MB / 1.432 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.2746/131.7, allocations: 69.42 MB / 23.38 GB, free: 162.4 MB / 1.432 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002595/131.7, allocations: 15.88 kB / 23.38 GB, free: 162.4 MB / 1.432 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03918/131.7, allocations: 3.137 MB / 23.38 GB, free: 162.4 MB / 1.432 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03201/131.8, allocations: 4.18 MB / 23.39 GB, free: 162.3 MB / 1.432 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005691/131.8, allocations: 402 kB / 23.39 GB, free: 162.3 MB / 1.432 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03483/131.8, allocations: 17.83 MB / 23.41 GB, free: 156.7 MB / 1.432 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.127e-05/131.8, allocations: 27.27 kB / 23.41 GB, free: 156.7 MB / 1.432 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1184/131.9, allocations: 50.33 MB / 23.46 GB, free: 146.9 MB / 1.432 GB Notification: Performance of postOpt removeConstants (simulation): time 0.03148/132, allocations: 6.369 MB / 23.46 GB, free: 146.5 MB / 1.432 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01246/132, allocations: 363.1 kB / 23.46 GB, free: 146.5 MB / 1.432 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0407/132, allocations: 2.621 MB / 23.46 GB, free: 146.4 MB / 1.432 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005634/132, allocations: 0.7555 MB / 23.46 GB, free: 146.4 MB / 1.432 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005025/132, allocations: 446.8 kB / 23.47 GB, free: 146.4 MB / 1.432 GB Notification: Performance of sorting global known variables: time 0.06135/132.1, allocations: 19.49 MB / 23.48 GB, free: 145.3 MB / 1.432 GB Notification: Performance of sort global known variables: time 1.062e-06/132.1, allocations: 3.719 kB / 23.48 GB, free: 145.3 MB / 1.432 GB Notification: Performance of remove unused functions: time 0.1066/132.2, allocations: 13.63 MB / 23.5 GB, free: 136 MB / 1.432 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.hexReg[1].ele[1,1].vol1.dynBal.U,hexSteStaIni.hexReg[1].ele[1,1].vol2.dynBal.medium.Xi[1],hexSteStaIni.hexReg[1].ele[1,1].vol2.dynBal.medium.T,hexSteStaIni.hexReg[1].ele[1,1].mas.T,hexSteStaIni.hexReg[1].ele[1,2].vol1.dynBal.U,hexSteStaIni.hexReg[1].ele[1,2].vol2.dynBal.medium.Xi[1],hexSteStaIni.hexReg[1].ele[1,2].vol2.dynBal.medium.T,hexSteStaIni.hexReg[1].ele[1,2].mas.T,hexSteStaIni.hexReg[1].ele[1,3].vol1.dynBal.U,hexSteStaIni.hexReg[1].ele[1,3].vol2.dynBal.medium.Xi[1],hexSteStaIni.hexReg[1].ele[1,3].vol2.dynBal.medium.T,hexSteStaIni.hexReg[1].ele[1,3].mas.T,hexSteStaIni.hexReg[2].ele[1,1].vol1.dynBal.U,hexSteStaIni.hexReg[2].ele[1,1].vol2.dynBal.medium.Xi[1],hexSteStaIni.hexReg[2].ele[1,1].vol2.dynBal.medium.T,hexSteStaIni.hexReg[2].ele[1,1].mas.T,hexSteStaIni.hexReg[2].ele[1,2].vol1.dynBal.U,hexSteStaIni.hexReg[2].ele[1,2].vol2.dynBal.medium.Xi[1],hexSteStaIni.hexReg[2].ele[1,2].vol2.dynBal.medium.T,hexSteStaIni.hexReg[2].ele[1,2].mas.T,hexSteStaIni.hexReg[2].ele[1,3].vol1.dynBal.U,hexSteStaIni.hexReg[2].ele[1,3].vol2.dynBal.medium.Xi[1],hexSteStaIni.hexReg[2].ele[1,3].vol2.dynBal.medium.T,hexSteStaIni.hexReg[2].ele[1,3].vol2.dynBal.m,hexSteStaIni.hexReg[2].ele[1,3].mas.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked 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.1634/132.3, allocations: 67.94 MB / 23.56 GB, free: 76.23 MB / 1.432 GB Notification: Performance of simCode: created initialization part: time 0.121/132.5, allocations: 41.37 MB / 23.6 GB, free: 42.27 MB / 1.432 GB Notification: Performance of simCode: created event and clocks part: time 3.853e-05/132.5, allocations: 13.66 kB / 23.6 GB, free: 42.26 MB / 1.432 GB Notification: Performance of simCode: created simulation system equations: time 0.03775/132.5, allocations: 12.92 MB / 23.62 GB, free: 31.61 MB / 1.432 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1214/132.6, allocations: 15.07 MB / 23.63 GB, free: 21.78 MB / 1.432 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.019/134.6, allocations: 151.4 MB / 23.78 GB, free: 86.34 MB / 1.432 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0771/134.7, allocations: 22.59 MB / 23.8 GB, free: 84.93 MB / 1.432 GB Notification: Performance of simCode: alias equations: time 0.0938/134.8, allocations: 17.52 MB / 23.82 GB, free: 84.74 MB / 1.432 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.05263/134.9, allocations: 12.15 MB / 23.83 GB, free: 84.73 MB / 1.432 GB Notification: Performance of SimCode: time 1.743e-06/134.9, allocations: 0 / 23.83 GB, free: 84.73 MB / 1.432 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.494/140.4, allocations: 0.9899 GB / 24.82 GB, free: 188 MB / 1.526 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003076/140.4, allocations: 303.2 kB / 24.82 GB, free: 187.6 MB / 1.526 GB Notification: Performance of buildModelFMU: Generate platform static: time 46.65/187, allocations: 0 / 24.82 GB, free: 187.6 MB / 1.526 GB