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.009373/0.009378, allocations: 106.1 kB / 15.06 MB, free: 5.559 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.001158/0.001157, allocations: 181.8 kB / 15.95 MB, free: 5.523 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.831/1.831, allocations: 194.6 MB / 211.3 MB, free: 11.25 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.324/2.324, allocations: 236.2 MB / 492.6 MB, free: 11.29 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005192/0.0005195, allocations: 12 kB / 0.5869 GB, free: 2.191 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6709/0.6715, allocations: 98.71 MB / 0.6833 GB, free: 16.71 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.9177/1.589, allocations: 264.9 MB / 0.942 GB, free: 8.062 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0395/1.629, allocations: 26.96 MB / 0.9684 GB, free: 7.758 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003789/1.633, allocations: 83.56 kB / 0.9685 GB, free: 7.758 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.005834/1.638, allocations: 1.697 MB / 0.9701 GB, free: 7.754 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0165/1.655, allocations: 4.729 MB / 0.9747 GB, free: 7.691 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.009811/1.665, allocations: 2.642 MB / 0.9773 GB, free: 7.602 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.01035/1.675, allocations: 4.034 MB / 0.9812 GB, free: 7.582 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007159/1.682, allocations: 2.232 MB / 0.9834 GB, free: 23.31 MB / 0.7449 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00918/1.692, allocations: 3.346 MB / 0.9867 GB, free: 23.29 MB / 0.7449 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003971/1.696, allocations: 1.725 MB / 0.9884 GB, free: 23.29 MB / 0.7449 GB Notification: Performance of NFPackage.collectConstants: time 0.0008596/1.697, allocations: 136.3 kB / 0.9885 GB, free: 23.28 MB / 0.7449 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007403/1.704, allocations: 2.199 MB / 0.9907 GB, free: 23.28 MB / 0.7449 GB Notification: Performance of NFScalarize.scalarize: time 0.001639/1.706, allocations: 0.8337 MB / 0.9915 GB, free: 23.28 MB / 0.7449 GB Notification: Performance of NFVerifyModel.verify: time 0.001311/1.707, allocations: 0.6348 MB / 0.9921 GB, free: 23.25 MB / 0.7449 GB Notification: Performance of NFConvertDAE.convert: time 0.006311/1.713, allocations: 3.659 MB / 0.9957 GB, free: 22.15 MB / 0.7449 GB Notification: Performance of FrontEnd - DAE generated: time 3.749e-06/1.713, allocations: 0 / 0.9957 GB, free: 22.15 MB / 0.7449 GB Notification: Performance of FrontEnd: time 2.645e-06/1.713, allocations: 0 / 0.9957 GB, free: 22.15 MB / 0.7449 GB Notification: Performance of Transformations before backend: time 7.594e-05/1.713, allocations: 4 kB / 0.9957 GB, free: 22.14 MB / 0.7449 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.007674/1.721, allocations: 3.094 MB / 0.9987 GB, free: 20.16 MB / 0.7449 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/1.721, allocations: 8.281 kB / 0.9987 GB, free: 20.16 MB / 0.7449 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01139/1.733, allocations: 1.584 MB / 1 GB, free: 19.59 MB / 0.7449 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00518/1.738, allocations: 1.966 MB / 1.002 GB, free: 18.74 MB / 0.7449 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001681/1.74, allocations: 436.2 kB / 1.003 GB, free: 18.64 MB / 0.7449 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007185/1.74, allocations: 219.5 kB / 1.003 GB, free: 18.64 MB / 0.7449 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008882/1.749, allocations: 3.125 MB / 1.006 GB, free: 17.63 MB / 0.7449 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.426e-05/1.749, allocations: 5.594 kB / 1.006 GB, free: 17.63 MB / 0.7449 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003739/1.75, allocations: 92.39 kB / 1.006 GB, free: 17.63 MB / 0.7449 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001106/1.75, allocations: 90.47 kB / 1.006 GB, free: 17.62 MB / 0.7449 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0105/1.76, allocations: 3.265 MB / 1.009 GB, free: 17 MB / 0.7449 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.03008/1.79, allocations: 14.29 MB / 1.023 GB, free: 7.02 MB / 0.7449 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005355/1.796, allocations: 1.704 MB / 1.025 GB, free: 6.719 MB / 0.7449 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005265/1.796, allocations: 127.8 kB / 1.025 GB, free: 6.609 MB / 0.7449 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.965e-05/1.796, allocations: 49.47 kB / 1.025 GB, free: 6.566 MB / 0.7449 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001413/1.798, allocations: 161.8 kB / 1.025 GB, free: 6.477 MB / 0.7449 GB Notification: Performance of pre-optimization done (n=110): time 6.006e-06/1.798, allocations: 0 / 1.025 GB, free: 6.477 MB / 0.7449 GB Notification: Performance of matching and sorting (n=110): time 0.007261/1.805, allocations: 2.2 MB / 1.027 GB, free: 5.996 MB / 0.7449 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.364e-05/1.805, allocations: 61.5 kB / 1.027 GB, free: 5.934 MB / 0.7449 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004695/1.81, allocations: 2.168 MB / 1.029 GB, free: 5.316 MB / 0.7449 GB Notification: Performance of collectPreVariables (initialization): time 0.0003447/1.81, allocations: 57.48 kB / 1.03 GB, free: 5.285 MB / 0.7449 GB Notification: Performance of collectInitialEqns (initialization): time 0.001353/1.812, allocations: 1.378 MB / 1.031 GB, free: 4.527 MB / 0.7449 GB Notification: Performance of collectInitialBindings (initialization): time 0.000589/1.812, allocations: 400.7 kB / 1.031 GB, free: 4.25 MB / 0.7449 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002165/1.813, allocations: 51.06 kB / 1.031 GB, free: 4.246 MB / 0.7449 GB Notification: Performance of setup shared object (initialization): time 0.0002508/1.813, allocations: 387.7 kB / 1.032 GB, free: 3.914 MB / 0.7449 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003366/1.816, allocations: 0.9565 MB / 1.033 GB, free: 3.723 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004487/1.821, allocations: 1.952 MB / 1.035 GB, free: 2.25 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003822/1.825, allocations: 1.362 MB / 1.036 GB, free: 1.867 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.955e-05/1.825, allocations: 12.66 kB / 1.036 GB, free: 1.863 MB / 0.7449 GB Notification: Performance of matching and sorting (n=276) (initialization): time 0.009955/1.835, allocations: 3.239 MB / 1.039 GB, free: 1.035 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 0.007215/1.842, allocations: 12.65 MB / 1.051 GB, free: 3.648 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000196/1.842, allocations: 32 kB / 1.051 GB, free: 3.617 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001496/1.842, allocations: 48 kB / 1.051 GB, free: 3.57 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006902/1.849, allocations: 0.6744 MB / 1.052 GB, free: 2.953 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002753/1.852, allocations: 2.414 MB / 1.054 GB, free: 0.4922 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006597/1.859, allocations: 458.7 kB / 1.055 GB, free: 80 kB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006044/1.859, allocations: 126 kB / 1.055 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/1.859, allocations: 5.406 kB / 1.055 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008949/1.868, allocations: 3.054 MB / 1.058 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000103/1.869, allocations: 28 kB / 1.058 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.914e-05/1.869, allocations: 52.12 kB / 1.058 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00342/1.872, allocations: 0.6161 MB / 1.059 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.507e-05/1.872, allocations: 64.72 kB / 1.059 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004143/1.876, allocations: 371.2 kB / 1.059 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005228/1.877, allocations: 128 kB / 1.059 GB, free: 12.66 MB / 0.7761 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.001824/1.879, allocations: 0.68 MB / 1.06 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006513/1.879, allocations: 237.1 kB / 1.06 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005366/1.885, allocations: 1.71 MB / 1.062 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.01e-05/1.885, allocations: 12 kB / 1.062 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.989e-06/1.885, allocations: 4 kB / 1.062 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-05/1.885, allocations: 3.984 kB / 1.062 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01181/1.897, allocations: 4.129 MB / 1.066 GB, free: 7.703 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.802e-05/1.897, allocations: 8.75 kB / 1.066 GB, free: 7.695 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002149/1.899, allocations: 312.9 kB / 1.066 GB, free: 7.41 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-05/1.899, allocations: 8 kB / 1.066 GB, free: 7.402 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000159/1.899, allocations: 33.17 kB / 1.066 GB, free: 7.383 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001678/1.901, allocations: 2.355 MB / 1.068 GB, free: 4.965 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.811e-05/1.901, allocations: 10.81 kB / 1.068 GB, free: 4.957 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005744/1.907, allocations: 2.348 MB / 1.071 GB, free: 2.785 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001569/1.908, allocations: 483.2 kB / 1.071 GB, free: 2.387 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004308/1.909, allocations: 25.73 kB / 1.071 GB, free: 2.375 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002923/1.912, allocations: 250.9 kB / 1.072 GB, free: 2.145 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002518/1.912, allocations: 77.23 kB / 1.072 GB, free: 2.082 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002114/1.912, allocations: 60.16 kB / 1.072 GB, free: 2.035 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.003488/1.916, allocations: 1.43 MB / 1.073 GB, free: 0.9648 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.092e-06/1.916, allocations: 0 / 1.073 GB, free: 0.9648 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.005705/1.921, allocations: 1.352 MB / 1.074 GB, free: 15.7 MB / 0.7917 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.0009786/1.922, allocations: 378.1 kB / 1.075 GB, free: 15.39 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.01221/1.935, allocations: 4.259 MB / 1.079 GB, free: 12 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.244e-05/1.935, allocations: 4 kB / 1.079 GB, free: 11.99 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.002605/1.937, allocations: 0.7673 MB / 1.08 GB, free: 11.43 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004678/1.942, allocations: 0.8305 MB / 1.08 GB, free: 10.77 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01049/1.953, allocations: 4.965 MB / 1.085 GB, free: 6.148 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001999/1.955, allocations: 1.726 MB / 1.087 GB, free: 4.445 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.005566/1.96, allocations: 0.7724 MB / 1.088 GB, free: 3.668 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008014/1.961, allocations: 167 kB / 1.088 GB, free: 3.508 MB / 0.7917 GB Notification: Performance of SimCode: time 1.584e-06/1.961, allocations: 2.625 kB / 1.088 GB, free: 3.508 MB / 0.7917 GB Notification: Performance of Templates: time 0.09388/2.055, allocations: 35.76 MB / 1.123 GB, free: 360 kB / 0.823 GB