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.569/3.569, allocations: 403.3 MB / 415.4 MB, free: 12.98 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.554e-05/3.581e-05, allocations: 7.938 kB / 0.499 GB, free: 13.46 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.481/0.481, allocations: 92.7 MB / 0.5896 GB, free: 14.49 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.942/6.423, allocations: 2.466 GB / 3.055 GB, free: 156.7 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002454/6.423, allocations: 93.16 kB / 3.055 GB, free: 156.6 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.67/48.09, allocations: 8.898 GB / 11.95 GB, free: 49.29 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.933e-06/48.09, allocations: 0 / 11.95 GB, free: 49.29 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.004691/48.1, allocations: 387.8 kB / 11.95 GB, free: 49.23 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.06336/48.16, allocations: 15.91 MB / 11.97 GB, free: 44.11 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/48.16, allocations: 7 kB / 11.97 GB, free: 44.11 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03248/48.19, allocations: 3.584 MB / 11.97 GB, free: 43.17 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1282/48.32, allocations: 31.53 MB / 12 GB, free: 40.81 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002416/48.32, allocations: 0.9048 MB / 12 GB, free: 40.79 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008472/48.33, allocations: 1.23 MB / 12.01 GB, free: 40.77 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06984/48.4, allocations: 21.88 MB / 12.03 GB, free: 39.58 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008612/48.4, allocations: 41.05 kB / 12.03 GB, free: 39.57 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006182/48.41, allocations: 0.4916 MB / 12.03 GB, free: 39.57 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007205/48.41, allocations: 0.5488 MB / 12.03 GB, free: 39.54 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05533/48.46, allocations: 19.83 MB / 12.05 GB, free: 39.44 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.705/50.17, allocations: 94.69 MB / 12.14 GB, free: 77.76 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02683/50.2, allocations: 13.74 MB / 12.15 GB, free: 77.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01736/50.21, allocations: 8.692 MB / 12.16 GB, free: 77.19 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001526/50.22, allocations: 0.5826 MB / 12.16 GB, free: 76.71 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01856/50.23, allocations: 7.908 MB / 12.17 GB, free: 76.3 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01511/50.25, allocations: 2.955 MB / 12.17 GB, free: 76.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=734): time 3.77e-05/50.25, allocations: 0 / 12.17 GB, free: 76.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=771): time 0.2009/50.45, allocations: 59.39 MB / 12.23 GB, free: 52.68 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002222/50.45, allocations: 0.8224 MB / 12.23 GB, free: 51.77 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03425/50.48, allocations: 14.37 MB / 12.25 GB, free: 51.16 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.002221/50.49, allocations: 190.9 kB / 12.25 GB, free: 51.12 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.01295/50.5, allocations: 7.282 MB / 12.25 GB, free: 49.63 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.005173/50.51, allocations: 2.778 MB / 12.26 GB, free: 48.28 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001857/50.51, allocations: 156 kB / 12.26 GB, free: 48.28 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0009932/50.51, allocations: 0.673 MB / 12.26 GB, free: 47.96 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01352/50.52, allocations: 6.434 MB / 12.26 GB, free: 47.95 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01572/50.54, allocations: 8.47 MB / 12.27 GB, free: 45.84 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01729/50.55, allocations: 8.439 MB / 12.28 GB, free: 45.69 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.281e-05/50.56, allocations: 13.59 kB / 12.28 GB, free: 45.69 MB / 0.948 GB Notification: Performance of matching and sorting (n=997) (initialization): time 0.04106/50.6, allocations: 16.5 MB / 12.3 GB, free: 44.73 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.003985/50.6, allocations: 21.26 MB / 12.32 GB, free: 22.91 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001402/50.6, allocations: 33.62 kB / 12.32 GB, free: 22.91 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009235/50.6, allocations: 364.9 kB / 12.32 GB, free: 22.91 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01411/50.62, allocations: 2.244 MB / 12.32 GB, free: 22.91 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008069/50.62, allocations: 5.412 MB / 12.32 GB, free: 20.95 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02042/50.64, allocations: 1.862 MB / 12.33 GB, free: 20.89 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002605/50.65, allocations: 318.2 kB / 12.33 GB, free: 20.89 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/50.65, allocations: 3.781 kB / 12.33 GB, free: 20.89 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03759/50.68, allocations: 15.43 MB / 12.34 GB, free: 20.55 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001235/50.68, allocations: 39.36 kB / 12.34 GB, free: 20.55 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008112/50.69, allocations: 360 kB / 12.34 GB, free: 20.54 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01347/50.7, allocations: 2.142 MB / 12.34 GB, free: 20.54 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007467/50.71, allocations: 4.773 MB / 12.35 GB, free: 19.15 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01988/50.73, allocations: 1.825 MB / 12.35 GB, free: 19.07 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002664/50.73, allocations: 319.1 kB / 12.35 GB, free: 19.07 MB / 0.948 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.004551/50.73, allocations: 0.6021 MB / 12.35 GB, free: 18.91 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005603/50.74, allocations: 1.175 MB / 12.35 GB, free: 18.31 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04295/50.78, allocations: 15.99 MB / 12.37 GB, free: 17.78 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001011/50.78, allocations: 85.08 kB / 12.37 GB, free: 17.78 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.971e-05/50.78, allocations: 8.812 kB / 12.37 GB, free: 17.78 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03066/50.81, allocations: 13.23 MB / 12.38 GB, free: 17.08 MB / 0.948 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.1016/50.91, allocations: 39.56 MB / 12.42 GB, free: 10.22 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-05/50.91, allocations: 12 kB / 12.42 GB, free: 10.21 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01463/50.93, allocations: 2.33 MB / 12.42 GB, free: 8.566 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008076/50.93, allocations: 330.8 kB / 12.42 GB, free: 8.355 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002166/50.93, allocations: 258.7 kB / 12.42 GB, free: 8.258 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008829/50.94, allocations: 6.15 MB / 12.43 GB, free: 3.793 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.51e-05/50.94, allocations: 21.16 kB / 12.43 GB, free: 3.777 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09191/51.03, allocations: 29.34 MB / 12.46 GB, free: 15.73 MB / 0.9793 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01547/51.05, allocations: 3.845 MB / 12.46 GB, free: 12.17 MB / 0.9793 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005895/51.05, allocations: 238.2 kB / 12.46 GB, free: 11.96 MB / 0.9793 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01916/51.07, allocations: 1.575 MB / 12.46 GB, free: 10.96 MB / 0.9793 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002644/51.08, allocations: 0.4937 MB / 12.46 GB, free: 10.66 MB / 0.9793 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002446/51.08, allocations: 279 kB / 12.46 GB, free: 10.42 MB / 0.9793 GB Notification: Performance of sorting global known variables: time 0.03009/51.11, allocations: 11.52 MB / 12.47 GB, free: 0.6445 MB / 0.9793 GB Notification: Performance of sort global known variables: time 1.082e-06/51.11, allocations: 1.531 kB / 12.47 GB, free: 0.6445 MB / 0.9793 GB Notification: Performance of remove unused functions: time 0.05965/51.17, allocations: 8.684 MB / 12.48 GB, free: 9.332 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.01174/51.18, allocations: 5.036 MB / 12.49 GB, free: 5.457 MB / 0.9949 GB Notification: Performance of simCode: created initialization part: time 0.7731/51.95, allocations: 23.02 MB / 12.51 GB, free: 126.9 MB / 0.9949 GB Notification: Performance of simCode: created event and clocks part: time 2.076e-05/51.95, allocations: 11.06 kB / 12.51 GB, free: 126.9 MB / 0.9949 GB Notification: Performance of simCode: created simulation system equations: time 0.01697/51.97, allocations: 7.423 MB / 12.52 GB, free: 126.7 MB / 0.9949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04858/52.02, allocations: 9.001 MB / 12.53 GB, free: 126.6 MB / 0.9949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1013/52.12, allocations: 41.07 MB / 12.57 GB, free: 121.3 MB / 0.9949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03133/52.15, allocations: 13.15 MB / 12.58 GB, free: 120.2 MB / 0.9949 GB Notification: Performance of simCode: alias equations: time 0.07468/52.23, allocations: 23.75 MB / 12.6 GB, free: 120.1 MB / 0.9949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005191/52.23, allocations: 0.707 MB / 12.6 GB, free: 120.1 MB / 0.9949 GB Notification: Performance of SimCode: time 1.865e-06/52.23, allocations: 0 / 12.6 GB, free: 120.1 MB / 0.9949 GB Notification: Performance of Templates: time 1.528/53.76, allocations: 382.8 MB / 12.98 GB, free: 134.9 MB / 1.011 GB