Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.00635/0.00635, allocations: 232.7 kB / 15.82 MB, free: 6.293 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001846/0.001846, allocations: 177.3 kB / 16.71 MB, free: 5.449 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.803/3.803, allocations: 389.1 MB / 406.5 MB, free: 11.86 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.936/3.936, allocations: 472.3 MB / 0.9024 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004836/0.0004838, allocations: 14.88 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.179/0.1795, allocations: 98.73 MB / 1.105 GB, free: 42.07 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.446/7.625, allocations: 2.487 GB / 3.591 GB, free: 83.75 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002944/7.626, allocations: 101.6 kB / 3.592 GB, free: 83.7 MB / 0.8386 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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 59.68/67.3, allocations: 11.03 GB / 14.62 GB, free: 59.16 MB / 0.9948 GB Notification: Performance of FrontEnd: time 3.316e-06/67.3, allocations: 0 / 14.62 GB, free: 59.16 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.006033/67.31, allocations: 428.5 kB / 14.62 GB, free: 59.11 MB / 0.9948 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.1122/67.42, allocations: 22.77 MB / 14.64 GB, free: 52.42 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/67.42, allocations: 9.812 kB / 14.64 GB, free: 52.42 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03872/67.46, allocations: 4.146 MB / 14.65 GB, free: 51.38 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1258/67.59, allocations: 35.31 MB / 14.68 GB, free: 48.84 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001815/67.59, allocations: 1.034 MB / 14.68 GB, free: 48.81 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009113/67.6, allocations: 1.397 MB / 14.68 GB, free: 48.8 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09216/67.69, allocations: 25.22 MB / 14.71 GB, free: 47.77 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00122/67.69, allocations: 35.36 kB / 14.71 GB, free: 47.76 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008116/67.7, allocations: 0.5622 MB / 14.71 GB, free: 47.76 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009651/67.7, allocations: 0.6029 MB / 14.71 GB, free: 47.73 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07639/67.78, allocations: 23.25 MB / 14.73 GB, free: 47.62 MB / 0.9948 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.2465/68.02, allocations: 99.77 MB / 14.83 GB, free: 31.13 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03199/68.06, allocations: 12.96 MB / 14.84 GB, free: 30.82 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02457/68.08, allocations: 9.797 MB / 14.85 GB, free: 30.71 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002594/68.08, allocations: 1.011 MB / 14.85 GB, free: 29.76 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02431/68.11, allocations: 8.355 MB / 14.86 GB, free: 29.51 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01812/68.13, allocations: 1.923 MB / 14.86 GB, free: 29.2 MB / 1.01 GB Notification: Performance of pre-optimization done (n=779): time 4.385e-05/68.13, allocations: 0 / 14.86 GB, free: 29.2 MB / 1.01 GB Notification: Performance of matching and sorting (n=781): time 0.1489/68.28, allocations: 42.49 MB / 14.9 GB, free: 18.45 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002169/68.28, allocations: 314.4 kB / 14.9 GB, free: 18.16 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04843/68.32, allocations: 16.97 MB / 14.92 GB, free: 8.145 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.003032/68.33, allocations: 193.7 kB / 14.92 GB, free: 7.949 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.01829/68.35, allocations: 8.19 MB / 14.93 GB, free: 0.5156 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.006701/68.35, allocations: 2.823 MB / 14.93 GB, free: 13.95 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00249/68.35, allocations: 164.6 kB / 14.93 GB, free: 13.79 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.001316/68.36, allocations: 0.7114 MB / 14.93 GB, free: 13.17 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02053/68.38, allocations: 6.934 MB / 14.94 GB, free: 7.461 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02463/68.4, allocations: 9.755 MB / 14.95 GB, free: 14.28 MB / 1.042 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 2.037/70.44, allocations: 30.78 MB / 14.98 GB, free: 90.58 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.123e-05/70.44, allocations: 15.66 kB / 14.98 GB, free: 90.58 MB / 1.042 GB Notification: Performance of matching and sorting (n=1077) (initialization): time 0.05473/70.49, allocations: 17.6 MB / 15 GB, free: 90.34 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.001094/70.49, allocations: 1.577 MB / 15 GB, free: 88.47 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001006/70.49, allocations: 45.81 kB / 15 GB, free: 88.47 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002009/70.49, allocations: 99.28 kB / 15 GB, free: 88.47 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02067/70.52, allocations: 2.343 MB / 15 GB, free: 88.47 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001033/70.52, allocations: 1.294 MB / 15 GB, free: 87.3 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02626/70.54, allocations: 1.762 MB / 15 GB, free: 87.3 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003091/70.55, allocations: 356.7 kB / 15 GB, free: 87.3 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/70.55, allocations: 6.219 kB / 15 GB, free: 87.3 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05637/70.6, allocations: 16.38 MB / 15.02 GB, free: 87.09 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002672/70.6, allocations: 47.3 kB / 15.02 GB, free: 87.09 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002004/70.6, allocations: 98.19 kB / 15.02 GB, free: 87.09 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02618/70.63, allocations: 2.301 MB / 15.02 GB, free: 87.09 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003715/70.63, allocations: 116 kB / 15.02 GB, free: 87.09 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03126/70.66, allocations: 1.727 MB / 15.02 GB, free: 87.09 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003288/70.66, allocations: 345.7 kB / 15.02 GB, free: 87.09 MB / 1.042 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: 212 * 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 () * Number of clocked 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.02995/70.69, allocations: 11.54 MB / 15.03 GB, free: 86.88 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006729/70.7, allocations: 1.328 MB / 15.04 GB, free: 86.88 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05433/70.75, allocations: 16.38 MB / 15.05 GB, free: 86.48 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.52e-05/70.76, allocations: 79.47 kB / 15.05 GB, free: 86.48 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.318e-05/70.76, allocations: 0 / 15.05 GB, free: 86.48 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0405/70.8, allocations: 13.39 MB / 15.07 GB, free: 85.92 MB / 1.042 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.1301/70.93, allocations: 40.11 MB / 15.1 GB, free: 83.53 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.39e-05/70.93, allocations: 16.89 kB / 15.1 GB, free: 83.52 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02064/70.95, allocations: 2.324 MB / 15.11 GB, free: 83.52 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001297/70.95, allocations: 38.44 kB / 15.11 GB, free: 83.52 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002558/70.95, allocations: 258.1 kB / 15.11 GB, free: 83.52 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006896/70.95, allocations: 1.223 MB / 15.11 GB, free: 82.36 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.625e-05/70.95, allocations: 18.33 kB / 15.11 GB, free: 82.36 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06382/71.01, allocations: 25.56 MB / 15.13 GB, free: 81.07 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01764/71.03, allocations: 3.691 MB / 15.14 GB, free: 80.46 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007706/71.04, allocations: 239.7 kB / 15.14 GB, free: 80.46 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02335/71.06, allocations: 1.547 MB / 15.14 GB, free: 80.43 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003121/71.07, allocations: 491.6 kB / 15.14 GB, free: 80.41 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002527/71.07, allocations: 263.5 kB / 15.14 GB, free: 80.41 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.03504/71.1, allocations: 12.47 MB / 15.15 GB, free: 80.06 MB / 1.042 GB Notification: Performance of sort global known variables: time 7.91e-07/71.1, allocations: 0 / 15.15 GB, free: 80.06 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.04733/71.15, allocations: 7.675 MB / 15.16 GB, free: 80.06 MB / 1.042 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) * Number of clocked states: 0 () * 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.01203/71.16, allocations: 4.986 MB / 15.16 GB, free: 77.95 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.06125/71.22, allocations: 23.79 MB / 15.19 GB, free: 77.64 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-05/71.22, allocations: 12.97 kB / 15.19 GB, free: 77.64 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.01942/71.24, allocations: 7.444 MB / 15.19 GB, free: 77.55 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.08768/71.33, allocations: 10.56 MB / 15.2 GB, free: 77.38 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1467/71.48, allocations: 55.63 MB / 15.26 GB, free: 47.82 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03735/71.52, allocations: 14.58 MB / 15.27 GB, free: 39.39 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.06708/71.58, allocations: 14.81 MB / 15.29 GB, free: 29.81 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00878/71.59, allocations: 0.9785 MB / 15.29 GB, free: 28.91 MB / 1.042 GB Notification: Performance of SimCode: time 1.603e-06/71.59, allocations: 0 / 15.29 GB, free: 28.91 MB / 1.042 GB Notification: Performance of Templates: time 1.928/73.52, allocations: 380.1 MB / 15.66 GB, free: 18.94 MB / 1.057 GB