Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.107/2.107, allocations: 251.1 MB / 266.1 MB, free: 11.55 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001534/0.001534, allocations: 174 kB / 325.6 MB, free: 2.809 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.267/2.267, allocations: 205.4 MB / 0.5766 GB, free: 20.72 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001236/0.001236, allocations: 92.19 kB / 0.6811 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004719/0.0004721, allocations: 14.62 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.202/0.2025, allocations: 106.3 MB / 0.8989 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.012/7.215, allocations: 2.213 GB / 3.111 GB, free: 243.1 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003517/7.215, allocations: 97.64 kB / 3.112 GB, free: 243.1 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 14.63/21.85, allocations: 2.727 GB / 5.838 GB, free: 52.35 MB / 0.9792 GB Notification: Performance of FrontEnd: time 3.898e-06/21.85, allocations: 0 / 5.838 GB, free: 52.35 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0005018/21.85, allocations: 67.98 kB / 5.838 GB, free: 52.28 MB / 0.9792 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.02387/21.87, allocations: 3.879 MB / 5.842 GB, free: 48.36 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.519e-05/21.87, allocations: 12.03 kB / 5.842 GB, free: 48.35 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02577/21.9, allocations: 1.194 MB / 5.843 GB, free: 47.15 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01326/21.91, allocations: 2.589 MB / 5.846 GB, free: 44.52 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002412/21.91, allocations: 436.2 kB / 5.846 GB, free: 44.09 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001064/21.91, allocations: 224 kB / 5.846 GB, free: 43.87 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01096/21.92, allocations: 3.153 MB / 5.849 GB, free: 40.54 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-05/21.93, allocations: 3.938 kB / 5.849 GB, free: 40.54 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005209/21.93, allocations: 94.73 kB / 5.85 GB, free: 40.45 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001258/21.93, allocations: 92.06 kB / 5.85 GB, free: 40.36 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01299/21.94, allocations: 3.225 MB / 5.853 GB, free: 37.11 MB / 0.9792 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.03428/21.97, allocations: 14.06 MB / 5.867 GB, free: 21.98 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007001/21.98, allocations: 1.723 MB / 5.868 GB, free: 20.24 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008375/21.98, allocations: 329.1 kB / 5.869 GB, free: 19.87 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.494e-05/21.98, allocations: 55.78 kB / 5.869 GB, free: 19.8 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002566/21.98, allocations: 214.3 kB / 5.869 GB, free: 19.59 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=110): time 6.281e-06/21.98, allocations: 3.938 kB / 5.869 GB, free: 19.59 MB / 0.9792 GB Notification: Performance of matching and sorting (n=110): time 0.01054/21.99, allocations: 2.387 MB / 5.871 GB, free: 17.2 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/21.99, allocations: 64.41 kB / 5.871 GB, free: 17.12 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00597/22, allocations: 2.224 MB / 5.873 GB, free: 14.89 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0005335/22, allocations: 57.7 kB / 5.873 GB, free: 14.82 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001099/22, allocations: 1.245 MB / 5.875 GB, free: 13.56 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004569/22, allocations: 386.5 kB / 5.875 GB, free: 13.18 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002601/22, allocations: 43.94 kB / 5.875 GB, free: 13.14 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001202/22, allocations: 369.9 kB / 5.875 GB, free: 12.77 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004327/22.01, allocations: 0.9876 MB / 5.876 GB, free: 11.78 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004732/22.01, allocations: 1.604 MB / 5.878 GB, free: 9.914 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005001/22.02, allocations: 1.198 MB / 5.879 GB, free: 8.707 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.158e-05/22.02, allocations: 4 kB / 5.879 GB, free: 8.703 MB / 0.9792 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.01194/22.03, allocations: 2.887 MB / 5.882 GB, free: 5.793 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.001533/22.03, allocations: 6.115 MB / 5.888 GB, free: 15.09 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.558e-05/22.03, allocations: 16 kB / 5.888 GB, free: 15.08 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.163e-05/22.03, allocations: 24 kB / 5.888 GB, free: 15.05 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00662/22.04, allocations: 0.5687 MB / 5.888 GB, free: 14.49 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001972/22.04, allocations: 2.391 MB / 5.891 GB, free: 12 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00735/22.05, allocations: 475 kB / 5.891 GB, free: 11.54 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006515/22.05, allocations: 95.91 kB / 5.891 GB, free: 11.45 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/22.05, allocations: 6.344 kB / 5.891 GB, free: 11.44 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01228/22.06, allocations: 2.65 MB / 5.894 GB, free: 8.777 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.507e-05/22.06, allocations: 12 kB / 5.894 GB, free: 8.766 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.665e-05/22.06, allocations: 28 kB / 5.894 GB, free: 8.738 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005192/22.07, allocations: 0.5346 MB / 5.895 GB, free: 8.203 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.662e-05/22.07, allocations: 31.86 kB / 5.895 GB, free: 8.172 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006221/22.07, allocations: 407 kB / 5.895 GB, free: 7.773 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005595/22.07, allocations: 91.97 kB / 5.895 GB, free: 7.684 MB / 0.9948 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.00235/22.07, allocations: 0.6254 MB / 5.896 GB, free: 7.047 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000917/22.08, allocations: 256.9 kB / 5.896 GB, free: 6.793 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008222/22.08, allocations: 1.889 MB / 5.898 GB, free: 4.887 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.99e-05/22.08, allocations: 8 kB / 5.898 GB, free: 4.879 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/22.08, allocations: 0 / 5.898 GB, free: 4.879 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.008e-05/22.08, allocations: 3.984 kB / 5.898 GB, free: 4.875 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01626/22.1, allocations: 4.508 MB / 5.902 GB, free: 232 kB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-05/22.1, allocations: 8 kB / 5.902 GB, free: 224 kB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.9167/23.02, allocations: 303.5 kB / 5.902 GB, free: 86.2 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.272e-05/23.02, allocations: 10.94 kB / 5.902 GB, free: 86.2 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003526/23.02, allocations: 30.52 kB / 5.902 GB, free: 86.2 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001085/23.02, allocations: 2.366 MB / 5.905 GB, free: 83.87 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.359e-05/23.02, allocations: 13.94 kB / 5.905 GB, free: 83.87 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00755/23.03, allocations: 2.496 MB / 5.907 GB, free: 82.84 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00222/23.03, allocations: 0.551 MB / 5.908 GB, free: 82.75 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008192/23.03, allocations: 24.19 kB / 5.908 GB, free: 82.75 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005241/23.03, allocations: 290.5 kB / 5.908 GB, free: 82.74 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003409/23.03, allocations: 88.12 kB / 5.908 GB, free: 82.73 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003005/23.04, allocations: 62.97 kB / 5.908 GB, free: 82.73 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.005546/23.04, allocations: 1.732 MB / 5.91 GB, free: 82.59 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5.01e-07/23.04, allocations: 0.5469 kB / 5.91 GB, free: 82.59 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.01227/23.05, allocations: 1.937 MB / 5.912 GB, free: 82.53 MB / 0.9948 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.02272/23.08, allocations: 7.642 MB / 5.919 GB, free: 78.4 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0238/23.1, allocations: 3.66 MB / 5.923 GB, free: 78.13 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-05/23.1, allocations: 3.031 kB / 5.923 GB, free: 78.13 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.005275/23.11, allocations: 0.8146 MB / 5.924 GB, free: 78.12 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01134/23.12, allocations: 1.193 MB / 5.925 GB, free: 78.1 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01299/23.13, allocations: 4.958 MB / 5.93 GB, free: 75.82 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002416/23.13, allocations: 1.728 MB / 5.931 GB, free: 75.08 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.007368/23.14, allocations: 0.7909 MB / 5.932 GB, free: 75.06 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001484/23.14, allocations: 187.4 kB / 5.932 GB, free: 75.05 MB / 0.9948 GB Notification: Performance of SimCode: time 1.313e-06/23.14, allocations: 1.094 kB / 5.932 GB, free: 75.05 MB / 0.9948 GB Notification: Performance of Templates: time 0.2546/23.4, allocations: 110.6 MB / 6.04 GB, free: 70.1 MB / 0.9948 GB