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.01533/0.01533, allocations: 105.7 kB / 15.06 MB, free: 6.027 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.001771/0.001772, allocations: 182 kB / 15.95 MB, free: 5.953 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.072/2.072, allocations: 194.6 MB / 211.3 MB, free: 11.03 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.342/2.342, allocations: 236.1 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004691/0.0004692, allocations: 8 kB / 0.587 GB, free: 2.09 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6915/0.692, allocations: 98.71 MB / 0.6834 GB, free: 16.91 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 1.215/1.907, allocations: 264.9 MB / 0.9421 GB, free: 8.047 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.05796/1.965, allocations: 26.97 MB / 0.9685 GB, free: 7.758 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004806/1.97, allocations: 86.78 kB / 0.9686 GB, free: 7.758 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.007815/1.978, allocations: 1.696 MB / 0.9702 GB, free: 7.754 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0224/2, allocations: 4.729 MB / 0.9748 GB, free: 7.691 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.01278/2.013, allocations: 2.635 MB / 0.9774 GB, free: 7.605 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.01114/2.024, allocations: 4.033 MB / 0.9813 GB, free: 7.59 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006833/2.031, allocations: 2.233 MB / 0.9835 GB, free: 23.31 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01233/2.044, allocations: 3.343 MB / 0.9868 GB, free: 23.3 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005905/2.05, allocations: 1.726 MB / 0.9885 GB, free: 23.29 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.001562/2.051, allocations: 134.5 kB / 0.9886 GB, free: 23.29 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0108/2.062, allocations: 2.205 MB / 0.9908 GB, free: 23.29 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.002606/2.065, allocations: 0.83 MB / 0.9916 GB, free: 23.29 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.00252/2.067, allocations: 0.6374 MB / 0.9922 GB, free: 23.25 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.009162/2.077, allocations: 3.658 MB / 0.9958 GB, free: 22.14 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/2.077, allocations: 0 / 0.9958 GB, free: 22.14 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.037e-06/2.077, allocations: 0 / 0.9958 GB, free: 22.14 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0002018/2.077, allocations: 2.875 kB / 0.9958 GB, free: 22.14 MB / 0.7448 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.01315/2.09, allocations: 3.094 MB / 0.9988 GB, free: 20.14 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/2.09, allocations: 12 kB / 0.9988 GB, free: 20.14 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001195/2.091, allocations: 300.2 kB / 0.9991 GB, free: 20.05 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01841/2.11, allocations: 1.588 MB / 1.001 GB, free: 19.48 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007455/2.117, allocations: 1.964 MB / 1.003 GB, free: 18.62 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002552/2.12, allocations: 435.8 kB / 1.003 GB, free: 18.53 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001057/2.121, allocations: 228.2 kB / 1.003 GB, free: 18.53 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01305/2.134, allocations: 3.119 MB / 1.006 GB, free: 17.52 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-05/2.134, allocations: 5.156 kB / 1.006 GB, free: 17.52 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000879/2.135, allocations: 95.66 kB / 1.006 GB, free: 17.52 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001665/2.135, allocations: 95.59 kB / 1.006 GB, free: 17.5 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01482/2.15, allocations: 3.259 MB / 1.01 GB, free: 16.89 MB / 0.7448 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.04102/2.191, allocations: 14.29 MB / 1.024 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008096/2.199, allocations: 1.706 MB / 1.025 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007648/2.2, allocations: 134.9 kB / 1.025 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.462e-05/2.2, allocations: 44.94 kB / 1.025 GB, free: 6.453 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002037/2.202, allocations: 160.5 kB / 1.026 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=110): time 1.192e-05/2.202, allocations: 0 / 1.026 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of matching and sorting (n=110): time 0.01161/2.214, allocations: 2.198 MB / 1.028 GB, free: 5.883 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.341e-05/2.214, allocations: 62.78 kB / 1.028 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006356/2.22, allocations: 2.173 MB / 1.03 GB, free: 5.199 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0004753/2.221, allocations: 55.8 kB / 1.03 GB, free: 5.168 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.001748/2.223, allocations: 1.375 MB / 1.031 GB, free: 4.41 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007472/2.224, allocations: 399.9 kB / 1.032 GB, free: 4.133 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003515/2.224, allocations: 47 kB / 1.032 GB, free: 4.133 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002683/2.224, allocations: 391.7 kB / 1.032 GB, free: 3.801 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005028/2.229, allocations: 0.9587 MB / 1.033 GB, free: 3.609 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006149/2.236, allocations: 1.949 MB / 1.035 GB, free: 2.133 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005837/2.241, allocations: 1.357 MB / 1.036 GB, free: 1.758 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.719e-05/2.242, allocations: 8.844 kB / 1.036 GB, free: 1.758 MB / 0.7448 GB Notification: Performance of matching and sorting (n=276) (initialization): time 0.0139/2.255, allocations: 3.248 MB / 1.039 GB, free: 0.8242 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.005367/2.261, allocations: 12.65 MB / 1.052 GB, free: 3.434 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001452/2.261, allocations: 28 kB / 1.052 GB, free: 3.406 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.786e-05/2.261, allocations: 48 kB / 1.052 GB, free: 3.359 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006419/2.268, allocations: 0.6652 MB / 1.052 GB, free: 2.75 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001908/2.27, allocations: 2.413 MB / 1.055 GB, free: 292 kB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007118/2.277, allocations: 467 kB / 1.055 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007738/2.278, allocations: 125.8 kB / 1.055 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/2.278, allocations: 5.406 kB / 1.055 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01332/2.291, allocations: 3.048 MB / 1.058 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001126/2.291, allocations: 28 kB / 1.058 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.002e-05/2.291, allocations: 48 kB / 1.058 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005407/2.297, allocations: 0.6185 MB / 1.059 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001047/2.297, allocations: 64.62 kB / 1.059 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006029/2.303, allocations: 373.4 kB / 1.059 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008073/2.304, allocations: 131.3 kB / 1.06 GB, free: 12.44 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.002661/2.306, allocations: 0.6795 MB / 1.06 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000922/2.307, allocations: 238.2 kB / 1.061 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008228/2.316, allocations: 1.706 MB / 1.062 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.238e-05/2.316, allocations: 12 kB / 1.062 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/2.316, allocations: 0 / 1.062 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.002e-05/2.316, allocations: 3.984 kB / 1.062 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01618/2.332, allocations: 4.138 MB / 1.066 GB, free: 7.492 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.173e-05/2.332, allocations: 8 kB / 1.066 GB, free: 7.484 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003346/2.335, allocations: 306.1 kB / 1.067 GB, free: 7.203 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.8e-05/2.335, allocations: 8 kB / 1.067 GB, free: 7.195 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002913/2.336, allocations: 37.48 kB / 1.067 GB, free: 7.172 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001467/2.337, allocations: 2.351 MB / 1.069 GB, free: 4.758 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.728e-05/2.337, allocations: 14.61 kB / 1.069 GB, free: 4.746 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00814/2.345, allocations: 2.348 MB / 1.071 GB, free: 2.574 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002111/2.348, allocations: 483.7 kB / 1.072 GB, free: 2.176 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009474/2.349, allocations: 28.3 kB / 1.072 GB, free: 2.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004892/2.353, allocations: 250.8 kB / 1.072 GB, free: 1.93 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004259/2.354, allocations: 83.64 kB / 1.072 GB, free: 1.863 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002762/2.354, allocations: 50.78 kB / 1.072 GB, free: 1.82 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.004984/2.359, allocations: 1.44 MB / 1.073 GB, free: 0.7461 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.41e-07/2.359, allocations: 0 / 1.073 GB, free: 0.7461 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.008567/2.368, allocations: 1.351 MB / 1.075 GB, free: 15.48 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.01048/2.378, allocations: 4.625 MB / 1.079 GB, free: 11.16 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.01769/2.396, allocations: 4.265 MB / 1.083 GB, free: 7.754 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-05/2.396, allocations: 4 kB / 1.083 GB, free: 7.75 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.003856/2.4, allocations: 0.7673 MB / 1.084 GB, free: 7.195 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007448/2.408, allocations: 0.8243 MB / 1.085 GB, free: 6.527 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02676/2.434, allocations: 27.31 MB / 1.112 GB, free: 11.16 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002474/2.437, allocations: 1.727 MB / 1.113 GB, free: 9.453 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.007224/2.444, allocations: 0.7763 MB / 1.114 GB, free: 8.672 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002607/2.447, allocations: 0.9689 MB / 1.115 GB, free: 8.441 MB / 0.823 GB Notification: Performance of SimCode: time 2.655e-06/2.447, allocations: 0 / 1.115 GB, free: 8.441 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2013/2.648, allocations: 55.98 MB / 1.17 GB, free: 1.141 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002484/2.649, allocations: 266.6 kB / 1.17 GB, free: 0.7852 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.338/7.987, allocations: 3.938 kB / 1.17 GB, free: 0.7812 MB / 0.8698 GB