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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.26/4.26, allocations: 432.6 MB / 445.2 MB, free: 15.72 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.275e-05/4.293e-05, allocations: 3.844 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2493/0.2494, allocations: 98.73 MB / 0.6347 GB, free: 1.895 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.957/7.207, allocations: 2.209 GB / 2.843 GB, free: 92.99 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002892/7.207, allocations: 87.58 kB / 2.843 GB, free: 92.95 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 15.3/22.5, allocations: 2.709 GB / 5.553 GB, free: 17.23 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.894e-06/22.5, allocations: 0 / 5.553 GB, free: 17.23 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.000372/22.5, allocations: 71.98 kB / 5.553 GB, free: 17.16 MB / 0.9167 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.01437/22.52, allocations: 3.573 MB / 5.556 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.388e-05/22.52, allocations: 8.031 kB / 5.556 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001206/22.52, allocations: 303.8 kB / 5.556 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0171/22.54, allocations: 1.194 MB / 5.558 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009738/22.55, allocations: 2.3 MB / 5.56 GB, free: 9.629 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002461/22.55, allocations: 436.2 kB / 5.56 GB, free: 9.199 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001168/22.55, allocations: 224 kB / 5.56 GB, free: 8.98 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009432/22.56, allocations: 2.841 MB / 5.563 GB, free: 5.98 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.69e-05/22.56, allocations: 7.938 kB / 5.563 GB, free: 5.973 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005293/22.56, allocations: 88 kB / 5.563 GB, free: 5.887 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001295/22.56, allocations: 88.06 kB / 5.563 GB, free: 5.797 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009275/22.57, allocations: 2.694 MB / 5.566 GB, free: 3.086 MB / 0.9167 GB Warning: The model contains alias variables with conflicting start and/or 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.04125/22.61, allocations: 14.21 MB / 5.58 GB, free: 3.754 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005092/22.62, allocations: 1.442 MB / 5.581 GB, free: 2.305 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001772/22.62, allocations: 0.5777 MB / 5.582 GB, free: 1.727 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009502/22.62, allocations: 308.2 kB / 5.582 GB, free: 1.371 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.094e-05/22.62, allocations: 47.56 kB / 5.582 GB, free: 1.312 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002154/22.62, allocations: 166.7 kB / 5.582 GB, free: 1.148 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=110): time 5.421e-06/22.62, allocations: 0 / 5.582 GB, free: 1.148 MB / 0.9323 GB Notification: Performance of matching and sorting (n=110): time 0.004949/22.63, allocations: 1.326 MB / 5.584 GB, free: 15.81 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.11e-05/22.63, allocations: 64.34 kB / 5.584 GB, free: 15.74 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004701/22.63, allocations: 1.784 MB / 5.585 GB, free: 13.93 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005271/22.63, allocations: 57.7 kB / 5.586 GB, free: 13.87 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001942/22.63, allocations: 1.377 MB / 5.587 GB, free: 12.48 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007774/22.63, allocations: 398.4 kB / 5.587 GB, free: 12.08 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003237/22.63, allocations: 52 kB / 5.587 GB, free: 12.03 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002603/22.64, allocations: 386.2 kB / 5.588 GB, free: 11.65 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002395/22.64, allocations: 0.7072 MB / 5.588 GB, free: 10.94 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003692/22.64, allocations: 1.708 MB / 5.59 GB, free: 8.742 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00327/22.64, allocations: 1.122 MB / 5.591 GB, free: 7.586 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.652e-05/22.64, allocations: 8 kB / 5.591 GB, free: 7.578 MB / 0.948 GB Notification: Performance of matching and sorting (n=276) (initialization): time 0.009292/22.65, allocations: 2.746 MB / 5.594 GB, free: 4.793 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.8051/23.46, allocations: 12.65 MB / 5.606 GB, free: 77.69 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.621e-05/23.46, allocations: 33.78 kB / 5.606 GB, free: 77.69 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.877e-05/23.46, allocations: 45.3 kB / 5.606 GB, free: 77.69 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005904/23.47, allocations: 0.6465 MB / 5.607 GB, free: 77.69 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001409/23.47, allocations: 2.404 MB / 5.609 GB, free: 75.36 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007193/23.47, allocations: 478.6 kB / 5.61 GB, free: 75.36 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007578/23.47, allocations: 128.2 kB / 5.61 GB, free: 75.36 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/23.47, allocations: 6.344 kB / 5.61 GB, free: 75.36 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008013/23.48, allocations: 2.545 MB / 5.612 GB, free: 75.16 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001523/23.48, allocations: 29.94 kB / 5.612 GB, free: 75.16 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.461e-05/23.48, allocations: 51.78 kB / 5.612 GB, free: 75.16 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005427/23.49, allocations: 0.6122 MB / 5.613 GB, free: 75.16 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001027/23.49, allocations: 66.02 kB / 5.613 GB, free: 75.16 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006177/23.49, allocations: 380.9 kB / 5.613 GB, free: 75.16 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000818/23.5, allocations: 130.8 kB / 5.614 GB, free: 75.16 MB / 0.948 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 () * 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.0008443/23.5, allocations: 265.3 kB / 5.614 GB, free: 75.05 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000912/23.5, allocations: 233.1 kB / 5.614 GB, free: 75.05 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004889/23.5, allocations: 1.432 MB / 5.615 GB, free: 74.96 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.401e-05/23.5, allocations: 15.17 kB / 5.615 GB, free: 74.96 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/23.5, allocations: 1.969 kB / 5.615 GB, free: 74.96 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-05/23.5, allocations: 5.531 kB / 5.615 GB, free: 74.96 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01321/23.52, allocations: 3.86 MB / 5.619 GB, free: 74.43 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.6e-05/23.52, allocations: 6.234 kB / 5.619 GB, free: 74.43 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003242/23.52, allocations: 302.4 kB / 5.619 GB, free: 74.43 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.98e-05/23.52, allocations: 13.16 kB / 5.619 GB, free: 74.43 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001919/23.52, allocations: 31.67 kB / 5.62 GB, free: 74.43 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001066/23.52, allocations: 2.351 MB / 5.622 GB, free: 72.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-05/23.52, allocations: 13.48 kB / 5.622 GB, free: 72.09 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00521/23.53, allocations: 2.073 MB / 5.624 GB, free: 71.04 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002271/23.53, allocations: 481.2 kB / 5.624 GB, free: 70.82 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008311/23.53, allocations: 27 kB / 5.624 GB, free: 70.82 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00451/23.53, allocations: 257.8 kB / 5.625 GB, free: 70.81 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000384/23.53, allocations: 80.42 kB / 5.625 GB, free: 70.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002634/23.53, allocations: 53.53 kB / 5.625 GB, free: 70.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003736/23.54, allocations: 1.31 MB / 5.626 GB, free: 70.64 MB / 0.948 GB Notification: Performance of sort global known variables: time 7.61e-07/23.54, allocations: 3.375 kB / 5.626 GB, free: 70.64 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01124/23.55, allocations: 1.98 MB / 5.628 GB, free: 70.57 MB / 0.948 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 () * 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.01948/23.57, allocations: 11.61 MB / 5.639 GB, free: 63.44 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01043/23.58, allocations: 3.669 MB / 5.643 GB, free: 62.66 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.819e-05/23.58, allocations: 4.656 kB / 5.643 GB, free: 62.66 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002058/23.58, allocations: 0.6329 MB / 5.643 GB, free: 62.65 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007623/23.59, allocations: 0.8098 MB / 5.644 GB, free: 62.62 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0131/23.6, allocations: 3.654 MB / 5.648 GB, free: 61.59 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001648/23.6, allocations: 1.731 MB / 5.65 GB, free: 60.86 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.007896/23.61, allocations: 0.9157 MB / 5.65 GB, free: 60.83 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002168/23.61, allocations: 0.9359 MB / 5.651 GB, free: 60.82 MB / 0.948 GB Notification: Performance of SimCode: time 1.774e-06/23.61, allocations: 0 / 5.651 GB, free: 60.82 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3262/23.94, allocations: 159.8 MB / 5.807 GB, free: 54.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002395/23.94, allocations: 242 kB / 5.808 GB, free: 53.88 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/35.13, allocations: 3.938 kB / 5.808 GB, free: 53.88 MB / 0.948 GB