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.01016/0.01016, allocations: 222.4 kB / 15.17 MB, free: 5.93 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.001056/0.001056, allocations: 177.8 kB / 16.06 MB, free: 5.828 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.541/3.541, allocations: 389.1 MB / 405.9 MB, free: 11.72 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.764/3.764, allocations: 472.3 MB / 0.9018 GB, free: 9.145 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004903/0.0004904, allocations: 16 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1264, allocations: 98.73 MB / 1.104 GB, free: 42.06 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.03535/0.1618, allocations: 37.91 MB / 1.141 GB, free: 4.16 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01512/0.177, allocations: 9.466 MB / 1.15 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001509/0.1785, allocations: 43.69 kB / 1.15 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001775/0.1803, allocations: 0.5661 MB / 1.151 GB, free: 10.14 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.005822/0.1862, allocations: 1.886 MB / 1.153 GB, free: 8.266 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.004279/0.1905, allocations: 1.186 MB / 1.154 GB, free: 7.102 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.00535/0.1958, allocations: 3.909 MB / 1.158 GB, free: 3.176 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001247/0.1971, allocations: 0.7374 MB / 1.158 GB, free: 2.473 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00175/0.1988, allocations: 0.9577 MB / 1.159 GB, free: 1.512 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4468/0.6457, allocations: 0.8058 MB / 1.16 GB, free: 37.93 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0002227/0.6459, allocations: 36.09 kB / 1.16 GB, free: 37.93 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001839/0.6478, allocations: 496.4 kB / 1.161 GB, free: 37.93 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002295/0.648, allocations: 185.7 kB / 1.161 GB, free: 37.93 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002873/0.6483, allocations: 260.5 kB / 1.161 GB, free: 37.9 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001876/0.6502, allocations: 1.343 MB / 1.162 GB, free: 37.81 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.6502, allocations: 0 / 1.162 GB, free: 37.81 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.901e-06/0.6503, allocations: 4.844 kB / 1.162 GB, free: 37.81 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.577e-05/0.6503, allocations: 0 / 1.162 GB, free: 37.81 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.002296/0.6526, allocations: 1.303 MB / 1.164 GB, free: 37.05 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.6526, allocations: 9.5 kB / 1.164 GB, free: 37.05 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004059/0.653, allocations: 135.5 kB / 1.164 GB, free: 36.99 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001962/0.655, allocations: 1.032 MB / 1.165 GB, free: 36.69 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.855e-05/0.6551, allocations: 54.44 kB / 1.165 GB, free: 36.69 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001517/0.6553, allocations: 72.59 kB / 1.165 GB, free: 36.69 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001726/0.657, allocations: 0.7823 MB / 1.166 GB, free: 36.56 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.17e-05/0.6571, allocations: 6.078 kB / 1.166 GB, free: 36.56 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.896e-05/0.6572, allocations: 27.06 kB / 1.166 GB, free: 36.56 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-05/0.6572, allocations: 28.17 kB / 1.166 GB, free: 36.56 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001493/0.6587, allocations: 0.5809 MB / 1.166 GB, free: 36.55 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.004819/0.6635, allocations: 3.519 MB / 1.17 GB, free: 34.76 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006906/0.6643, allocations: 246.1 kB / 1.17 GB, free: 34.73 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003984/0.6647, allocations: 161.9 kB / 1.17 GB, free: 34.73 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004215/0.6651, allocations: 0.656 MB / 1.171 GB, free: 33.98 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.6652, allocations: 38.52 kB / 1.171 GB, free: 33.94 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=28): time 2.995e-06/0.6652, allocations: 0 / 1.171 GB, free: 33.94 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28): time 0.001413/0.6666, allocations: 0.5061 MB / 1.171 GB, free: 33.85 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/0.6666, allocations: 62.17 kB / 1.171 GB, free: 33.79 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001542/0.6682, allocations: 0.9277 MB / 1.172 GB, free: 33.63 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.078e-05/0.6682, allocations: 32.73 kB / 1.172 GB, free: 33.6 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004282/0.6687, allocations: 0.4989 MB / 1.173 GB, free: 33.4 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/0.6688, allocations: 108.2 kB / 1.173 GB, free: 33.34 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.062e-05/0.6689, allocations: 10.41 kB / 1.173 GB, free: 33.34 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.669, allocations: 329.3 kB / 1.173 GB, free: 33.03 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004638/0.6695, allocations: 168 kB / 1.173 GB, free: 33.03 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005641/0.6701, allocations: 356 kB / 1.174 GB, free: 32.84 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005471/0.6706, allocations: 222.8 kB / 1.174 GB, free: 32.84 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.281e-06/0.6707, allocations: 5.688 kB / 1.174 GB, free: 32.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001445/0.6721, allocations: 0.6313 MB / 1.175 GB, free: 32.75 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.6722, allocations: 6.312 kB / 1.175 GB, free: 32.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.6722, allocations: 5.188 kB / 1.175 GB, free: 32.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.576e-05/0.6722, allocations: 17.62 kB / 1.175 GB, free: 32.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000551/0.6728, allocations: 130 kB / 1.175 GB, free: 32.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.059e-05/0.6728, allocations: 10.61 kB / 1.175 GB, free: 32.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009803/0.6738, allocations: 123.2 kB / 1.175 GB, free: 32.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.921e-05/0.6739, allocations: 28.11 kB / 1.175 GB, free: 32.71 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.0005626/0.6745, allocations: 266.5 kB / 1.175 GB, free: 32.59 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001849/0.6747, allocations: 99.52 kB / 1.175 GB, free: 32.54 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001296/0.676, allocations: 485.4 kB / 1.176 GB, free: 32.48 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-05/0.676, allocations: 5.344 kB / 1.176 GB, free: 32.48 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.942e-06/0.676, allocations: 3.953 kB / 1.176 GB, free: 32.48 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009234/0.677, allocations: 447.9 kB / 1.176 GB, free: 32.32 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002479/0.6795, allocations: 1.27 MB / 1.177 GB, free: 32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.136e-06/0.6795, allocations: 3.281 kB / 1.177 GB, free: 32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003926/0.6799, allocations: 76.38 kB / 1.177 GB, free: 32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.065e-06/0.6799, allocations: 7.359 kB / 1.177 GB, free: 31.99 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.161e-05/0.68, allocations: 14.3 kB / 1.177 GB, free: 31.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.431e-06/0.68, allocations: 4.656 kB / 1.177 GB, free: 31.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.432e-06/0.68, allocations: 0 / 1.177 GB, free: 31.99 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001526/0.6815, allocations: 0.7331 MB / 1.178 GB, free: 31.79 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000389/0.6819, allocations: 238.5 kB / 1.178 GB, free: 31.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001571/0.6821, allocations: 9.766 kB / 1.178 GB, free: 31.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007098/0.6828, allocations: 55.3 kB / 1.178 GB, free: 31.63 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.628e-05/0.6829, allocations: 29.75 kB / 1.179 GB, free: 31.63 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.825e-05/0.683, allocations: 14 kB / 1.179 GB, free: 31.63 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001076/0.6841, allocations: 0.6397 MB / 1.179 GB, free: 31.52 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.64e-07/0.6841, allocations: 0 / 1.179 GB, free: 31.52 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.00117/0.6852, allocations: 323.8 kB / 1.179 GB, free: 31.48 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.00128/0.6865, allocations: 367.8 kB / 1.18 GB, free: 47.37 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001044/0.6876, allocations: 421.9 kB / 1.18 GB, free: 47.36 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.6876, allocations: 1.188 kB / 1.18 GB, free: 47.36 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000511/0.6881, allocations: 181.4 kB / 1.18 GB, free: 47.36 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003131/0.6913, allocations: 0.5983 MB / 1.181 GB, free: 47.36 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002901/0.6942, allocations: 1.909 MB / 1.183 GB, free: 46.48 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007939/0.695, allocations: 1.053 MB / 1.184 GB, free: 45.78 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0009472/0.696, allocations: 184.9 kB / 1.184 GB, free: 45.77 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002143/0.6962, allocations: 82.78 kB / 1.184 GB, free: 45.76 MB / 0.6355 GB Notification: Performance of SimCode: time 1.508e-06/0.6962, allocations: 3.469 kB / 1.184 GB, free: 45.76 MB / 0.6355 GB Notification: Performance of Templates: time 0.04281/0.739, allocations: 19.35 MB / 1.203 GB, free: 44.83 MB / 0.6355 GB