Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl") Notification: Performance of loadModel(Buildings): time 3.522/3.522, allocations: 403.3 MB / 415.4 MB, free: 12.91 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.411e-05/3.421e-05, allocations: 7.938 kB / 0.499 GB, free: 13.37 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4728/0.4728, allocations: 92.67 MB / 0.5895 GB, free: 14.5 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.9/6.373, allocations: 2.466 GB / 3.055 GB, free: 101.5 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004389/6.374, allocations: 90.77 kB / 3.055 GB, free: 101.4 MB / 0.7761 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.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 41.78/48.15, allocations: 8.898 GB / 11.95 GB, free: 45.8 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.053e-06/48.15, allocations: 0 / 11.95 GB, free: 45.8 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.004395/48.15, allocations: 384.3 kB / 11.95 GB, free: 45.73 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3086 * Number of variables: 3086 Notification: Performance of Generate backend data structure: time 0.06129/48.22, allocations: 15.91 MB / 11.97 GB, free: 40.46 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/48.22, allocations: 8.688 kB / 11.97 GB, free: 40.46 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03145/48.25, allocations: 3.58 MB / 11.97 GB, free: 39.5 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0882/48.34, allocations: 31.54 MB / 12 GB, free: 36.81 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001246/48.34, allocations: 0.9039 MB / 12 GB, free: 36.79 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006486/48.34, allocations: 1.238 MB / 12.01 GB, free: 36.77 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06924/48.41, allocations: 22.01 MB / 12.03 GB, free: 33.79 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007888/48.41, allocations: 38.31 kB / 12.03 GB, free: 33.75 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006007/48.42, allocations: 0.4945 MB / 12.03 GB, free: 33.64 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006582/48.42, allocations: 0.5504 MB / 12.03 GB, free: 33.15 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05414/48.47, allocations: 20 MB / 12.05 GB, free: 16.91 MB / 0.9167 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 1.694/50.17, allocations: 94.56 MB / 12.14 GB, free: 49.02 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02835/50.2, allocations: 13.84 MB / 12.15 GB, free: 48.52 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01813/50.22, allocations: 8.692 MB / 12.16 GB, free: 48.41 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001584/50.22, allocations: 0.5834 MB / 12.16 GB, free: 47.93 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01904/50.24, allocations: 7.941 MB / 12.17 GB, free: 47.5 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01564/50.25, allocations: 2.949 MB / 12.17 GB, free: 47.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=734): time 4.148e-05/50.25, allocations: 0 / 12.17 GB, free: 47.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=771): time 0.2081/50.46, allocations: 59.41 MB / 12.23 GB, free: 23.68 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000229/50.46, allocations: 0.8269 MB / 12.23 GB, free: 22.77 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03516/50.5, allocations: 14.36 MB / 12.25 GB, free: 22.16 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.002324/50.5, allocations: 187.6 kB / 12.25 GB, free: 22.13 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.01258/50.51, allocations: 7.287 MB / 12.25 GB, free: 20.64 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.004929/50.52, allocations: 2.779 MB / 12.26 GB, free: 19.29 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00154/50.52, allocations: 156.4 kB / 12.26 GB, free: 19.29 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0008865/50.52, allocations: 0.6716 MB / 12.26 GB, free: 18.97 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01317/50.53, allocations: 6.43 MB / 12.26 GB, free: 18.96 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01633/50.55, allocations: 8.514 MB / 12.27 GB, free: 16.84 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01698/50.56, allocations: 8.447 MB / 12.28 GB, free: 16.68 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.184e-05/50.56, allocations: 14.52 kB / 12.28 GB, free: 16.68 MB / 0.948 GB Notification: Performance of matching and sorting (n=997) (initialization): time 0.04148/50.61, allocations: 16.59 MB / 12.3 GB, free: 15.72 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.006597/50.61, allocations: 21.26 MB / 12.32 GB, free: 9.895 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001436/50.61, allocations: 40.8 kB / 12.32 GB, free: 9.895 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009149/50.61, allocations: 368.6 kB / 12.32 GB, free: 9.883 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01443/50.63, allocations: 2.24 MB / 12.32 GB, free: 9.883 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008378/50.64, allocations: 5.417 MB / 12.32 GB, free: 7.922 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02008/50.66, allocations: 1.863 MB / 12.33 GB, free: 7.871 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002484/50.66, allocations: 317.2 kB / 12.33 GB, free: 7.871 MB / 0.9637 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/50.66, allocations: 4.562 kB / 12.33 GB, free: 7.871 MB / 0.9637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03704/50.7, allocations: 15.52 MB / 12.34 GB, free: 7.539 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001271/50.7, allocations: 37.83 kB / 12.34 GB, free: 7.535 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008427/50.7, allocations: 371 kB / 12.34 GB, free: 7.523 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01304/50.71, allocations: 2.142 MB / 12.34 GB, free: 7.523 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007263/50.72, allocations: 4.771 MB / 12.35 GB, free: 6.145 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02034/50.74, allocations: 1.817 MB / 12.35 GB, free: 6.098 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002532/50.74, allocations: 313.7 kB / 12.35 GB, free: 6.098 MB / 0.9637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 156 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,$PRE.mot.uppHys.y,mot.uppHys.y,$PRE.mot.lowHys.y,mot.lowHys.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (967): * Single equations (assignments): 964 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: 1 {(1,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004481/50.74, allocations: 0.607 MB / 12.35 GB, free: 5.938 MB / 0.9637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004865/50.75, allocations: 1.18 MB / 12.35 GB, free: 5.332 MB / 0.9637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04057/50.79, allocations: 15.98 MB / 12.37 GB, free: 4.801 MB / 0.9637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.311e-05/50.79, allocations: 88.66 kB / 12.37 GB, free: 4.801 MB / 0.9637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.882e-05/50.79, allocations: 9.688 kB / 12.37 GB, free: 4.801 MB / 0.9637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02893/50.82, allocations: 13.23 MB / 12.38 GB, free: 4.102 MB / 0.9637 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.103/50.92, allocations: 39.91 MB / 12.42 GB, free: 10 MB / 0.9793 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.93e-05/50.92, allocations: 12 kB / 12.42 GB, free: 9.988 MB / 0.9793 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01492/50.94, allocations: 2.331 MB / 12.42 GB, free: 8.289 MB / 0.9793 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008911/50.94, allocations: 327.7 kB / 12.42 GB, free: 8.016 MB / 0.9793 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002135/50.94, allocations: 257 kB / 12.42 GB, free: 7.797 MB / 0.9793 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01057/50.95, allocations: 6.151 MB / 12.43 GB, free: 2.031 MB / 0.9793 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.955e-05/50.95, allocations: 20.03 kB / 12.43 GB, free: 2.016 MB / 0.9793 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.8673/51.82, allocations: 30.05 MB / 12.46 GB, free: 117.3 MB / 0.9949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01604/51.83, allocations: 3.848 MB / 12.46 GB, free: 117.2 MB / 0.9949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006046/51.84, allocations: 238.3 kB / 12.46 GB, free: 117.2 MB / 0.9949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01864/51.86, allocations: 1.576 MB / 12.46 GB, free: 117.2 MB / 0.9949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002677/51.86, allocations: 0.5034 MB / 12.46 GB, free: 117.2 MB / 0.9949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002383/51.86, allocations: 281 kB / 12.46 GB, free: 117.2 MB / 0.9949 GB Notification: Performance of sorting global known variables: time 0.02822/51.89, allocations: 11.51 MB / 12.48 GB, free: 116.8 MB / 0.9949 GB Notification: Performance of sort global known variables: time 1.337e-06/51.89, allocations: 0 / 12.48 GB, free: 116.8 MB / 0.9949 GB Notification: Performance of remove unused functions: time 0.05056/51.94, allocations: 8.262 MB / 12.48 GB, free: 116.8 MB / 0.9949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * Number of states: 51 (temSen.T,hex.port_b1.h_outflow,hex.hexReg[1].ele[1,1].vol2.dynBal.U,hex.hexReg[1].ele[1,1].vol2.dynBal.mXi[1],hex.hexReg[1].ele[1,1].mas.T,hex.hexReg[1].ele[1,2].port_b1.h_outflow,hex.hexReg[1].ele[1,2].vol2.dynBal.U,hex.hexReg[1].ele[1,2].vol2.dynBal.mXi[1],hex.hexReg[1].ele[1,2].mas.T,hex.hexReg[1].ele[1,3].vol2.dynBal.U,hex.hexReg[1].ele[1,3].vol2.dynBal.mXi[1],hex.hexReg[1].ele[1,3].mas.T,hex.hexReg[1].port_a1[1].h_outflow,hex.hexReg[1].port_b1[1].h_outflow,hex.hexReg[2].ele[1,1].vol2.dynBal.U,hex.hexReg[2].ele[1,1].vol2.dynBal.mXi[1],hex.hexReg[2].ele[1,1].mas.T,hex.hexReg[2].ele[1,2].port_b1.h_outflow,hex.hexReg[2].ele[1,2].vol2.dynBal.U,hex.hexReg[2].ele[1,2].vol2.dynBal.mXi[1],hex.hexReg[2].ele[1,2].mas.T,hex.hexReg[2].ele[1,3].vol2.dynBal.U,hex.hexReg[2].ele[1,3].vol2.dynBal.mXi[1],hex.hexReg[2].ele[1,3].mas.T,hex.hexReg[2].port_a1[1].h_outflow,hex.hexReg[2].port_b1[1].h_outflow,hex.hexReg[3].ele[1,1].vol2.dynBal.U,hex.hexReg[3].ele[1,1].vol2.dynBal.mXi[1],hex.hexReg[3].ele[1,1].mas.T,hex.hexReg[3].ele[1,2].port_b1.h_outflow,hex.hexReg[3].ele[1,2].vol2.dynBal.U,hex.hexReg[3].ele[1,2].vol2.dynBal.mXi[1],hex.hexReg[3].ele[1,2].mas.T,hex.hexReg[3].ele[1,3].vol2.dynBal.U,hex.hexReg[3].ele[1,3].vol2.dynBal.mXi[1],hex.hexReg[3].ele[1,3].mas.T,hex.hexReg[3].port_a1[1].h_outflow,hex.hexReg[3].port_b1[1].h_outflow,hex.hexReg[4].ele[1,1].vol2.dynBal.U,hex.hexReg[4].ele[1,1].vol2.dynBal.mXi[1],hex.hexReg[4].ele[1,1].mas.T,hex.hexReg[4].ele[1,2].port_b1.h_outflow,hex.hexReg[4].ele[1,2].vol2.dynBal.U,hex.hexReg[4].ele[1,2].vol2.dynBal.mXi[1],hex.hexReg[4].ele[1,2].mas.T,hex.hexReg[4].ele[1,3].vol2.dynBal.U,hex.hexReg[4].ele[1,3].vol2.dynBal.m,hex.hexReg[4].ele[1,3].vol2.dynBal.mXi[1],hex.hexReg[4].ele[1,3].mas.T,hex.hexReg[4].port_b1[1].h_outflow,mot.int.y) * Number of discrete variables: 8 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled,mot.uppHys.y,mot.lowHys.y) * Number of discrete states: 8 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1,mot.uppHys.y,mot.lowHys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (773): * Single equations (assignments): 756 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: 1 {(1,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0111/51.95, allocations: 4.912 MB / 12.49 GB, free: 114.8 MB / 0.9949 GB Notification: Performance of simCode: created initialization part: time 0.04958/52, allocations: 23.26 MB / 12.51 GB, free: 114.2 MB / 0.9949 GB Notification: Performance of simCode: created event and clocks part: time 2.34e-05/52, allocations: 10.28 kB / 12.51 GB, free: 114.2 MB / 0.9949 GB Notification: Performance of simCode: created simulation system equations: time 0.01663/52.02, allocations: 7.483 MB / 12.52 GB, free: 114 MB / 0.9949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05005/52.07, allocations: 9.007 MB / 12.53 GB, free: 113.8 MB / 0.9949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1008/52.17, allocations: 41.12 MB / 12.57 GB, free: 108.5 MB / 0.9949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03135/52.2, allocations: 13.16 MB / 12.58 GB, free: 107.4 MB / 0.9949 GB Notification: Performance of simCode: alias equations: time 0.07462/52.28, allocations: 23.75 MB / 12.6 GB, free: 107 MB / 0.9949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005257/52.28, allocations: 0.7061 MB / 12.6 GB, free: 107 MB / 0.9949 GB Notification: Performance of SimCode: time 2.078e-06/52.28, allocations: 0 / 12.6 GB, free: 107 MB / 0.9949 GB Notification: Performance of Templates: time 1.525/53.81, allocations: 386.5 MB / 12.98 GB, free: 151.4 MB / 1.026 GB