Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.00601/0.006015, allocations: 240.9 kB / 15.81 MB, free: 6.281 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.001739/0.001739, allocations: 183.1 kB / 16.69 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.857/3.857, 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 3.983/3.983, allocations: 472.3 MB / 0.9024 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004619/0.000462, allocations: 12 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.163, allocations: 98.72 MB / 1.105 GB, free: 42.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04178/0.2049, allocations: 37.9 MB / 1.142 GB, free: 4.246 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0178/0.2227, allocations: 9.463 MB / 1.151 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00195/0.2247, allocations: 51.62 kB / 1.151 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002781/0.2275, allocations: 0.5583 MB / 1.151 GB, free: 10.23 MB / 0.6198 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. Notification: Performance of NFTyping.typeBindings: time 0.007816/0.2354, allocations: 1.884 MB / 1.153 GB, free: 8.355 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.005313/0.2407, allocations: 1.181 MB / 1.154 GB, free: 7.195 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.006876/0.2476, allocations: 3.923 MB / 1.158 GB, free: 3.258 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001631/0.2493, allocations: 0.7385 MB / 1.159 GB, free: 2.555 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00248/0.2518, allocations: 0.9599 MB / 1.16 GB, free: 1.594 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.5246/0.7764, allocations: 0.7986 MB / 1.161 GB, free: 37.9 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0003074/0.7768, allocations: 37.66 kB / 1.161 GB, free: 37.9 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00235/0.7792, allocations: 497 kB / 1.161 GB, free: 37.9 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000281/0.7795, allocations: 189.3 kB / 1.161 GB, free: 37.9 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0004131/0.7799, allocations: 259.7 kB / 1.162 GB, free: 37.87 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002602/0.7825, allocations: 1.343 MB / 1.163 GB, free: 37.78 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.7826, allocations: 0.7188 kB / 1.163 GB, free: 37.78 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.336e-06/0.7826, allocations: 0 / 1.163 GB, free: 37.78 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.252e-05/0.7826, allocations: 1.031 kB / 1.163 GB, free: 37.78 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.003241/0.7859, allocations: 1.302 MB / 1.164 GB, free: 37.02 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.7859, allocations: 9.281 kB / 1.164 GB, free: 37.02 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004795/0.7864, allocations: 132.6 kB / 1.164 GB, free: 36.96 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004123/0.7906, allocations: 1.037 MB / 1.165 GB, free: 36.65 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000127/0.7907, allocations: 58.03 kB / 1.165 GB, free: 36.65 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003749/0.7911, allocations: 71.88 kB / 1.166 GB, free: 36.65 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003794/0.795, allocations: 0.78 MB / 1.166 GB, free: 36.52 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.383e-05/0.7951, allocations: 5.422 kB / 1.166 GB, free: 36.52 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001928/0.7953, allocations: 31.56 kB / 1.166 GB, free: 36.52 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.924e-05/0.7954, allocations: 22.77 kB / 1.166 GB, free: 36.52 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003101/0.7985, allocations: 0.5842 MB / 1.167 GB, free: 36.52 MB / 0.6198 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.009451/0.808, allocations: 3.513 MB / 1.17 GB, free: 34.72 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001336/0.8094, allocations: 247.8 kB / 1.171 GB, free: 34.7 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008357/0.8102, allocations: 162.3 kB / 1.171 GB, free: 34.69 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008026/0.8111, allocations: 0.6599 MB / 1.171 GB, free: 33.94 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/0.8111, allocations: 38.03 kB / 1.171 GB, free: 33.9 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=28): time 5.01e-06/0.8111, allocations: 0 / 1.171 GB, free: 33.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28): time 0.002878/0.814, allocations: 0.5055 MB / 1.172 GB, free: 33.82 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.8141, allocations: 60.45 kB / 1.172 GB, free: 33.75 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002809/0.8169, allocations: 0.9302 MB / 1.173 GB, free: 33.59 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001213/0.8171, allocations: 33.33 kB / 1.173 GB, free: 33.56 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007415/0.8179, allocations: 0.5004 MB / 1.173 GB, free: 33.37 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002035/0.8181, allocations: 105.4 kB / 1.173 GB, free: 33.3 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.678e-05/0.8182, allocations: 15.06 kB / 1.173 GB, free: 33.3 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001869/0.8184, allocations: 325.4 kB / 1.174 GB, free: 33 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009821/0.8194, allocations: 172.6 kB / 1.174 GB, free: 33 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001164/0.8206, allocations: 356.8 kB / 1.174 GB, free: 32.8 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/0.8217, allocations: 223.2 kB / 1.175 GB, free: 32.8 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.064e-05/0.8217, allocations: 1.891 kB / 1.175 GB, free: 32.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002981/0.8247, allocations: 0.6297 MB / 1.175 GB, free: 32.71 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.761e-05/0.8248, allocations: 9.25 kB / 1.175 GB, free: 32.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.273e-05/0.8248, allocations: 8.766 kB / 1.175 GB, free: 32.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.613e-05/0.8249, allocations: 11.22 kB / 1.175 GB, free: 32.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/0.8261, allocations: 139.4 kB / 1.175 GB, free: 32.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.493e-05/0.8262, allocations: 11.94 kB / 1.175 GB, free: 32.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002057/0.8283, allocations: 115.8 kB / 1.175 GB, free: 32.67 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/0.8284, allocations: 31.06 kB / 1.175 GB, free: 32.67 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009031/0.8293, allocations: 268.3 kB / 1.176 GB, free: 32.56 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002998/0.8296, allocations: 98.75 kB / 1.176 GB, free: 32.51 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002248/0.8319, allocations: 485.2 kB / 1.176 GB, free: 32.45 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001652/0.8336, allocations: 450.3 kB / 1.177 GB, free: 32.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/0.8336, allocations: 0 / 1.177 GB, free: 32.29 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000946/0.8346, allocations: 234 kB / 1.177 GB, free: 32.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003097/0.8349, allocations: 9.672 kB / 1.177 GB, free: 32.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00148/0.8364, allocations: 47.42 kB / 1.177 GB, free: 32.14 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/0.8366, allocations: 24.98 kB / 1.177 GB, free: 32.14 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002591/0.8392, allocations: 0.494 MB / 1.177 GB, free: 32.02 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004075/0.8433, allocations: 0.8197 MB / 1.178 GB, free: 47.76 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008636/0.8442, allocations: 173 kB / 1.178 GB, free: 47.76 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.002058/0.8463, allocations: 0.6362 MB / 1.179 GB, free: 47.65 MB / 0.6355 GB Notification: Performance of Backend: time 1.212e-06/0.8463, allocations: 0 / 1.179 GB, free: 47.65 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.004142/0.8505, allocations: 0.6666 MB / 1.18 GB, free: 47.55 MB / 0.6355 GB Notification: Performance of SimCode: time 0.01165/0.8622, allocations: 2.805 MB / 1.182 GB, free: 46.23 MB / 0.6355 GB Notification: Performance of Templates: time 0.0636/0.9258, allocations: 19.56 MB / 1.202 GB, free: 45.25 MB / 0.6355 GB