Running: ./testmodel.py --libraries=/var/lib/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 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.199/2.199, allocations: 251.1 MB / 266.1 MB, free: 11.57 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001537/0.001537, allocations: 176 kB / 325.6 MB, free: 2.832 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.358/2.358, allocations: 205.4 MB / 0.5766 GB, free: 20.78 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001145/0.001145, allocations: 94.84 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004875/0.0004876, allocations: 11.94 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.202/0.2026, allocations: 106.3 MB / 0.8989 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.685/7.888, allocations: 2.481 GB / 3.38 GB, free: 38.64 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003011/7.888, allocations: 96.77 kB / 3.38 GB, free: 38.59 MB / 0.8855 GB [/var/lib/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.7/120.6, allocations: 19.13 GB / 22.51 GB, free: 51.14 MB / 1.307 GB Notification: Performance of FrontEnd: time 6.212e-06/120.6, allocations: 0 / 22.51 GB, free: 51.14 MB / 1.307 GB Notification: Performance of Transformations before backend: time 0.01044/120.6, allocations: 0.6579 MB / 22.51 GB, free: 51 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.1844/120.8, allocations: 36.09 MB / 22.54 GB, free: 36.01 MB / 1.307 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/120.8, allocations: 8.031 kB / 22.54 GB, free: 36 MB / 1.307 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06109/120.9, allocations: 6.25 MB / 22.55 GB, free: 30.96 MB / 1.307 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.203/121.1, allocations: 54.35 MB / 22.6 GB, free: 9.277 MB / 1.323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003241/121.1, allocations: 1.62 MB / 22.6 GB, free: 7.656 MB / 1.323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01489/121.1, allocations: 2.175 MB / 22.6 GB, free: 5.48 MB / 1.323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 1.666/122.8, allocations: 39.15 MB / 22.64 GB, free: 73.64 MB / 1.323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002307/122.8, allocations: 38.73 kB / 22.64 GB, free: 73.64 MB / 1.323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0136/122.8, allocations: 0.8811 MB / 22.64 GB, free: 73.64 MB / 1.323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001932/122.8, allocations: 0.9454 MB / 22.64 GB, free: 73.59 MB / 1.323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1275/122.9, allocations: 36.27 MB / 22.68 GB, free: 73.42 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.4152/123.3, allocations: 158.2 MB / 22.83 GB, free: 55.86 MB / 1.354 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0551/123.4, allocations: 21.43 MB / 22.85 GB, free: 55.02 MB / 1.354 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005455/123.4, allocations: 2.611 MB / 22.86 GB, free: 52.38 MB / 1.354 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003973/123.4, allocations: 186.8 kB / 22.86 GB, free: 52.33 MB / 1.354 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03778/123.4, allocations: 5.508 MB / 22.86 GB, free: 52.07 MB / 1.354 GB Notification: Performance of pre-optimization done (n=1205): time 7.195e-05/123.4, allocations: 0.5938 kB / 22.86 GB, free: 52.07 MB / 1.354 GB Notification: Performance of matching and sorting (n=1271): time 0.4876/123.9, allocations: 89 MB / 22.95 GB, free: 46.3 MB / 1.354 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001719/123.9, allocations: 183.8 kB / 22.95 GB, free: 46.23 MB / 1.354 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.07321/124, allocations: 24.19 MB / 22.97 GB, free: 44.34 MB / 1.354 GB Notification: Performance of collectPreVariables (initialization): time 0.005606/124, allocations: 289.3 kB / 22.97 GB, free: 44.12 MB / 1.354 GB Notification: Performance of collectInitialEqns (initialization): time 0.02279/124, allocations: 12.54 MB / 22.99 GB, free: 35.67 MB / 1.354 GB Notification: Performance of collectInitialBindings (initialization): time 0.009999/124, allocations: 4.438 MB / 22.99 GB, free: 32.27 MB / 1.354 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004668/124, allocations: 260.2 kB / 22.99 GB, free: 32.06 MB / 1.354 GB Notification: Performance of setup shared object (initialization): time 0.002047/124, allocations: 0.9214 MB / 22.99 GB, free: 31.53 MB / 1.354 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03046/124.1, allocations: 11.05 MB / 23 GB, free: 28.38 MB / 1.354 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03675/124.1, allocations: 15.21 MB / 23.02 GB, free: 20.98 MB / 1.354 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03906/124.1, allocations: 14.41 MB / 23.03 GB, free: 16.49 MB / 1.354 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001676/124.1, allocations: 22.31 kB / 23.03 GB, free: 16.49 MB / 1.354 GB Notification: Performance of matching and sorting (n=1657) (initialization): time 0.1398/124.3, allocations: 34.68 MB / 23.07 GB, free: 10.98 MB / 1.37 GB Notification: Performance of prepare postOptimizeDAE: time 0.02271/124.3, allocations: 52.05 MB / 23.12 GB, free: 5.012 MB / 1.417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003588/124.3, allocations: 70.22 kB / 23.12 GB, free: 4.945 MB / 1.417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686/126, allocations: 13.89 MB / 23.13 GB, free: 163.7 MB / 1.417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02508/126, allocations: 2.71 MB / 23.13 GB, free: 163.7 MB / 1.417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08719/126.1, allocations: 29.46 MB / 23.16 GB, free: 158 MB / 1.417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04568/126.1, allocations: 3.023 MB / 23.16 GB, free: 158 MB / 1.417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005683/126.2, allocations: 0.5442 MB / 23.16 GB, free: 158 MB / 1.417 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/126.2, allocations: 3.656 kB / 23.16 GB, free: 158 MB / 1.417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1018/126.3, allocations: 30.91 MB / 23.19 GB, free: 157.5 MB / 1.417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003861/126.3, allocations: 66.84 kB / 23.19 GB, free: 157.5 MB / 1.417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0703/126.3, allocations: 13.35 MB / 23.21 GB, free: 157.4 MB / 1.417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02417/126.3, allocations: 2.703 MB / 23.21 GB, free: 157.4 MB / 1.417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0659/126.4, allocations: 28.88 MB / 23.24 GB, free: 152.3 MB / 1.417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04449/126.5, allocations: 2.976 MB / 23.24 GB, free: 152.3 MB / 1.417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0058/126.5, allocations: 0.5434 MB / 23.24 GB, free: 152.3 MB / 1.417 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.04971/126.5, allocations: 17.51 MB / 23.26 GB, free: 152.1 MB / 1.417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01184/126.5, allocations: 1.991 MB / 23.26 GB, free: 152.1 MB / 1.417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1043/126.6, allocations: 28.71 MB / 23.29 GB, free: 151.4 MB / 1.417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002362/126.6, allocations: 132.1 kB / 23.29 GB, free: 151.4 MB / 1.417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.705e-05/126.6, allocations: 6.609 kB / 23.29 GB, free: 151.4 MB / 1.417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.07465/126.7, allocations: 23.57 MB / 23.31 GB, free: 150.8 MB / 1.417 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.2421/126.9, allocations: 69.42 MB / 23.38 GB, free: 147.4 MB / 1.417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001745/126.9, allocations: 16.34 kB / 23.38 GB, free: 147.4 MB / 1.417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03481/127, allocations: 3.145 MB / 23.38 GB, free: 147.4 MB / 1.417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0234/127, allocations: 4.169 MB / 23.39 GB, free: 147.3 MB / 1.417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004249/127, allocations: 409.6 kB / 23.39 GB, free: 147.3 MB / 1.417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03185/127, allocations: 17.83 MB / 23.41 GB, free: 141.6 MB / 1.417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.32e-05/127, allocations: 26.88 kB / 23.41 GB, free: 141.6 MB / 1.417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1222/127.2, allocations: 50.33 MB / 23.45 GB, free: 131.9 MB / 1.417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02994/127.2, allocations: 6.371 MB / 23.46 GB, free: 131.4 MB / 1.417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01175/127.2, allocations: 363.9 kB / 23.46 GB, free: 131.4 MB / 1.417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03909/127.2, allocations: 2.624 MB / 23.46 GB, free: 131.3 MB / 1.417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00535/127.3, allocations: 0.7488 MB / 23.46 GB, free: 131.3 MB / 1.417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004639/127.3, allocations: 450.4 kB / 23.46 GB, free: 131.3 MB / 1.417 GB Notification: Performance of sorting global known variables: time 0.06005/127.3, allocations: 19.49 MB / 23.48 GB, free: 128 MB / 1.417 GB Notification: Performance of sort global known variables: time 1.202e-06/127.3, allocations: 4.562 kB / 23.48 GB, free: 128 MB / 1.417 GB Notification: Performance of remove unused functions: time 0.1008/127.4, allocations: 13.62 MB / 23.5 GB, free: 114.5 MB / 1.417 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.03686/127.5, allocations: 17.87 MB / 23.51 GB, free: 99.09 MB / 1.417 GB Notification: Performance of simCode: created initialization part: time 0.1177/127.6, allocations: 41.37 MB / 23.55 GB, free: 65.13 MB / 1.417 GB Notification: Performance of simCode: created event and clocks part: time 3.859e-05/127.6, allocations: 9 kB / 23.55 GB, free: 65.12 MB / 1.417 GB Notification: Performance of simCode: created simulation system equations: time 0.03716/127.6, allocations: 12.92 MB / 23.57 GB, free: 54.47 MB / 1.417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1197/127.7, allocations: 15.08 MB / 23.58 GB, free: 44.55 MB / 1.417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.876/129.6, allocations: 86.36 MB / 23.67 GB, free: 131.2 MB / 1.432 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.07398/129.7, allocations: 22.59 MB / 23.69 GB, free: 129.8 MB / 1.432 GB Notification: Performance of simCode: alias equations: time 0.0942/129.8, allocations: 17.53 MB / 23.71 GB, free: 129.6 MB / 1.432 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01338/129.8, allocations: 1.42 MB / 23.71 GB, free: 129.6 MB / 1.432 GB Notification: Performance of SimCode: time 2.444e-06/129.8, allocations: 0 / 23.71 GB, free: 129.6 MB / 1.432 GB Notification: Performance of Templates: time 3.335/133.1, allocations: 0.6974 GB / 24.4 GB, free: 208.4 MB / 1.511 GB