Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.01474/0.01475, allocations: 88.77 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001818/0.001818, allocations: 169.6 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.077/2.077, allocations: 205.5 MB / 222.2 MB, free: 13.71 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.349/2.349, allocations: 252.8 MB / 0.511 GB, free: 8.336 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006549/0.0006552, allocations: 13.56 kB / 0.6243 GB, free: 21 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2468/0.2475, allocations: 106.2 MB / 0.7281 GB, free: 8.094 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 1.106/1.354, allocations: 265.9 MB / 0.9877 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.05618/1.41, allocations: 27.07 MB / 1.014 GB, free: 3.227 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004351/1.414, allocations: 83.38 kB / 1.014 GB, free: 3.145 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.008573/1.423, allocations: 1.688 MB / 1.016 GB, free: 1.449 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.02098/1.444, allocations: 4.75 MB / 1.021 GB, free: 12.69 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.01181/1.456, allocations: 2.627 MB / 1.023 GB, free: 10.06 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.01073/1.466, allocations: 4.019 MB / 1.027 GB, free: 6.031 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005792/1.472, allocations: 2.273 MB / 1.029 GB, free: 3.723 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01195/1.484, allocations: 3.392 MB / 1.033 GB, free: 328 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004913/1.489, allocations: 1.712 MB / 1.034 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.001101/1.49, allocations: 128 kB / 1.034 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01021/1.501, allocations: 2.204 MB / 1.037 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.002895/1.504, allocations: 0.8373 MB / 1.037 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.002637/1.506, allocations: 0.6329 MB / 1.038 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.01084/1.517, allocations: 3.638 MB / 1.041 GB, free: 7.145 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/1.517, allocations: 0 / 1.041 GB, free: 7.145 MB / 0.7761 GB Notification: Performance of FrontEnd: time 3.297e-06/1.517, allocations: 0 / 1.041 GB, free: 7.145 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001807/1.517, allocations: 0 / 1.041 GB, free: 7.145 MB / 0.7761 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.01528/1.533, allocations: 2.972 MB / 1.044 GB, free: 4.094 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 6.772e-05/1.533, allocations: 12.03 kB / 1.044 GB, free: 4.082 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001486/1.534, allocations: 307.8 kB / 1.045 GB, free: 3.77 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02502/1.559, allocations: 1.585 MB / 1.046 GB, free: 2.18 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009883/1.569, allocations: 1.897 MB / 1.048 GB, free: 240 kB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003715/1.573, allocations: 428 kB / 1.049 GB, free: 15.81 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00127/1.574, allocations: 220 kB / 1.049 GB, free: 15.59 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01732/1.592, allocations: 3.102 MB / 1.052 GB, free: 12.35 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001132/1.592, allocations: 4 kB / 1.052 GB, free: 12.34 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008408/1.593, allocations: 91.98 kB / 1.052 GB, free: 12.25 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002336/1.593, allocations: 95.95 kB / 1.052 GB, free: 12.16 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01599/1.609, allocations: 3.209 MB / 1.055 GB, free: 8.93 MB / 0.7917 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.04212/1.651, allocations: 14.27 MB / 1.069 GB, free: 9.551 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008111/1.659, allocations: 1.709 MB / 1.071 GB, free: 7.836 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008204/1.66, allocations: 158 kB / 1.071 GB, free: 7.664 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.779e-05/1.66, allocations: 51.5 kB / 1.071 GB, free: 7.605 MB / 0.8073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003092/1.664, allocations: 198.1 kB / 1.071 GB, free: 7.41 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=110): time 1.304e-05/1.664, allocations: 0 / 1.071 GB, free: 7.41 MB / 0.8073 GB Notification: Performance of matching and sorting (n=110): time 0.01617/1.68, allocations: 2.399 MB / 1.073 GB, free: 5 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.568e-05/1.68, allocations: 68.34 kB / 1.073 GB, free: 4.922 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007444/1.687, allocations: 2.515 MB / 1.076 GB, free: 2.387 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0004566/1.688, allocations: 57.7 kB / 1.076 GB, free: 2.324 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.001813/1.69, allocations: 1.245 MB / 1.077 GB, free: 1.062 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006916/1.691, allocations: 394.4 kB / 1.078 GB, free: 0.6719 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002693/1.691, allocations: 32 kB / 1.078 GB, free: 0.6406 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002297/1.691, allocations: 369.9 kB / 1.078 GB, free: 280 kB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005148/1.696, allocations: 0.9877 MB / 1.079 GB, free: 15.28 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005827/1.702, allocations: 1.563 MB / 1.08 GB, free: 13.46 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005504/1.708, allocations: 1.192 MB / 1.082 GB, free: 12.26 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.458e-05/1.708, allocations: 11.95 kB / 1.082 GB, free: 12.25 MB / 0.823 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.01305/1.721, allocations: 2.868 MB / 1.084 GB, free: 9.359 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.003092/1.724, allocations: 6.109 MB / 1.09 GB, free: 2.656 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.459e-05/1.724, allocations: 16 kB / 1.09 GB, free: 2.641 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.091e-05/1.724, allocations: 24 kB / 1.09 GB, free: 2.617 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006202/1.73, allocations: 0.5934 MB / 1.091 GB, free: 2.027 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002001/1.732, allocations: 2.403 MB / 1.093 GB, free: 15.53 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006863/1.739, allocations: 455.3 kB / 1.094 GB, free: 15.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005387/1.74, allocations: 95.95 kB / 1.094 GB, free: 14.99 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/1.74, allocations: 7.938 kB / 1.094 GB, free: 14.98 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01205/1.752, allocations: 2.634 MB / 1.096 GB, free: 12.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.743e-05/1.752, allocations: 16 kB / 1.096 GB, free: 12.32 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.142e-05/1.752, allocations: 24 kB / 1.096 GB, free: 12.3 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005101/1.757, allocations: 0.5431 MB / 1.097 GB, free: 11.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.912e-05/1.757, allocations: 27.88 kB / 1.097 GB, free: 11.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005938/1.763, allocations: 375.5 kB / 1.097 GB, free: 11.36 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000555/1.764, allocations: 91.89 kB / 1.097 GB, free: 11.27 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 4 (masExcFor.i1_w,masExcFor.i2_w,masExcRev.i1_w,masExcRev.i2_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (214): * Single equations (assignments): 208 * Array equations: 0 * Algorithm blocks: 2 * 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.00219/1.766, allocations: 0.6303 MB / 1.098 GB, free: 10.63 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008482/1.767, allocations: 264.8 kB / 1.098 GB, free: 10.37 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008585/1.776, allocations: 1.878 MB / 1.1 GB, free: 8.473 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.099e-05/1.776, allocations: 8 kB / 1.1 GB, free: 8.465 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.207e-05/1.776, allocations: 3.984 kB / 1.1 GB, free: 8.461 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.008e-05/1.776, allocations: 3.984 kB / 1.1 GB, free: 8.457 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0168/1.793, allocations: 4.539 MB / 1.105 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.939e-05/1.793, allocations: 4 kB / 1.105 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003447/1.796, allocations: 324.2 kB / 1.105 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.429e-05/1.796, allocations: 15.95 kB / 1.105 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002807/1.796, allocations: 27.98 kB / 1.105 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001709/1.798, allocations: 2.368 MB / 1.107 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.184e-05/1.798, allocations: 8 kB / 1.107 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008473/1.807, allocations: 2.492 MB / 1.11 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002246/1.809, allocations: 0.5562 MB / 1.11 GB, free: 13.56 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009934/1.81, allocations: 24 kB / 1.11 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005496/1.816, allocations: 299.5 kB / 1.111 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003502/1.816, allocations: 76.8 kB / 1.111 GB, free: 13.18 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003409/1.816, allocations: 63.95 kB / 1.111 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.00568/1.822, allocations: 1.73 MB / 1.112 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.32e-07/1.822, allocations: 4 kB / 1.112 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.006867/1.829, allocations: 1.31 MB / 1.114 GB, free: 10.07 MB / 0.8542 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.01073/1.84, allocations: 4.762 MB / 1.118 GB, free: 5.129 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01727/1.857, allocations: 3.703 MB / 1.122 GB, free: 1.387 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.595e-05/1.857, allocations: 0 / 1.122 GB, free: 1.387 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.00404/1.861, allocations: 0.8347 MB / 1.123 GB, free: 0.5508 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01114/1.872, allocations: 1.192 MB / 1.124 GB, free: 15.36 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02332/1.896, allocations: 16.78 MB / 1.14 GB, free: 13.9 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002619/1.898, allocations: 1.73 MB / 1.142 GB, free: 12.13 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.006983/1.905, allocations: 0.7816 MB / 1.143 GB, free: 11.35 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00281/1.908, allocations: 0.9952 MB / 1.144 GB, free: 10.35 MB / 0.8855 GB Notification: Performance of SimCode: time 1.603e-06/1.908, allocations: 3.938 kB / 1.144 GB, free: 10.35 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.818/2.726, allocations: 65.06 MB / 1.207 GB, free: 328.7 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000242/2.727, allocations: 274.1 kB / 1.208 GB, free: 328.3 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.857/8.584, allocations: 0 / 1.208 GB, free: 328.3 MB / 0.9011 GB