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.ReverseFlowMassExchanger.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.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.005497/0.005502, allocations: 236.6 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.001519/0.00152, allocations: 182.6 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.909/3.909, allocations: 389.1 MB / 406.5 MB, free: 11.88 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.935/3.935, allocations: 472.3 MB / 0.9024 GB, free: 9.219 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004866/0.0004867, allocations: 15.98 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1648, allocations: 98.73 MB / 1.105 GB, free: 42.04 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.9691/1.134, allocations: 290.6 MB / 1.388 GB, free: 5.633 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.05504/1.189, allocations: 29.3 MB / 1.417 GB, free: 8.281 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003801/1.193, allocations: 91.38 kB / 1.417 GB, free: 8.191 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.006939/1.2, allocations: 1.487 MB / 1.419 GB, free: 6.695 MB / 0.7761 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Sources.mo:826:36-827:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Sources.mo:824:36-825:54: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/Modelica 3.2.2/Fluid/Sources.mo:826:36-827:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Sources.mo:824:36-825:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Sources.mo:826:36-827:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Sources.mo:824:36-825:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Sources.mo:826:36-827:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Sources.mo:824:36-825:54: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.02003/1.22, allocations: 5.159 MB / 1.424 GB, free: 1.516 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.01127/1.231, allocations: 2.575 MB / 1.426 GB, free: 14.97 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.01438/1.246, allocations: 8.362 MB / 1.434 GB, free: 6.59 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005299/1.251, allocations: 2.141 MB / 1.436 GB, free: 4.422 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01111/1.262, allocations: 3.372 MB / 1.44 GB, free: 1.035 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006562/1.269, allocations: 2.409 MB / 1.442 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.001087/1.27, allocations: 132 kB / 1.442 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008136/1.278, allocations: 1.972 MB / 1.444 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.002092/1.28, allocations: 0.8993 MB / 1.445 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.001626/1.282, allocations: 0.6485 MB / 1.446 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.007876/1.29, allocations: 3.684 MB / 1.449 GB, free: 7.262 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/1.29, allocations: 0 / 1.449 GB, free: 7.262 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.756e-06/1.29, allocations: 0 / 1.449 GB, free: 7.262 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0001168/1.29, allocations: 0 / 1.449 GB, free: 7.262 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 544 * Number of variables: 544 Notification: Performance of Generate backend data structure: time 0.01059/1.301, allocations: 3.094 MB / 1.452 GB, free: 4.066 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/1.301, allocations: 8.031 kB / 1.452 GB, free: 4.059 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01792/1.319, allocations: 1.585 MB / 1.454 GB, free: 2.469 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006941/1.326, allocations: 1.961 MB / 1.456 GB, free: 468 kB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002514/1.328, allocations: 439.9 kB / 1.456 GB, free: 24 kB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007612/1.329, allocations: 224 kB / 1.456 GB, free: 15.8 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01174/1.341, allocations: 3.129 MB / 1.459 GB, free: 12.53 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.314e-05/1.341, allocations: 3.938 kB / 1.459 GB, free: 12.53 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004886/1.341, allocations: 92 kB / 1.459 GB, free: 12.44 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001574/1.341, allocations: 92.06 kB / 1.459 GB, free: 12.34 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01346/1.355, allocations: 3.267 MB / 1.463 GB, free: 9.059 MB / 0.823 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.567/1.922, allocations: 14.28 MB / 1.477 GB, free: 277.7 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007753/1.93, allocations: 1.695 MB / 1.478 GB, free: 277.7 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003032/1.933, allocations: 0.708 MB / 1.479 GB, free: 277.7 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009058/1.934, allocations: 309.2 kB / 1.479 GB, free: 277.4 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.069e-05/1.934, allocations: 43.95 kB / 1.479 GB, free: 277.4 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001579/1.935, allocations: 158.3 kB / 1.479 GB, free: 277.4 MB / 0.823 GB Notification: Performance of pre-optimization done (n=110): time 5.25e-06/1.935, allocations: 0 / 1.479 GB, free: 277.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=110): time 0.009922/1.945, allocations: 2.195 MB / 1.482 GB, free: 277.2 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/1.945, allocations: 65.44 kB / 1.482 GB, free: 277.2 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00598/1.951, allocations: 2.182 MB / 1.484 GB, free: 276.4 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004328/1.952, allocations: 54.44 kB / 1.484 GB, free: 276.4 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001429/1.953, allocations: 1.385 MB / 1.485 GB, free: 275.3 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005543/1.954, allocations: 397.9 kB / 1.486 GB, free: 275 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002349/1.954, allocations: 50.72 kB / 1.486 GB, free: 275 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001566/1.954, allocations: 392.7 kB / 1.486 GB, free: 274.7 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004575/1.959, allocations: 0.9533 MB / 1.487 GB, free: 274.4 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005205/1.964, allocations: 1.967 MB / 1.489 GB, free: 272.8 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005182/1.969, allocations: 1.359 MB / 1.49 GB, free: 272.3 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.346e-05/1.969, allocations: 11.53 kB / 1.49 GB, free: 272.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=276) (initialization): time 0.01206/1.982, allocations: 3.241 MB / 1.493 GB, free: 271.1 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006832/1.982, allocations: 1.152 MB / 1.494 GB, free: 269.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.262e-05/1.982, allocations: 30.66 kB / 1.495 GB, free: 269.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.336e-05/1.982, allocations: 47.84 kB / 1.495 GB, free: 269.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005794/1.988, allocations: 0.6732 MB / 1.495 GB, free: 269.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001257/1.99, allocations: 2.409 MB / 1.498 GB, free: 267.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006372/1.996, allocations: 458.4 kB / 1.498 GB, free: 267.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004498/1.996, allocations: 128.2 kB / 1.498 GB, free: 267.1 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/1.996, allocations: 3.25 kB / 1.498 GB, free: 267.1 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01066/2.007, allocations: 3.056 MB / 1.501 GB, free: 266 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.042e-05/2.007, allocations: 27.41 kB / 1.501 GB, free: 266 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.364e-05/2.007, allocations: 47.53 kB / 1.501 GB, free: 266 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00475/2.012, allocations: 0.6184 MB / 1.502 GB, free: 265.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.8e-05/2.012, allocations: 61.27 kB / 1.502 GB, free: 265.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005217/2.017, allocations: 374 kB / 1.502 GB, free: 265.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004016/2.018, allocations: 123.9 kB / 1.502 GB, free: 265.8 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 137 * Number of states: 0 () * Number of discrete variables: 8 (masExcFor.i1_w,masExcFor.i2_w,masExcRev.i1_w,masExcRev.i2_w,senMas3.i_x,senMas4.i_x,senMas1.i_x,senMas2.i_x) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (274): * Single equations (assignments): 264 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001714/2.019, allocations: 0.6857 MB / 1.503 GB, free: 265.4 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006127/2.02, allocations: 234.9 kB / 1.503 GB, free: 265.2 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006385/2.027, allocations: 1.717 MB / 1.505 GB, free: 264.6 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.901e-05/2.027, allocations: 6.516 kB / 1.505 GB, free: 264.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/2.027, allocations: 0 / 1.505 GB, free: 264.6 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001468/2.028, allocations: 468.1 kB / 1.505 GB, free: 264.3 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005046/2.029, allocations: 23.27 kB / 1.505 GB, free: 264.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003854/2.032, allocations: 241.8 kB / 1.506 GB, free: 264.3 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001806/2.033, allocations: 61.8 kB / 1.506 GB, free: 264.3 MB / 0.823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007518/2.04, allocations: 1.666 MB / 1.507 GB, free: 263.7 MB / 0.823 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.009127/2.049, allocations: 2.652 MB / 1.51 GB, free: 262.7 MB / 0.823 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00259/2.052, allocations: 0.6811 MB / 1.511 GB, free: 262.4 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.00367/2.056, allocations: 1.429 MB / 1.512 GB, free: 261.9 MB / 0.823 GB Notification: Performance of Backend: time 5.82e-07/2.056, allocations: 0.5625 kB / 1.512 GB, free: 261.9 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01578/2.071, allocations: 4.419 MB / 1.516 GB, free: 260.2 MB / 0.823 GB Notification: Performance of SimCode: time 0.01285/2.084, allocations: 5.439 MB / 1.522 GB, free: 257.2 MB / 0.823 GB Notification: Performance of Templates: time 0.1241/2.208, allocations: 50.02 MB / 1.57 GB, free: 225.4 MB / 0.823 GB