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.01086/0.01086, allocations: 110.6 kB / 15.05 MB, free: 5.961 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.001145/0.001145, allocations: 184.1 kB / 15.94 MB, free: 5.926 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 1.836/1.836, allocations: 194.6 MB / 211.3 MB, free: 11.07 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.191/2.191, allocations: 236.2 MB / 492.6 MB, free: 11.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004749/0.000475, allocations: 12 kB / 0.5869 GB, free: 2.18 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5922/0.5927, allocations: 98.71 MB / 0.6833 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.21/6.802, allocations: 2.487 GB / 3.17 GB, free: 275.8 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002715/6.803, allocations: 100.3 kB / 3.17 GB, free: 275.8 MB / 0.823 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 53.64/60.44, allocations: 11.22 GB / 14.39 GB, free: 55.38 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.979e-06/60.44, allocations: 0 / 14.39 GB, free: 55.38 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.005016/60.44, allocations: 427.4 kB / 14.39 GB, free: 55.33 MB / 0.9792 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.0881/60.53, allocations: 22.77 MB / 14.41 GB, free: 48.43 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/60.53, allocations: 10.38 kB / 14.41 GB, free: 48.43 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03401/60.57, allocations: 4.135 MB / 14.41 GB, free: 47.4 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1023/60.67, allocations: 35.71 MB / 14.45 GB, free: 44.99 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00149/60.67, allocations: 1.029 MB / 14.45 GB, free: 44.96 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007805/60.68, allocations: 1.399 MB / 14.45 GB, free: 44.95 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07736/60.76, allocations: 25.12 MB / 14.48 GB, free: 43.92 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009133/60.76, allocations: 35.62 kB / 14.48 GB, free: 43.91 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006861/60.76, allocations: 0.5645 MB / 14.48 GB, free: 43.91 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008152/60.76, allocations: 0.5991 MB / 14.48 GB, free: 43.88 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06372/60.83, allocations: 23.25 MB / 14.5 GB, free: 43.77 MB / 0.9792 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.2061/61.03, allocations: 98.84 MB / 14.6 GB, free: 22.35 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02508/61.06, allocations: 12.95 MB / 14.61 GB, free: 11.34 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002022/61.06, allocations: 1.006 MB / 14.61 GB, free: 10.22 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02029/61.08, allocations: 8.339 MB / 14.62 GB, free: 3.762 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01456/61.1, allocations: 1.979 MB / 14.62 GB, free: 2.266 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=779): time 2.865e-05/61.1, allocations: 0 / 14.62 GB, free: 2.266 MB / 0.9948 GB Notification: Performance of matching and sorting (n=781): time 0.1863/61.28, allocations: 45.51 MB / 14.67 GB, free: 3.168 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002551/61.28, allocations: 319.6 kB / 14.67 GB, free: 2.805 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.731/63.01, allocations: 18.8 MB / 14.68 GB, free: 100.2 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.002442/63.02, allocations: 194 kB / 14.68 GB, free: 100.2 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0164/63.03, allocations: 8.193 MB / 14.69 GB, free: 100 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.005264/63.04, allocations: 2.816 MB / 14.69 GB, free: 99.61 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001906/63.04, allocations: 170.3 kB / 14.69 GB, free: 99.61 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.001175/63.04, allocations: 0.7052 MB / 14.7 GB, free: 99.29 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0161/63.06, allocations: 6.932 MB / 14.7 GB, free: 99.27 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01955/63.08, allocations: 9.721 MB / 14.71 GB, free: 96.71 MB / 1.026 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.1224/63.2, allocations: 30.27 MB / 14.74 GB, free: 96.37 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-05/63.2, allocations: 14.83 kB / 14.74 GB, free: 96.37 MB / 1.026 GB Notification: Performance of matching and sorting (n=1077) (initialization): time 0.04611/63.25, allocations: 17.6 MB / 14.76 GB, free: 95.46 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.005847/63.25, allocations: 30.34 MB / 14.79 GB, free: 64.18 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001966/63.25, allocations: 45.34 kB / 14.79 GB, free: 64.18 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001621/63.25, allocations: 100.7 kB / 14.79 GB, free: 64.18 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01463/63.27, allocations: 2.315 MB / 14.79 GB, free: 64.18 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009286/63.27, allocations: 1.308 MB / 14.79 GB, free: 63.01 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0209/63.29, allocations: 1.888 MB / 14.79 GB, free: 62.95 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002994/63.29, allocations: 353 kB / 14.79 GB, free: 62.95 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/63.29, allocations: 8.125 kB / 14.79 GB, free: 62.95 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04115/63.33, allocations: 16.39 MB / 14.81 GB, free: 62.74 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001844/63.33, allocations: 47.53 kB / 14.81 GB, free: 62.74 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001149/63.33, allocations: 96.09 kB / 14.81 GB, free: 62.74 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01431/63.35, allocations: 2.304 MB / 14.81 GB, free: 62.74 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002136/63.35, allocations: 118.8 kB / 14.81 GB, free: 62.74 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02093/63.37, allocations: 1.84 MB / 14.81 GB, free: 62.7 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002881/63.37, allocations: 349.7 kB / 14.81 GB, free: 62.7 MB / 1.026 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.02566/63.4, allocations: 11.54 MB / 14.83 GB, free: 62.47 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006412/63.4, allocations: 1.333 MB / 14.83 GB, free: 61.79 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04658/63.45, allocations: 16.37 MB / 14.84 GB, free: 61.37 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.415e-05/63.45, allocations: 73.41 kB / 14.84 GB, free: 61.37 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.853e-05/63.45, allocations: 9.344 kB / 14.84 GB, free: 61.36 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03318/63.48, allocations: 13.39 MB / 14.86 GB, free: 60.81 MB / 1.026 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.1147/63.6, allocations: 40.8 MB / 14.9 GB, free: 58.31 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.628e-05/63.6, allocations: 14.86 kB / 14.9 GB, free: 58.31 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01512/63.61, allocations: 2.324 MB / 14.9 GB, free: 58.31 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001259/63.61, allocations: 38.91 kB / 14.9 GB, free: 58.31 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002327/63.62, allocations: 256.5 kB / 14.9 GB, free: 58.31 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006454/63.62, allocations: 1.232 MB / 14.9 GB, free: 57.14 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.474e-05/63.62, allocations: 15.31 kB / 14.9 GB, free: 57.14 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05502/63.67, allocations: 29.64 MB / 14.93 GB, free: 50.9 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01509/63.69, allocations: 3.998 MB / 14.93 GB, free: 50.12 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006491/63.69, allocations: 235.9 kB / 14.93 GB, free: 50.12 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0188/63.71, allocations: 1.626 MB / 14.93 GB, free: 50.09 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002587/63.72, allocations: 497 kB / 14.94 GB, free: 50.07 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002306/63.72, allocations: 269 kB / 14.94 GB, free: 50.07 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.03261/63.75, allocations: 13.54 MB / 14.95 GB, free: 49.72 MB / 1.026 GB Notification: Performance of sort global known variables: time 1.069e-06/63.75, allocations: 1.312 kB / 14.95 GB, free: 49.72 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0403/63.79, allocations: 7.905 MB / 14.96 GB, free: 48.79 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) * 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.01058/63.8, allocations: 5.028 MB / 14.96 GB, free: 45.07 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.04794/63.85, allocations: 23.77 MB / 14.98 GB, free: 29.49 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 2.168e-05/63.85, allocations: 11.03 kB / 14.98 GB, free: 29.48 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0158/63.87, allocations: 7.438 MB / 14.99 GB, free: 23.29 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05394/63.92, allocations: 10.47 MB / 15 GB, free: 16.37 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.179/64.1, allocations: 58.36 MB / 15.06 GB, free: 4.125 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.8493/64.95, allocations: 14.64 MB / 15.07 GB, free: 108.2 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.06051/65.01, allocations: 14.9 MB / 15.09 GB, free: 108.1 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008496/65.02, allocations: 1.009 MB / 15.09 GB, free: 108 MB / 1.057 GB Notification: Performance of SimCode: time 2.547e-06/65.02, allocations: 1.938 kB / 15.09 GB, free: 108 MB / 1.057 GB Notification: Performance of Templates: time 1.653/66.67, allocations: 387.3 MB / 15.47 GB, free: 175 MB / 1.12 GB