Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.002/4.002, allocations: 432.7 MB / 445.3 MB, free: 15.76 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.288e-05/4.301e-05, allocations: 5.703 kB / 0.5383 GB, free: 10.32 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1929/0.193, allocations: 98.72 MB / 0.6347 GB, free: 1.934 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.81/6.003, allocations: 2.209 GB / 2.843 GB, free: 109.7 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004555/6.003, allocations: 89.39 kB / 2.843 GB, free: 109.6 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 13.42/19.43, allocations: 2.709 GB / 5.553 GB, free: 44.6 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.231e-06/19.43, allocations: 0 / 5.553 GB, free: 44.6 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0003293/19.43, allocations: 69.73 kB / 5.553 GB, free: 44.53 MB / 0.9167 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.01149/19.44, allocations: 3.58 MB / 5.556 GB, free: 40.86 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/19.44, allocations: 12.03 kB / 5.556 GB, free: 40.84 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01159/19.45, allocations: 1.198 MB / 5.557 GB, free: 39.64 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007269/19.46, allocations: 2.294 MB / 5.56 GB, free: 37.3 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001526/19.46, allocations: 436.2 kB / 5.56 GB, free: 36.87 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008627/19.46, allocations: 224 kB / 5.56 GB, free: 36.65 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00651/19.47, allocations: 2.833 MB / 5.563 GB, free: 33.66 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.913e-05/19.47, allocations: 11.89 kB / 5.563 GB, free: 33.64 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004195/19.47, allocations: 95.98 kB / 5.563 GB, free: 33.55 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001045/19.47, allocations: 88.06 kB / 5.563 GB, free: 33.46 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00628/19.47, allocations: 2.692 MB / 5.566 GB, free: 30.75 MB / 0.9167 GB Warning: The model contains alias variables with conflicting start and/or 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.02669/19.5, allocations: 14.2 MB / 5.58 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00339/19.5, allocations: 1.443 MB / 5.581 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001134/19.51, allocations: 0.5862 MB / 5.582 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006096/19.51, allocations: 308.2 kB / 5.582 GB, free: 13.03 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/19.51, allocations: 43.56 kB / 5.582 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001565/19.51, allocations: 164.8 kB / 5.582 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=110): time 5.605e-06/19.51, allocations: 0 / 5.582 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of matching and sorting (n=110): time 0.003173/19.51, allocations: 1.326 MB / 5.583 GB, free: 11.48 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.071e-05/19.51, allocations: 60.41 kB / 5.583 GB, free: 11.41 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003303/19.51, allocations: 1.787 MB / 5.585 GB, free: 9.605 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003249/19.51, allocations: 53.7 kB / 5.585 GB, free: 9.547 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009627/19.52, allocations: 1.38 MB / 5.587 GB, free: 8.148 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000389/19.52, allocations: 406.4 kB / 5.587 GB, free: 7.746 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001829/19.52, allocations: 44 kB / 5.587 GB, free: 7.703 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001371/19.52, allocations: 394.2 kB / 5.587 GB, free: 7.312 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001572/19.52, allocations: 0.7072 MB / 5.588 GB, free: 6.602 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002167/19.52, allocations: 1.708 MB / 5.59 GB, free: 4.41 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002047/19.52, allocations: 1.13 MB / 5.591 GB, free: 3.25 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-05/19.52, allocations: 12 kB / 5.591 GB, free: 3.238 MB / 0.9167 GB Notification: Performance of matching and sorting (n=276) (initialization): time 0.005885/19.53, allocations: 2.739 MB / 5.594 GB, free: 464 kB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.006676/19.53, allocations: 12.66 MB / 5.606 GB, free: 2.824 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.519e-05/19.54, allocations: 32 kB / 5.606 GB, free: 2.793 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.01e-05/19.54, allocations: 44 kB / 5.606 GB, free: 2.75 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004294/19.54, allocations: 0.6357 MB / 5.607 GB, free: 2.113 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001983/19.54, allocations: 2.418 MB / 5.609 GB, free: 15.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005408/19.55, allocations: 475.2 kB / 5.609 GB, free: 15.14 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006572/19.55, allocations: 137.3 kB / 5.61 GB, free: 15 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/19.55, allocations: 4 kB / 5.61 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006299/19.55, allocations: 2.541 MB / 5.612 GB, free: 12.42 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.913e-05/19.55, allocations: 32 kB / 5.612 GB, free: 12.39 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.403e-05/19.55, allocations: 48 kB / 5.612 GB, free: 12.34 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003789/19.56, allocations: 0.6128 MB / 5.613 GB, free: 11.73 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.347e-05/19.56, allocations: 67.72 kB / 5.613 GB, free: 11.66 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004573/19.56, allocations: 379.3 kB / 5.613 GB, free: 11.29 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005695/19.56, allocations: 132 kB / 5.613 GB, free: 11.16 MB / 0.948 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 () * 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.0007175/19.56, allocations: 260 kB / 5.614 GB, free: 10.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006251/19.56, allocations: 233.1 kB / 5.614 GB, free: 10.67 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003922/19.57, allocations: 1.45 MB / 5.615 GB, free: 9.211 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-05/19.57, allocations: 12 kB / 5.615 GB, free: 9.199 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.879e-06/19.57, allocations: 0 / 5.615 GB, free: 9.199 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.802e-05/19.57, allocations: 3.984 kB / 5.615 GB, free: 9.195 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01514/19.58, allocations: 3.854 MB / 5.619 GB, free: 5.203 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.328e-05/19.58, allocations: 4.75 kB / 5.619 GB, free: 5.199 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003901/19.59, allocations: 307.5 kB / 5.619 GB, free: 4.898 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-05/19.59, allocations: 11.95 kB / 5.619 GB, free: 4.887 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003263/19.59, allocations: 35.69 kB / 5.619 GB, free: 4.855 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002443/19.59, allocations: 2.352 MB / 5.622 GB, free: 2.41 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-05/19.59, allocations: 11.94 kB / 5.622 GB, free: 2.398 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007039/19.6, allocations: 2.077 MB / 5.624 GB, free: 84 kB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.7174/20.32, allocations: 473 kB / 5.624 GB, free: 89.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001032/20.32, allocations: 23.47 kB / 5.624 GB, free: 89.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003587/20.32, allocations: 252.4 kB / 5.624 GB, free: 89.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003289/20.32, allocations: 79.03 kB / 5.624 GB, free: 89.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002399/20.32, allocations: 57.09 kB / 5.624 GB, free: 89.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00351/20.32, allocations: 1.306 MB / 5.626 GB, free: 89.14 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.167e-06/20.32, allocations: 0 / 5.626 GB, free: 89.14 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01001/20.33, allocations: 1.981 MB / 5.628 GB, free: 89.14 MB / 0.948 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 () * 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.0156/20.35, allocations: 7.635 MB / 5.635 GB, free: 84.94 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.008874/20.36, allocations: 3.669 MB / 5.639 GB, free: 84.17 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.464e-05/20.36, allocations: 1.828 kB / 5.639 GB, free: 84.17 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001835/20.36, allocations: 0.626 MB / 5.639 GB, free: 84.17 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005779/20.37, allocations: 0.8189 MB / 5.64 GB, free: 84.14 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008754/20.38, allocations: 3.124 MB / 5.643 GB, free: 83.17 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002138/20.38, allocations: 1.728 MB / 5.645 GB, free: 82.43 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.007251/20.38, allocations: 0.9137 MB / 5.646 GB, free: 82.41 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00076/20.39, allocations: 138.3 kB / 5.646 GB, free: 82.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.976e-06/20.39, allocations: 0 / 5.646 GB, free: 82.4 MB / 0.948 GB Notification: Performance of Templates: time 0.271/20.66, allocations: 119.8 MB / 5.763 GB, free: 77.07 MB / 0.948 GB