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: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Interfaces_Examples_ReverseFlowMassExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01207/0.01207, allocations: 106.2 kB / 15.05 MB, free: 5.934 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.001352/0.001351, allocations: 186.3 kB / 15.95 MB, free: 5.898 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 2.187/2.187, allocations: 194.6 MB / 211.3 MB, free: 11.05 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.267/2.267, allocations: 236.2 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004999/0.0004998, allocations: 12 kB / 0.587 GB, free: 2.066 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7182/0.7188, allocations: 98.71 MB / 0.6834 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.198/7.916, allocations: 2.198 GB / 2.882 GB, free: 193.7 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003289/7.917, allocations: 96.52 kB / 2.882 GB, free: 193.7 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 15.23/23.14, allocations: 2.712 GB / 5.594 GB, free: 67.89 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.986e-06/23.14, allocations: 3 kB / 5.594 GB, free: 67.89 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0004207/23.15, allocations: 74.95 kB / 5.594 GB, free: 67.88 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.0188/23.16, allocations: 3.982 MB / 5.598 GB, free: 65.83 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/23.16, allocations: 8.656 kB / 5.598 GB, free: 65.83 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001573/23.17, allocations: 304.5 kB / 5.598 GB, free: 65.78 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01781/23.18, allocations: 1.205 MB / 5.599 GB, free: 65.61 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009636/23.19, allocations: 2.305 MB / 5.601 GB, free: 65.05 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002589/23.2, allocations: 436.8 kB / 5.602 GB, free: 65.04 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001285/23.2, allocations: 225.8 kB / 5.602 GB, free: 65.04 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01199/23.21, allocations: 3.142 MB / 5.605 GB, free: 64.64 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-05/23.21, allocations: 0 / 5.605 GB, free: 64.64 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006042/23.21, allocations: 94.06 kB / 5.605 GB, free: 64.64 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001398/23.21, allocations: 90.34 kB / 5.605 GB, free: 64.64 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01432/23.22, allocations: 3.293 MB / 5.608 GB, free: 64.58 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.03784/23.26, allocations: 14.21 MB / 5.622 GB, free: 56.59 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007957/23.27, allocations: 1.726 MB / 5.624 GB, free: 56.55 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009153/23.27, allocations: 313.8 kB / 5.624 GB, free: 56.27 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.249e-05/23.27, allocations: 46.31 kB / 5.624 GB, free: 56.23 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002128/23.27, allocations: 161.6 kB / 5.624 GB, free: 56.16 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=110): time 5.461e-06/23.27, allocations: 3.938 kB / 5.624 GB, free: 56.16 MB / 0.9323 GB Notification: Performance of matching and sorting (n=110): time 0.01025/23.28, allocations: 2.194 MB / 5.627 GB, free: 55.97 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.977e-05/23.28, allocations: 64.16 kB / 5.627 GB, free: 55.9 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005743/23.29, allocations: 1.913 MB / 5.629 GB, free: 55.66 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0005349/23.29, allocations: 57.36 kB / 5.629 GB, free: 55.62 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001478/23.29, allocations: 1.383 MB / 5.63 GB, free: 55 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006557/23.29, allocations: 395.5 kB / 5.63 GB, free: 54.76 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003589/23.29, allocations: 45.12 kB / 5.63 GB, free: 54.76 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001662/23.29, allocations: 394.5 kB / 5.631 GB, free: 54.45 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004642/23.3, allocations: 0.9506 MB / 5.632 GB, free: 54.45 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005672/23.3, allocations: 1.965 MB / 5.634 GB, free: 53.18 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005287/23.31, allocations: 1.364 MB / 5.635 GB, free: 52.96 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.812e-05/23.31, allocations: 7.875 kB / 5.635 GB, free: 52.96 MB / 0.9323 GB Notification: Performance of matching and sorting (n=276) (initialization): time 0.01336/23.32, allocations: 3.249 MB / 5.638 GB, free: 52.41 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.003134/23.33, allocations: 12.65 MB / 5.65 GB, free: 39.15 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001105/23.33, allocations: 29.44 kB / 5.651 GB, free: 39.15 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.156e-05/23.33, allocations: 47.19 kB / 5.651 GB, free: 39.15 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005818/23.33, allocations: 0.6428 MB / 5.651 GB, free: 39.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001335/23.33, allocations: 2.412 MB / 5.654 GB, free: 36.73 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007189/23.34, allocations: 474.5 kB / 5.654 GB, free: 36.67 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008093/23.34, allocations: 131.2 kB / 5.654 GB, free: 36.67 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/23.34, allocations: 3.594 kB / 5.654 GB, free: 36.67 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01198/23.35, allocations: 3.048 MB / 5.657 GB, free: 36.21 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001147/23.35, allocations: 29 kB / 5.657 GB, free: 36.21 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.45e-05/23.35, allocations: 47.19 kB / 5.657 GB, free: 36.21 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00505/23.36, allocations: 0.6169 MB / 5.658 GB, free: 36.16 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-05/23.36, allocations: 66.8 kB / 5.658 GB, free: 36.14 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006002/23.36, allocations: 381.8 kB / 5.658 GB, free: 36.09 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007804/23.37, allocations: 124.8 kB / 5.658 GB, free: 36.09 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.002492/23.37, allocations: 0.6817 MB / 5.659 GB, free: 35.84 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007765/23.37, allocations: 237.3 kB / 5.659 GB, free: 35.72 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007462/23.38, allocations: 1.715 MB / 5.661 GB, free: 35.59 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.791e-05/23.38, allocations: 11 kB / 5.661 GB, free: 35.59 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/23.38, allocations: 0 / 5.661 GB, free: 35.59 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.239e-05/23.38, allocations: 3.609 kB / 5.661 GB, free: 35.59 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01544/23.39, allocations: 4.135 MB / 5.665 GB, free: 34.79 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.436e-05/23.39, allocations: 9.812 kB / 5.665 GB, free: 34.79 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003239/23.39, allocations: 304.4 kB / 5.665 GB, free: 34.76 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.999e-05/23.39, allocations: 15.41 kB / 5.665 GB, free: 34.76 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000429/23.4, allocations: 27.41 kB / 5.665 GB, free: 34.75 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001521/23.4, allocations: 2.358 MB / 5.668 GB, free: 32.37 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.799e-05/23.4, allocations: 9.469 kB / 5.668 GB, free: 32.37 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.012/23.41, allocations: 2.346 MB / 5.67 GB, free: 30.82 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002849/23.41, allocations: 479.2 kB / 5.67 GB, free: 30.51 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001281/23.41, allocations: 27.16 kB / 5.67 GB, free: 30.49 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007515/23.42, allocations: 259.5 kB / 5.671 GB, free: 30.45 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005524/23.42, allocations: 78.8 kB / 5.671 GB, free: 30.43 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004133/23.42, allocations: 52.08 kB / 5.671 GB, free: 30.42 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.006967/23.43, allocations: 1.437 MB / 5.672 GB, free: 29.89 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.273e-06/23.43, allocations: 0 / 5.672 GB, free: 29.89 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.01541/23.44, allocations: 1.984 MB / 5.674 GB, free: 29.3 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.03151/23.48, allocations: 11.91 MB / 5.686 GB, free: 20.94 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.02545/23.5, allocations: 4.232 MB / 5.69 GB, free: 17.47 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.534e-05/23.5, allocations: 8.125 kB / 5.69 GB, free: 17.46 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.003589/23.51, allocations: 0.7629 MB / 5.691 GB, free: 16.81 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007451/23.51, allocations: 0.8229 MB / 5.691 GB, free: 16.2 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02525/23.54, allocations: 27.39 MB / 5.718 GB, free: 4.488 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002341/23.54, allocations: 1.722 MB / 5.72 GB, free: 3.113 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00706/23.55, allocations: 0.7691 MB / 5.721 GB, free: 2.555 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004372/23.55, allocations: 0.9671 MB / 5.722 GB, free: 1.668 MB / 0.948 GB Notification: Performance of SimCode: time 1.413e-06/23.55, allocations: 0 / 5.722 GB, free: 1.668 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.238/24.79, allocations: 141.3 MB / 5.86 GB, free: 89.77 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001818/24.79, allocations: 271 kB / 5.86 GB, free: 89.41 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.64/34.43, allocations: 0 / 5.86 GB, free: 89.41 MB / 0.9636 GB