Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") Notification: Performance of loadModel(Buildings): time 4.168/4.168, allocations: 433.4 MB / 440.9 MB, free: 10.46 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.252e-05/2.267e-05, allocations: 4 kB / 0.5325 GB, free: 1.961 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4971/0.4971, allocations: 98.71 MB / 0.6289 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.728/6.225, allocations: 2.208 GB / 2.837 GB, free: 110.5 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002571/6.225, allocations: 95.94 kB / 2.837 GB, free: 110.4 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 13.04/19.26, allocations: 2.679 GB / 5.516 GB, free: 10.15 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.725e-06/19.26, allocations: 4 kB / 5.516 GB, free: 10.15 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0003308/19.26, allocations: 63.98 kB / 5.516 GB, free: 10.09 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.01167/19.28, allocations: 3.577 MB / 5.519 GB, free: 6.41 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/19.28, allocations: 12.03 kB / 5.52 GB, free: 6.398 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01145/19.29, allocations: 1.19 MB / 5.521 GB, free: 5.203 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007587/19.3, allocations: 2.295 MB / 5.523 GB, free: 2.859 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001367/19.3, allocations: 359.9 kB / 5.523 GB, free: 2.504 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009006/19.3, allocations: 140 kB / 5.523 GB, free: 2.367 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0067/19.3, allocations: 2.472 MB / 5.526 GB, free: 15.88 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007641/19.31, allocations: 2.376 MB / 5.528 GB, free: 13.36 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-05/19.31, allocations: 4 kB / 5.528 GB, free: 13.35 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000458/19.31, allocations: 4 kB / 5.528 GB, free: 13.35 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001514/19.31, allocations: 92.06 kB / 5.528 GB, free: 13.25 MB / 0.9323 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.7995/20.11, allocations: 13.8 MB / 5.542 GB, free: 75.82 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003357/20.12, allocations: 1.499 MB / 5.543 GB, free: 75.61 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001213/20.12, allocations: 0.5394 MB / 5.544 GB, free: 75.59 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000628/20.12, allocations: 304.4 kB / 5.544 GB, free: 75.31 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.106e-05/20.12, allocations: 54.34 kB / 5.544 GB, free: 75.27 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001598/20.12, allocations: 133.6 kB / 5.544 GB, free: 75.27 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=110): time 6.099e-06/20.12, allocations: 0 / 5.544 GB, free: 75.27 MB / 0.9323 GB Notification: Performance of matching and sorting (n=110): time 0.004179/20.12, allocations: 1.386 MB / 5.545 GB, free: 75.22 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.146e-05/20.12, allocations: 63.78 kB / 5.546 GB, free: 75.16 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003518/20.13, allocations: 1.594 MB / 5.547 GB, free: 74.95 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0003594/20.13, allocations: 34.61 kB / 5.547 GB, free: 74.92 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001228/20.13, allocations: 1.383 MB / 5.549 GB, free: 74.43 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005158/20.13, allocations: 383.3 kB / 5.549 GB, free: 74.24 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001848/20.13, allocations: 3.625 kB / 5.549 GB, free: 74.24 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.000176/20.13, allocations: 387.8 kB / 5.549 GB, free: 73.94 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001618/20.13, allocations: 0.6509 MB / 5.55 GB, free: 73.93 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002126/20.13, allocations: 1.635 MB / 5.551 GB, free: 72.69 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003701/20.14, allocations: 1.221 MB / 5.553 GB, free: 72.67 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.444e-05/20.14, allocations: 13.53 kB / 5.553 GB, free: 72.67 MB / 0.9323 GB Notification: Performance of matching and sorting (n=276) (initialization): time 0.00756/20.15, allocations: 2.634 MB / 5.555 GB, free: 72.5 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.002564/20.15, allocations: 12.6 MB / 5.568 GB, free: 59.32 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.679e-05/20.15, allocations: 31.77 kB / 5.568 GB, free: 59.32 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.636e-05/20.15, allocations: 52.92 kB / 5.568 GB, free: 59.32 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003799/20.15, allocations: 0.6506 MB / 5.568 GB, free: 59.32 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001141/20.15, allocations: 2.414 MB / 5.571 GB, free: 56.98 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005038/20.16, allocations: 433.9 kB / 5.571 GB, free: 56.96 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005904/20.16, allocations: 127.4 kB / 5.571 GB, free: 56.96 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/20.16, allocations: 6.906 kB / 5.571 GB, free: 56.96 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00665/20.17, allocations: 2.38 MB / 5.573 GB, free: 56.93 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.227e-05/20.17, allocations: 34.44 kB / 5.574 GB, free: 56.93 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.818e-05/20.17, allocations: 46.03 kB / 5.574 GB, free: 56.93 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003002/20.17, allocations: 0.6157 MB / 5.574 GB, free: 56.93 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.267e-05/20.17, allocations: 69.52 kB / 5.574 GB, free: 56.93 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004026/20.17, allocations: 333 kB / 5.575 GB, free: 56.91 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005392/20.17, allocations: 130.6 kB / 5.575 GB, free: 56.91 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 () * 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.0007131/20.17, allocations: 194.7 kB / 5.575 GB, free: 56.81 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006469/20.17, allocations: 232.8 kB / 5.575 GB, free: 56.69 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003617/20.18, allocations: 1.472 MB / 5.577 GB, free: 56.6 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.407e-05/20.18, allocations: 14.86 kB / 5.577 GB, free: 56.6 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/20.18, allocations: 1.688 kB / 5.577 GB, free: 56.6 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.77e-05/20.18, allocations: 7.703 kB / 5.577 GB, free: 56.59 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0092/20.19, allocations: 3.553 MB / 5.58 GB, free: 56.09 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-05/20.19, allocations: 10.33 kB / 5.58 GB, free: 56.09 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00227/20.19, allocations: 303.4 kB / 5.58 GB, free: 56.09 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.049e-05/20.19, allocations: 9.344 kB / 5.58 GB, free: 56.09 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001401/20.19, allocations: 17.02 kB / 5.58 GB, free: 56.09 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008985/20.19, allocations: 2.35 MB / 5.583 GB, free: 53.75 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-05/20.19, allocations: 8.438 kB / 5.583 GB, free: 53.75 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003668/20.19, allocations: 2.117 MB / 5.585 GB, free: 52.68 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001446/20.2, allocations: 471.9 kB / 5.585 GB, free: 52.46 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004851/20.2, allocations: 10.69 kB / 5.585 GB, free: 52.46 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003299/20.2, allocations: 234.3 kB / 5.585 GB, free: 52.46 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002455/20.2, allocations: 78.11 kB / 5.585 GB, free: 52.46 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000197/20.2, allocations: 61.44 kB / 5.586 GB, free: 52.45 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.002286/20.2, allocations: 1.131 MB / 5.587 GB, free: 52.31 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.015e-06/20.2, allocations: 2.734 kB / 5.587 GB, free: 52.31 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.008157/20.21, allocations: 1.697 MB / 5.588 GB, free: 52.23 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 () * 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.01362/20.22, allocations: 8.252 MB / 5.596 GB, free: 48.02 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.007096/20.23, allocations: 3.414 MB / 5.6 GB, free: 47.24 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.318e-05/20.23, allocations: 0.5625 kB / 5.6 GB, free: 47.24 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001485/20.23, allocations: 0.5771 MB / 5.6 GB, free: 47.23 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004894/20.24, allocations: 0.7372 MB / 5.601 GB, free: 47.21 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007212/20.25, allocations: 3.041 MB / 5.604 GB, free: 46.23 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001622/20.25, allocations: 1.728 MB / 5.606 GB, free: 45.5 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.006973/20.25, allocations: 0.8707 MB / 5.606 GB, free: 45.48 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006907/20.26, allocations: 136.5 kB / 5.607 GB, free: 45.47 MB / 0.9323 GB Notification: Performance of SimCode: time 1.941e-06/20.26, allocations: 0.6875 kB / 5.607 GB, free: 45.47 MB / 0.9323 GB Notification: Performance of Templates: time 0.146/20.4, allocations: 68.59 MB / 5.674 GB, free: 41.68 MB / 0.9323 GB