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.004247/0.004251, allocations: 237.8 kB / 15.8 MB, free: 6.316 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.001206/0.001206, allocations: 179.1 kB / 16.68 MB, free: 5.473 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 4.052/4.052, allocations: 389.1 MB / 406.5 MB, free: 11.85 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 4.119/4.119, allocations: 472.3 MB / 0.9024 GB, free: 9.25 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006713/0.0006716, allocations: 12 kB / 1.008 GB, free: 138.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.1733, allocations: 98.73 MB / 1.105 GB, free: 42 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl): time 1.103/1.277, allocations: 358.2 MB / 1.454 GB, free: 1.707 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.7431/2.02, allocations: 25.97 MB / 1.48 GB, free: 88.61 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005669/2.026, allocations: 116.2 kB / 1.48 GB, free: 88.61 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.007577/2.033, allocations: 1.443 MB / 1.481 GB, free: 88.6 MB / 0.823 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.02007/2.053, allocations: 4.974 MB / 1.486 GB, free: 88.54 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01726/2.071, allocations: 3.674 MB / 1.49 GB, free: 88.48 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.1049/2.176, allocations: 61.75 MB / 1.55 GB, free: 85.04 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.06732/2.243, allocations: 22.4 MB / 1.572 GB, free: 70.17 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03838/2.281, allocations: 12.99 MB / 1.585 GB, free: 59.21 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02994/2.311, allocations: 13.5 MB / 1.598 GB, free: 48.14 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.005714/2.317, allocations: 0.7401 MB / 1.599 GB, free: 47.4 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01761/2.335, allocations: 2.205 MB / 1.601 GB, free: 45.54 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.01024/2.345, allocations: 4.474 MB / 1.605 GB, free: 42.11 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.01193/2.357, allocations: 4.707 MB / 1.61 GB, free: 39.5 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.05178/2.409, allocations: 39.62 MB / 1.648 GB, free: 4.973 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 1.01e-05/2.409, allocations: 4 kB / 1.648 GB, free: 4.969 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.665e-06/2.409, allocations: 1.859 kB / 1.648 GB, free: 4.969 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.001121/2.41, allocations: 0 / 1.648 GB, free: 4.969 MB / 0.823 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.0793/2.489, allocations: 20.62 MB / 1.668 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.314e-05/2.49, allocations: 8.562 kB / 1.668 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03638/2.526, allocations: 4.279 MB / 1.673 GB, free: 13.85 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0908/2.617, allocations: 29.64 MB / 1.702 GB, free: 10.46 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00164/2.618, allocations: 1.027 MB / 1.703 GB, free: 9.879 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007969/2.626, allocations: 1.396 MB / 1.704 GB, free: 8.934 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09721/2.724, allocations: 27.98 MB / 1.731 GB, free: 0.7852 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009018/2.725, allocations: 47.67 kB / 1.731 GB, free: 0.7383 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006984/2.732, allocations: 0.5602 MB / 1.732 GB, free: 192 kB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00117/2.733, allocations: 0.618 MB / 1.732 GB, free: 15.57 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08804/2.821, allocations: 26.23 MB / 1.758 GB, free: 5.32 MB / 0.9167 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 1.573/4.394, allocations: 100.3 MB / 1.856 GB, free: 343.6 MB / 0.9793 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04588/4.44, allocations: 12.97 MB / 1.869 GB, free: 343.2 MB / 0.9793 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03678/4.476, allocations: 9.859 MB / 1.878 GB, free: 340.6 MB / 0.9793 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002457/4.479, allocations: 1.012 MB / 1.879 GB, free: 339.6 MB / 0.9793 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02186/4.501, allocations: 7.95 MB / 1.887 GB, free: 337.3 MB / 0.9793 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01347/4.514, allocations: 1.417 MB / 1.889 GB, free: 337.2 MB / 0.9793 GB Notification: Performance of pre-optimization done (n=776): time 2.533e-05/4.514, allocations: 2.078 kB / 1.889 GB, free: 337.2 MB / 0.9793 GB Notification: Performance of matching and sorting (n=778): time 0.1136/4.628, allocations: 37.89 MB / 1.926 GB, free: 324.6 MB / 0.9793 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00013/4.628, allocations: 215.4 kB / 1.926 GB, free: 324.4 MB / 0.9793 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04329/4.671, allocations: 17.01 MB / 1.942 GB, free: 316.9 MB / 0.9793 GB Notification: Performance of collectPreVariables (initialization): time 0.00262/4.674, allocations: 193.3 kB / 1.943 GB, free: 316.7 MB / 0.9793 GB Notification: Performance of collectInitialEqns (initialization): time 0.01495/4.689, allocations: 8.193 MB / 1.951 GB, free: 309.6 MB / 0.9793 GB Notification: Performance of collectInitialBindings (initialization): time 0.00513/4.694, allocations: 2.81 MB / 1.953 GB, free: 306.8 MB / 0.9793 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00227/4.697, allocations: 168 kB / 1.953 GB, free: 306.7 MB / 0.9793 GB Notification: Performance of setup shared object (initialization): time 0.0009892/4.698, allocations: 0.7153 MB / 1.954 GB, free: 306 MB / 0.9793 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0171/4.715, allocations: 6.933 MB / 1.961 GB, free: 299 MB / 0.9793 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02167/4.737, allocations: 9.743 MB / 1.97 GB, free: 288.4 MB / 0.9793 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.1674/4.904, allocations: 28.2 MB / 1.998 GB, free: 260.6 MB / 0.9793 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.236e-05/4.904, allocations: 16 kB / 1.998 GB, free: 260.6 MB / 0.9793 GB Notification: Performance of matching and sorting (n=1080) (initialization): time 0.05847/4.963, allocations: 17.63 MB / 2.015 GB, free: 242.9 MB / 0.9793 GB Notification: Performance of prepare postOptimizeDAE: time 0.001116/4.964, allocations: 1.615 MB / 2.017 GB, free: 240.7 MB / 0.9793 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.072e-05/4.964, allocations: 48 kB / 2.017 GB, free: 240.7 MB / 0.9793 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000147/4.964, allocations: 96 kB / 2.017 GB, free: 240.6 MB / 0.9793 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01984/4.984, allocations: 2.282 MB / 2.019 GB, free: 238.3 MB / 0.9793 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009439/4.985, allocations: 1.303 MB / 2.02 GB, free: 237 MB / 0.9793 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02383/5.009, allocations: 1.692 MB / 2.022 GB, free: 235.4 MB / 0.9793 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002627/5.011, allocations: 348.5 kB / 2.022 GB, free: 235 MB / 0.9793 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/5.011, allocations: 5.719 kB / 2.022 GB, free: 235 MB / 0.9793 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04387/5.055, allocations: 16.43 MB / 2.038 GB, free: 218.6 MB / 0.9793 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001672/5.056, allocations: 48 kB / 2.038 GB, free: 218.6 MB / 0.9793 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001061/5.056, allocations: 96 kB / 2.039 GB, free: 218.5 MB / 0.9793 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01938/5.075, allocations: 2.255 MB / 2.041 GB, free: 216.2 MB / 0.9793 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002179/5.075, allocations: 119.6 kB / 2.041 GB, free: 216.1 MB / 0.9793 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02318/5.099, allocations: 1.65 MB / 2.043 GB, free: 214.5 MB / 0.9793 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002635/5.101, allocations: 343.9 kB / 2.043 GB, free: 214.2 MB / 0.9793 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: 218 * 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 (1074): * Single equations (assignments): 1071 * 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.02499/5.126, allocations: 11.54 MB / 2.054 GB, free: 202.6 MB / 0.9793 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005701/5.132, allocations: 1.328 MB / 2.055 GB, free: 201.3 MB / 0.9793 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04839/5.18, allocations: 16.48 MB / 2.072 GB, free: 184.8 MB / 0.9793 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03545/5.216, allocations: 13.43 MB / 2.085 GB, free: 171.3 MB / 0.9793 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.924e-05/5.216, allocations: 0 / 2.085 GB, free: 171.3 MB / 0.9793 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01421/5.23, allocations: 3.722 MB / 2.088 GB, free: 167.5 MB / 0.9793 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006443/5.237, allocations: 219.9 kB / 2.088 GB, free: 167.3 MB / 0.9793 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02087/5.258, allocations: 1.425 MB / 2.09 GB, free: 166 MB / 0.9793 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002658/5.26, allocations: 449.5 kB / 2.09 GB, free: 165.5 MB / 0.9793 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.05228/5.313, allocations: 16.72 MB / 2.107 GB, free: 148.9 MB / 0.9793 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.06185/5.375, allocations: 26.5 MB / 2.132 GB, free: 122.3 MB / 0.9793 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01583/5.39, allocations: 7.377 MB / 2.14 GB, free: 114.9 MB / 0.9793 GB Notification: Performance of sorting global known variables: time 0.03026/5.421, allocations: 12.45 MB / 2.152 GB, free: 102.5 MB / 0.9793 GB Notification: Performance of Backend: time 1.293e-06/5.421, allocations: 1.281 kB / 2.152 GB, free: 102.5 MB / 0.9793 GB Notification: Performance of simCode: created initialization part: time 0.05857/5.479, allocations: 18.51 MB / 2.17 GB, free: 84.2 MB / 0.9793 GB Notification: Performance of SimCode: time 0.1577/5.637, allocations: 56.16 MB / 2.225 GB, free: 28.39 MB / 0.9793 GB Notification: Performance of Templates: time 2.217/7.854, allocations: 380.7 MB / 2.597 GB, free: 68.88 MB / 0.9794 GB