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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.407/4.407, allocations: 433.2 MB / 440.8 MB, free: 4.492 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.497e-05/3.516e-05, allocations: 5.844 kB / 0.5325 GB, free: 12.78 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2364, allocations: 98.74 MB / 0.6289 GB, free: 9.086 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.936/7.172, allocations: 2.208 GB / 2.837 GB, free: 127.7 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002987/7.172, allocations: 90.08 kB / 2.837 GB, free: 127.6 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 15.11/22.28, allocations: 2.679 GB / 5.516 GB, free: 56 MB / 0.9167 GB Notification: Performance of FrontEnd: time 3.006e-06/22.28, allocations: 0 / 5.516 GB, free: 56 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0005233/22.28, allocations: 74.88 kB / 5.516 GB, free: 55.99 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.02075/22.3, allocations: 3.581 MB / 5.519 GB, free: 53.8 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 6.487e-05/22.3, allocations: 7.781 kB / 5.519 GB, free: 53.8 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01973/22.32, allocations: 1.194 MB / 5.521 GB, free: 53.41 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009526/22.33, allocations: 2.294 MB / 5.523 GB, free: 51.8 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002372/22.33, allocations: 357 kB / 5.523 GB, free: 51.45 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001207/22.34, allocations: 136 kB / 5.523 GB, free: 51.32 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007954/22.34, allocations: 2.464 MB / 5.526 GB, free: 48.84 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008067/22.35, allocations: 2.38 MB / 5.528 GB, free: 46.31 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.874e-05/22.35, allocations: 3.938 kB / 5.528 GB, free: 46.31 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00046/22.35, allocations: 12 kB / 5.528 GB, free: 46.3 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000128/22.35, allocations: 88.06 kB / 5.528 GB, free: 46.21 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.04444/22.4, allocations: 13.8 MB / 5.542 GB, free: 31.41 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004685/22.4, allocations: 1.499 MB / 5.543 GB, free: 29.87 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001679/22.4, allocations: 0.5383 MB / 5.544 GB, free: 29.33 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001045/22.41, allocations: 307.2 kB / 5.544 GB, free: 28.98 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.617e-05/22.41, allocations: 47.88 kB / 5.544 GB, free: 28.92 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002394/22.41, allocations: 146.9 kB / 5.544 GB, free: 28.79 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=110): time 1.262e-05/22.41, allocations: 0 / 5.544 GB, free: 28.79 MB / 0.9167 GB Notification: Performance of matching and sorting (n=110): time 0.005952/22.41, allocations: 1.381 MB / 5.545 GB, free: 27.39 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/22.41, allocations: 64.72 kB / 5.546 GB, free: 27.32 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004668/22.42, allocations: 1.591 MB / 5.547 GB, free: 25.71 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0005956/22.42, allocations: 29.7 kB / 5.547 GB, free: 25.68 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001915/22.42, allocations: 1.384 MB / 5.548 GB, free: 24.27 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000712/22.42, allocations: 390.4 kB / 5.549 GB, free: 23.89 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002953/22.42, allocations: 4 kB / 5.549 GB, free: 23.88 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001896/22.42, allocations: 390.2 kB / 5.549 GB, free: 23.5 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00239/22.42, allocations: 0.6486 MB / 5.55 GB, free: 22.84 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003392/22.43, allocations: 1.637 MB / 5.551 GB, free: 20.73 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005611/22.43, allocations: 1.228 MB / 5.553 GB, free: 19.5 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-05/22.43, allocations: 12 kB / 5.553 GB, free: 19.49 MB / 0.9167 GB Notification: Performance of matching and sorting (n=276) (initialization): time 0.01146/22.45, allocations: 2.628 MB / 5.555 GB, free: 16.86 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.002887/22.45, allocations: 12.6 MB / 5.567 GB, free: 3.223 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.236e-05/22.45, allocations: 28 kB / 5.568 GB, free: 3.195 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.088e-05/22.45, allocations: 48 kB / 5.568 GB, free: 3.148 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006048/22.45, allocations: 0.6503 MB / 5.568 GB, free: 2.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00149/22.46, allocations: 2.426 MB / 5.571 GB, free: 15.98 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007456/22.46, allocations: 431 kB / 5.571 GB, free: 15.56 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000884/22.46, allocations: 132 kB / 5.571 GB, free: 15.43 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/22.46, allocations: 4.781 kB / 5.571 GB, free: 15.43 MB / 0.9324 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009195/22.47, allocations: 2.382 MB / 5.573 GB, free: 13.05 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.757e-05/22.47, allocations: 32 kB / 5.573 GB, free: 13.02 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.841e-05/22.47, allocations: 44 kB / 5.574 GB, free: 12.97 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005241/22.48, allocations: 0.6166 MB / 5.574 GB, free: 12.36 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-05/22.48, allocations: 63.78 kB / 5.574 GB, free: 12.29 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006057/22.49, allocations: 331.3 kB / 5.574 GB, free: 11.97 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009155/22.49, allocations: 132 kB / 5.575 GB, free: 11.84 MB / 0.9324 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.0008378/22.49, allocations: 200 kB / 5.575 GB, free: 11.64 MB / 0.9324 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004742/22.49, allocations: 1.345 MB / 5.576 GB, free: 10.28 MB / 0.9324 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009519/22.49, allocations: 229.1 kB / 5.576 GB, free: 10.05 MB / 0.9324 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004911/22.5, allocations: 1.458 MB / 5.578 GB, free: 8.594 MB / 0.9324 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.766e-05/22.5, allocations: 8 kB / 5.578 GB, free: 8.586 MB / 0.9324 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-05/22.5, allocations: 4 kB / 5.578 GB, free: 8.582 MB / 0.9324 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-05/22.5, allocations: 7.969 kB / 5.578 GB, free: 8.574 MB / 0.9324 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01169/22.51, allocations: 3.553 MB / 5.581 GB, free: 4.926 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-05/22.51, allocations: 14.45 kB / 5.581 GB, free: 4.918 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003128/22.51, allocations: 307.6 kB / 5.582 GB, free: 4.617 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-05/22.51, allocations: 15.94 kB / 5.582 GB, free: 4.602 MB / 0.9324 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002397/22.51, allocations: 19.88 kB / 5.582 GB, free: 4.582 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001648/22.52, allocations: 2.352 MB / 5.584 GB, free: 2.137 MB / 0.9324 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-05/22.52, allocations: 16 kB / 5.584 GB, free: 2.121 MB / 0.9324 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006036/22.52, allocations: 2.108 MB / 5.586 GB, free: 15.76 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001704/22.52, allocations: 473.9 kB / 5.586 GB, free: 15.27 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005104/22.52, allocations: 8 kB / 5.586 GB, free: 15.27 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004119/22.53, allocations: 235.5 kB / 5.587 GB, free: 15.04 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003118/22.53, allocations: 84.58 kB / 5.587 GB, free: 14.95 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002269/22.53, allocations: 51.97 kB / 5.587 GB, free: 14.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00293/22.53, allocations: 1.129 MB / 5.588 GB, free: 13.76 MB / 0.948 GB Notification: Performance of sort global known variables: time 8.52e-07/22.53, allocations: 0 / 5.588 GB, free: 13.76 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.009111/22.54, allocations: 1.696 MB / 5.59 GB, free: 12.06 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.8361/23.38, allocations: 12.3 MB / 5.602 GB, free: 97.43 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01026/23.39, allocations: 3.412 MB / 5.605 GB, free: 96.66 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.497e-05/23.39, allocations: 2.531 kB / 5.605 GB, free: 96.66 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002083/23.39, allocations: 0.5816 MB / 5.605 GB, free: 96.66 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007209/23.4, allocations: 0.7354 MB / 5.606 GB, free: 96.64 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01435/23.41, allocations: 3.501 MB / 5.61 GB, free: 95.61 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002918/23.41, allocations: 1.727 MB / 5.611 GB, free: 94.88 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.009399/23.42, allocations: 0.8659 MB / 5.612 GB, free: 94.86 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002758/23.43, allocations: 0.9379 MB / 5.613 GB, free: 94.85 MB / 0.948 GB Notification: Performance of SimCode: time 1.714e-06/23.43, allocations: 0 / 5.613 GB, free: 94.85 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3422/23.77, allocations: 99.26 MB / 5.71 GB, free: 91.18 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00022/23.77, allocations: 188.1 kB / 5.71 GB, free: 90.98 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.94/31.71, allocations: 0 / 5.71 GB, free: 90.98 MB / 0.948 GB