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.00619/0.006196, allocations: 232.5 kB / 15.82 MB, free: 6.293 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.001729/0.001729, allocations: 173.2 kB / 16.7 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.515/3.515, allocations: 389.1 MB / 406.5 MB, free: 6.801 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.391/4.391, allocations: 472.3 MB / 0.9024 GB, free: 10.81 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004957/0.0004959, allocations: 12 kB / 1.008 GB, free: 6.727 MB / 0.6511 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2035/0.204, allocations: 98.71 MB / 1.105 GB, free: 3.859 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.206/7.41, allocations: 2.198 GB / 3.303 GB, free: 230.3 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000333/7.411, allocations: 106.7 kB / 3.303 GB, free: 230.3 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 14.74/22.15, allocations: 2.704 GB / 6.007 GB, free: 75.6 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.535e-06/22.15, allocations: 0 / 6.007 GB, free: 75.6 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0003472/22.15, allocations: 67.77 kB / 6.007 GB, free: 75.59 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.01683/22.17, allocations: 3.985 MB / 6.011 GB, free: 73.92 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/22.17, allocations: 17.19 kB / 6.011 GB, free: 73.92 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01716/22.18, allocations: 1.196 MB / 6.012 GB, free: 73.75 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00928/22.19, allocations: 2.312 MB / 6.015 GB, free: 73.25 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002537/22.2, allocations: 434.8 kB / 6.015 GB, free: 73.25 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001196/22.2, allocations: 229.8 kB / 6.015 GB, free: 73.25 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01101/22.21, allocations: 3.16 MB / 6.018 GB, free: 72.86 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.806e-05/22.21, allocations: 7.312 kB / 6.018 GB, free: 72.86 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000467/22.21, allocations: 91.81 kB / 6.018 GB, free: 72.86 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000131/22.21, allocations: 93.22 kB / 6.018 GB, free: 72.85 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01398/22.22, allocations: 3.283 MB / 6.022 GB, free: 72.82 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.037/22.26, allocations: 14.21 MB / 6.036 GB, free: 64.95 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007577/22.27, allocations: 1.7 MB / 6.037 GB, free: 64.93 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003196/22.27, allocations: 0.7142 MB / 6.038 GB, free: 64.92 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008479/22.27, allocations: 312.5 kB / 6.038 GB, free: 64.63 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.871e-05/22.27, allocations: 50.72 kB / 6.038 GB, free: 64.59 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002238/22.27, allocations: 167.4 kB / 6.038 GB, free: 64.52 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=110): time 7.314e-06/22.27, allocations: 0 / 6.038 GB, free: 64.52 MB / 0.9323 GB Notification: Performance of matching and sorting (n=110): time 0.01048/22.29, allocations: 2.188 MB / 6.041 GB, free: 64.34 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/22.29, allocations: 66.56 kB / 6.041 GB, free: 64.28 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006188/22.29, allocations: 2.18 MB / 6.043 GB, free: 64.02 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0005227/22.29, allocations: 55.73 kB / 6.043 GB, free: 63.98 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001457/22.29, allocations: 1.374 MB / 6.044 GB, free: 63.36 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006954/22.29, allocations: 400.3 kB / 6.045 GB, free: 63.12 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002642/22.29, allocations: 50.47 kB / 6.045 GB, free: 63.12 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.00017/22.29, allocations: 387.3 kB / 6.045 GB, free: 62.82 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004943/22.3, allocations: 0.9586 MB / 6.046 GB, free: 62.81 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005991/22.31, allocations: 1.97 MB / 6.048 GB, free: 61.56 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005561/22.31, allocations: 1.361 MB / 6.049 GB, free: 61.36 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.887e-05/22.31, allocations: 8.656 kB / 6.049 GB, free: 61.36 MB / 0.9323 GB Notification: Performance of matching and sorting (n=276) (initialization): time 0.01429/22.33, allocations: 3.256 MB / 6.052 GB, free: 61 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.001027/22.33, allocations: 1.153 MB / 6.053 GB, free: 59.64 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-05/22.33, allocations: 32.5 kB / 6.053 GB, free: 59.64 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001024/22.33, allocations: 47.44 kB / 6.054 GB, free: 59.64 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006516/22.33, allocations: 0.668 MB / 6.054 GB, free: 59.64 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00142/22.34, allocations: 2.413 MB / 6.057 GB, free: 57.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007573/22.34, allocations: 473.8 kB / 6.057 GB, free: 57.27 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008356/22.34, allocations: 130 kB / 6.057 GB, free: 57.27 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/22.34, allocations: 4.375 kB / 6.057 GB, free: 57.27 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0129/22.36, allocations: 3.044 MB / 6.06 GB, free: 57.06 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001415/22.36, allocations: 30 kB / 6.06 GB, free: 57.06 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.25e-05/22.36, allocations: 48 kB / 6.06 GB, free: 57.06 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005199/22.36, allocations: 0.6205 MB / 6.061 GB, free: 57.06 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.864e-05/22.36, allocations: 59.94 kB / 6.061 GB, free: 57.06 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006012/22.37, allocations: 382.5 kB / 6.061 GB, free: 57.04 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007688/22.37, allocations: 127 kB / 6.061 GB, free: 57.04 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.002444/22.37, allocations: 0.6822 MB / 6.062 GB, free: 56.82 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008518/22.37, allocations: 238.8 kB / 6.062 GB, free: 56.7 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007096/22.38, allocations: 1.706 MB / 6.064 GB, free: 56.61 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.737e-05/22.38, allocations: 13.44 kB / 6.064 GB, free: 56.61 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.978e-06/22.38, allocations: 3.844 kB / 6.064 GB, free: 56.61 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.907e-05/22.38, allocations: 8.891 kB / 6.064 GB, free: 56.61 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01519/22.39, allocations: 4.131 MB / 6.068 GB, free: 56.05 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.636e-05/22.4, allocations: 6.516 kB / 6.068 GB, free: 56.05 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003307/22.4, allocations: 308.6 kB / 6.068 GB, free: 56.05 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-05/22.4, allocations: 10.84 kB / 6.068 GB, free: 56.05 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002102/22.4, allocations: 31.3 kB / 6.068 GB, free: 56.05 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001068/22.4, allocations: 2.358 MB / 6.071 GB, free: 53.71 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.385e-05/22.4, allocations: 11.62 kB / 6.071 GB, free: 53.71 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007582/22.41, allocations: 1.881 MB / 6.072 GB, free: 53.22 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002216/22.41, allocations: 479.8 kB / 6.073 GB, free: 53 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00102/22.41, allocations: 25.92 kB / 6.073 GB, free: 53 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004924/22.42, allocations: 253.2 kB / 6.073 GB, free: 52.99 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003853/22.42, allocations: 82.45 kB / 6.073 GB, free: 52.98 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002571/22.42, allocations: 57.31 kB / 6.073 GB, free: 52.98 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.00471/22.42, allocations: 1.433 MB / 6.075 GB, free: 52.84 MB / 0.9323 GB Notification: Performance of sort global known variables: time 9.41e-07/22.42, allocations: 3.531 kB / 6.075 GB, free: 52.84 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0102/22.43, allocations: 1.978 MB / 6.077 GB, free: 52.69 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.01614/22.45, allocations: 7.627 MB / 6.084 GB, free: 48.52 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.01685/22.46, allocations: 4.276 MB / 6.088 GB, free: 47.75 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.457e-05/22.46, allocations: 0 / 6.088 GB, free: 47.75 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.003371/22.47, allocations: 0.7717 MB / 6.089 GB, free: 47.75 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007474/22.48, allocations: 0.8355 MB / 6.09 GB, free: 47.73 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01235/22.49, allocations: 4.991 MB / 6.095 GB, free: 45.38 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001697/22.49, allocations: 1.721 MB / 6.096 GB, free: 44.64 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.006695/22.5, allocations: 0.7778 MB / 6.097 GB, free: 44.62 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001083/22.5, allocations: 167.4 kB / 6.097 GB, free: 44.61 MB / 0.9323 GB Notification: Performance of SimCode: time 1.393e-06/22.5, allocations: 0 / 6.097 GB, free: 44.61 MB / 0.9323 GB Notification: Performance of Templates: time 0.2622/22.76, allocations: 101.9 MB / 6.197 GB, free: 16.88 MB / 0.9323 GB