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.008727/0.008727, allocations: 110.2 kB / 15.05 MB, free: 5.965 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.001072/0.001072, allocations: 183.8 kB / 15.94 MB, free: 5.93 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.905/1.905, allocations: 194.6 MB / 211.3 MB, free: 11.04 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.319/2.319, allocations: 236.2 MB / 492.6 MB, free: 11.29 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004539/0.0004541, allocations: 12 kB / 0.5869 GB, free: 2.172 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5769/0.5774, allocations: 98.71 MB / 0.6833 GB, free: 16.66 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.691/6.269, allocations: 2.198 GB / 2.882 GB, free: 275.5 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002609/6.269, allocations: 99.8 kB / 2.882 GB, free: 275.4 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 13.15/19.42, allocations: 2.712 GB / 5.594 GB, free: 69.58 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.645e-06/19.42, allocations: 2.938 kB / 5.594 GB, free: 69.58 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002949/19.42, allocations: 72.81 kB / 5.594 GB, free: 69.57 MB / 0.9323 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.01258/19.43, allocations: 3.983 MB / 5.598 GB, free: 67.71 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/19.43, allocations: 9.5 kB / 5.598 GB, free: 67.71 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01114/19.44, allocations: 1.2 MB / 5.599 GB, free: 67.54 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00713/19.45, allocations: 2.306 MB / 5.601 GB, free: 67.03 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001701/19.45, allocations: 434.8 kB / 5.601 GB, free: 67.02 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00086/19.45, allocations: 227.4 kB / 5.602 GB, free: 67.02 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008348/19.46, allocations: 3.149 MB / 5.605 GB, free: 66.63 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.956e-05/19.46, allocations: 5.109 kB / 5.605 GB, free: 66.63 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004191/19.46, allocations: 95.25 kB / 5.605 GB, free: 66.63 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001027/19.46, allocations: 90.33 kB / 5.605 GB, free: 66.62 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0103/19.47, allocations: 3.284 MB / 5.608 GB, free: 66.59 MB / 0.9323 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.02574/19.49, allocations: 14.19 MB / 5.622 GB, free: 58.72 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005502/19.5, allocations: 1.734 MB / 5.624 GB, free: 58.68 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006615/19.5, allocations: 314.6 kB / 5.624 GB, free: 58.4 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/19.5, allocations: 46.22 kB / 5.624 GB, free: 58.36 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001569/19.5, allocations: 168.2 kB / 5.624 GB, free: 58.29 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=110): time 5.854e-06/19.5, allocations: 0 / 5.624 GB, free: 58.29 MB / 0.9323 GB Notification: Performance of matching and sorting (n=110): time 0.006924/19.51, allocations: 2.189 MB / 5.626 GB, free: 58.11 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/19.51, allocations: 63.47 kB / 5.626 GB, free: 58.04 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004223/19.51, allocations: 1.918 MB / 5.628 GB, free: 57.8 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0003324/19.51, allocations: 55.33 kB / 5.628 GB, free: 57.77 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009887/19.52, allocations: 1.373 MB / 5.63 GB, free: 57.15 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003763/19.52, allocations: 403.9 kB / 5.63 GB, free: 56.9 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001823/19.52, allocations: 52.47 kB / 5.63 GB, free: 56.9 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001352/19.52, allocations: 384.2 kB / 5.63 GB, free: 56.6 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002978/19.52, allocations: 0.9546 MB / 5.631 GB, free: 56.59 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003678/19.52, allocations: 1.965 MB / 5.633 GB, free: 55.34 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003758/19.53, allocations: 1.366 MB / 5.635 GB, free: 55.14 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-05/19.53, allocations: 12.23 kB / 5.635 GB, free: 55.14 MB / 0.9323 GB Notification: Performance of matching and sorting (n=276) (initialization): time 0.0151/19.54, allocations: 3.247 MB / 5.638 GB, free: 54.78 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.002645/19.54, allocations: 12.65 MB / 5.65 GB, free: 41.59 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-05/19.54, allocations: 33.84 kB / 5.65 GB, free: 41.59 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.187e-05/19.54, allocations: 47.12 kB / 5.65 GB, free: 41.59 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003763/19.55, allocations: 0.6467 MB / 5.651 GB, free: 41.55 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00118/19.55, allocations: 2.41 MB / 5.653 GB, free: 39.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005317/19.55, allocations: 477.5 kB / 5.654 GB, free: 39.16 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006504/19.56, allocations: 126.3 kB / 5.654 GB, free: 39.16 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/19.56, allocations: 3.875 kB / 5.654 GB, free: 39.16 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008708/19.56, allocations: 3.054 MB / 5.657 GB, free: 38.76 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.605e-05/19.56, allocations: 30.38 kB / 5.657 GB, free: 38.76 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.305e-05/19.56, allocations: 50 kB / 5.657 GB, free: 38.76 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003397/19.57, allocations: 0.6073 MB / 5.657 GB, free: 38.73 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.516e-05/19.57, allocations: 66.47 kB / 5.657 GB, free: 38.71 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004091/19.57, allocations: 383.8 kB / 5.658 GB, free: 38.69 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004327/19.57, allocations: 131.2 kB / 5.658 GB, free: 38.69 MB / 0.9323 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.001852/19.57, allocations: 0.6787 MB / 5.659 GB, free: 38.44 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005923/19.58, allocations: 237.7 kB / 5.659 GB, free: 38.32 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005121/19.58, allocations: 1.716 MB / 5.661 GB, free: 38.21 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-05/19.58, allocations: 10 kB / 5.661 GB, free: 38.21 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.17e-06/19.58, allocations: 0 / 5.661 GB, free: 38.21 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.422e-05/19.58, allocations: 3 kB / 5.661 GB, free: 38.21 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0106/19.59, allocations: 4.134 MB / 5.665 GB, free: 37.62 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.217e-05/19.59, allocations: 10.72 kB / 5.665 GB, free: 37.62 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002226/19.59, allocations: 301 kB / 5.665 GB, free: 37.61 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-05/19.59, allocations: 10.53 kB / 5.665 GB, free: 37.61 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001149/19.59, allocations: 32 kB / 5.665 GB, free: 37.61 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008584/19.59, allocations: 2.355 MB / 5.667 GB, free: 35.26 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.443e-06/19.59, allocations: 15.66 kB / 5.667 GB, free: 35.25 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004677/19.6, allocations: 2.343 MB / 5.67 GB, free: 34.17 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001385/19.6, allocations: 475 kB / 5.67 GB, free: 33.96 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004629/19.6, allocations: 30.58 kB / 5.67 GB, free: 33.95 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002798/19.6, allocations: 252.7 kB / 5.67 GB, free: 33.95 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000188/19.6, allocations: 83.94 kB / 5.67 GB, free: 33.93 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001817/19.6, allocations: 60.62 kB / 5.67 GB, free: 33.93 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.003209/19.61, allocations: 1.433 MB / 5.672 GB, free: 33.79 MB / 0.9323 GB Notification: Performance of sort global known variables: time 9.47e-07/19.61, allocations: 0 / 5.672 GB, free: 33.79 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.008771/19.62, allocations: 1.984 MB / 5.674 GB, free: 33.63 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 simulation (110): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.01989/19.64, allocations: 7.625 MB / 5.681 GB, free: 29.09 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.01073/19.65, allocations: 4.233 MB / 5.685 GB, free: 28.05 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.18e-05/19.65, allocations: 9.25 kB / 5.685 GB, free: 28.05 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.002544/19.65, allocations: 0.761 MB / 5.686 GB, free: 28 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005205/19.65, allocations: 0.8209 MB / 5.687 GB, free: 27.93 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009247/19.66, allocations: 4.97 MB / 5.692 GB, free: 25.47 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001473/19.67, allocations: 1.72 MB / 5.693 GB, free: 24.71 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.005326/19.67, allocations: 0.7788 MB / 5.694 GB, free: 24.53 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007513/19.67, allocations: 163.7 kB / 5.694 GB, free: 24.52 MB / 0.9323 GB Notification: Performance of SimCode: time 1.543e-06/19.67, allocations: 0 / 5.694 GB, free: 24.52 MB / 0.9323 GB Notification: Performance of Templates: time 0.955/20.63, allocations: 101.9 MB / 5.794 GB, free: 111.2 MB / 0.9636 GB