Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl") Notification: Performance of loadModel(Buildings): time 3.908/3.908, allocations: 433.4 MB / 440.9 MB, free: 10.39 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.761e-05/1.768e-05, allocations: 4 kB / 0.5325 GB, free: 1.871 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4995/0.4996, allocations: 98.71 MB / 0.6289 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.078/6.577, allocations: 2.496 GB / 3.125 GB, free: 139.6 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002293/6.578, allocations: 95.14 kB / 3.125 GB, free: 139.5 MB / 0.823 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 51.63/58.21, allocations: 11.11 GB / 14.23 GB, free: 41.53 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.74e-06/58.21, allocations: 0 / 14.23 GB, free: 41.53 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.004595/58.21, allocations: 425 kB / 14.23 GB, free: 41.48 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3530 * Number of variables: 3530 Notification: Performance of Generate backend data structure: time 0.06648/58.28, allocations: 17.86 MB / 14.25 GB, free: 35.82 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/58.28, allocations: 15.47 kB / 14.25 GB, free: 35.82 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03307/58.31, allocations: 4.126 MB / 14.25 GB, free: 34.77 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09772/58.41, allocations: 35.54 MB / 14.29 GB, free: 32.29 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008902/58.41, allocations: 440.5 kB / 14.29 GB, free: 32.29 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006913/58.42, allocations: 0.8266 MB / 14.29 GB, free: 32.28 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05615/58.48, allocations: 21.73 MB / 14.31 GB, free: 32.22 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07076/58.55, allocations: 22.81 MB / 14.33 GB, free: 31.22 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008894/58.55, allocations: 32.95 kB / 14.33 GB, free: 31.21 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006005/58.55, allocations: 11.56 kB / 14.33 GB, free: 31.21 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007246/58.55, allocations: 0.6071 MB / 14.33 GB, free: 31.18 MB / 0.9636 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.763/60.32, allocations: 95.99 MB / 14.43 GB, free: 59.22 MB / 0.9949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02541/60.34, allocations: 15.09 MB / 14.44 GB, free: 56.64 MB / 0.9949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01775/60.36, allocations: 9.335 MB / 14.45 GB, free: 56.54 MB / 0.9949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001722/60.36, allocations: 1.006 MB / 14.45 GB, free: 55.59 MB / 0.9949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01743/60.38, allocations: 7.77 MB / 14.46 GB, free: 55.36 MB / 0.9949 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01365/60.39, allocations: 1.75 MB / 14.46 GB, free: 55.36 MB / 0.9949 GB Notification: Performance of pre-optimization done (n=779): time 5.496e-05/60.39, allocations: 0 / 14.46 GB, free: 55.36 MB / 0.9949 GB Notification: Performance of matching and sorting (n=781): time 0.1085/60.5, allocations: 34.22 MB / 14.49 GB, free: 49.36 MB / 0.9949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000126/60.5, allocations: 313.9 kB / 14.49 GB, free: 49.07 MB / 0.9949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03636/60.54, allocations: 15.04 MB / 14.51 GB, free: 48.49 MB / 0.9949 GB Notification: Performance of collectPreVariables (initialization): time 0.002403/60.54, allocations: 42.73 kB / 14.51 GB, free: 48.46 MB / 0.9949 GB Notification: Performance of collectInitialEqns (initialization): time 0.01501/60.56, allocations: 8.216 MB / 14.52 GB, free: 46.67 MB / 0.9949 GB Notification: Performance of collectInitialBindings (initialization): time 0.004923/60.56, allocations: 2.712 MB / 14.52 GB, free: 45.3 MB / 0.9949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001981/60.56, allocations: 0 / 14.52 GB, free: 45.3 MB / 0.9949 GB Notification: Performance of setup shared object (initialization): time 0.001153/60.56, allocations: 0.7087 MB / 14.52 GB, free: 44.98 MB / 0.9949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0128/60.58, allocations: 6.479 MB / 14.53 GB, free: 44.96 MB / 0.9949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01636/60.59, allocations: 9.201 MB / 14.54 GB, free: 42.4 MB / 0.9949 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: hex.hexReg[1].ele[1,1].vol2.dynBal.medium.p = 101325.0 (sin_2.p = 101325.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.1087/60.7, allocations: 26.95 MB / 14.56 GB, free: 41.99 MB / 0.9949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.214e-05/60.7, allocations: 15.41 kB / 14.56 GB, free: 41.99 MB / 0.9949 GB Notification: Performance of matching and sorting (n=1077) (initialization): time 0.04202/60.74, allocations: 16.24 MB / 14.58 GB, free: 41.14 MB / 0.9949 GB Notification: Performance of prepare postOptimizeDAE: time 0.01014/60.75, allocations: 29.65 MB / 14.61 GB, free: 26.48 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002501/60.76, allocations: 48.67 kB / 14.61 GB, free: 26.48 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001942/60.76, allocations: 96 kB / 14.61 GB, free: 26.48 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01453/60.77, allocations: 2.324 MB / 14.61 GB, free: 26.48 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001271/60.77, allocations: 1.31 MB / 14.61 GB, free: 25.31 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0199/60.79, allocations: 1.629 MB / 14.61 GB, free: 25.26 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002932/60.79, allocations: 354.2 kB / 14.61 GB, free: 25.26 MB / 1.011 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/60.79, allocations: 3.594 kB / 14.61 GB, free: 25.26 MB / 1.011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03741/60.83, allocations: 14.95 MB / 14.63 GB, free: 25.08 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001844/60.83, allocations: 49.09 kB / 14.63 GB, free: 25.08 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001302/60.83, allocations: 94.53 kB / 14.63 GB, free: 25.08 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0141/60.85, allocations: 2.298 MB / 14.63 GB, free: 25.08 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001798/60.85, allocations: 122.8 kB / 14.63 GB, free: 25.08 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01962/60.87, allocations: 1.594 MB / 14.63 GB, free: 25.02 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002856/60.87, allocations: 350 kB / 14.63 GB, free: 25.02 MB / 1.011 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: hex.hexReg[1].ele[1,1].vol2.dynBal.medium.p = 101325.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 214 * 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 (1071): * Single equations (assignments): 1068 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.004936/60.87, allocations: 353.3 kB / 14.63 GB, free: 24.85 MB / 1.011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005323/60.88, allocations: 1.251 MB / 14.63 GB, free: 24.21 MB / 1.011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04071/60.92, allocations: 15.09 MB / 14.65 GB, free: 23.81 MB / 1.011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.509e-05/60.92, allocations: 76.16 kB / 14.65 GB, free: 23.81 MB / 1.011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.928e-05/60.92, allocations: 0 / 14.65 GB, free: 23.81 MB / 1.011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02947/60.95, allocations: 12.41 MB / 14.66 GB, free: 23.27 MB / 1.011 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.09991/61.05, allocations: 37.73 MB / 14.7 GB, free: 20.69 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.243e-05/61.05, allocations: 11.28 kB / 14.7 GB, free: 20.69 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01518/61.06, allocations: 2.316 MB / 14.7 GB, free: 20.69 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001218/61.07, allocations: 43.77 kB / 14.7 GB, free: 20.69 MB / 1.011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002157/61.07, allocations: 158.6 kB / 14.7 GB, free: 20.69 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001024/61.07, allocations: 1.228 MB / 14.7 GB, free: 19.52 MB / 1.011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-05/61.07, allocations: 15.81 kB / 14.7 GB, free: 19.52 MB / 1.011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05088/61.12, allocations: 27.29 MB / 14.73 GB, free: 24.41 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01448/61.13, allocations: 3.867 MB / 14.73 GB, free: 21.83 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006026/61.14, allocations: 111 kB / 14.73 GB, free: 21.77 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0177/61.16, allocations: 1.495 MB / 14.73 GB, free: 20.89 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002606/61.16, allocations: 483.8 kB / 14.73 GB, free: 20.65 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002299/61.16, allocations: 264.9 kB / 14.73 GB, free: 20.48 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.02875/61.19, allocations: 11.95 MB / 14.75 GB, free: 12.07 MB / 1.026 GB Notification: Performance of sort global known variables: time 2.493e-06/61.19, allocations: 0 / 14.75 GB, free: 12.07 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.04506/61.24, allocations: 7.336 MB / 14.75 GB, free: 4.797 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * Number of states: 50 (temSen.T,hex.hexReg[1].ele[1,1].vol1.dynBal.U,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].vol1.dynBal.U,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].vol1.dynBal.U,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[2].ele[1,1].vol1.dynBal.U,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].vol1.dynBal.U,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].vol1.dynBal.U,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[3].ele[1,1].vol1.dynBal.U,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].vol1.dynBal.U,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].vol1.dynBal.U,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[4].ele[1,1].vol1.dynBal.U,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].vol1.dynBal.U,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].vol1.dynBal.U,hex.hexReg[4].ele[1,3].vol2.dynBal.U,hex.hexReg[4].ele[1,3].vol2.dynBal.mXi[1],hex.hexReg[4].ele[1,3].mas.T,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 (786): * Single equations (assignments): 779 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * 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: Performance of Backend phase and start with SimCode phase: time 0.01211/61.25, allocations: 5.269 MB / 14.76 GB, free: 0.5859 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.08065/61.33, allocations: 24.3 MB / 14.78 GB, free: 1.285 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.604e-05/61.33, allocations: 10.81 kB / 14.78 GB, free: 1.273 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.7865/62.12, allocations: 8.596 MB / 14.79 GB, free: 119.5 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05307/62.17, allocations: 9.423 MB / 14.8 GB, free: 119.3 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1181/62.29, allocations: 44.47 MB / 14.84 GB, free: 113.6 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03802/62.33, allocations: 14.6 MB / 14.86 GB, free: 112.5 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.08568/62.41, allocations: 26.45 MB / 14.88 GB, free: 112.3 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006132/62.42, allocations: 0.7478 MB / 14.88 GB, free: 112.3 MB / 1.042 GB Notification: Performance of SimCode: time 2.062e-06/62.42, allocations: 0 / 14.88 GB, free: 112.3 MB / 1.042 GB Notification: Performance of Templates: time 1.483/63.9, allocations: 327.5 MB / 15.2 GB, free: 136.6 MB / 1.089 GB