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.22/2.22, allocations: 252.6 MB / 265.2 MB, free: 5.816 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001506/0.001506, allocations: 189.3 kB / 324.5 MB, free: 14.42 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.058/2.058, allocations: 205.4 MB / 0.5754 GB, free: 10.51 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.001107/0.001107, allocations: 101.6 kB / 0.6797 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.502e-05/3.518e-05, allocations: 4 kB / 0.7911 GB, free: 96.64 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1896/0.1896, allocations: 106.2 MB / 0.8949 GB, free: 6.297 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.979/7.168, allocations: 2.213 GB / 3.107 GB, free: 116.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000313/7.169, allocations: 91.83 kB / 3.107 GB, free: 116.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 15.65/22.82, allocations: 2.724 GB / 5.832 GB, free: 75.54 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.184e-06/22.82, allocations: 0 / 5.832 GB, free: 75.54 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0004238/22.82, allocations: 70.02 kB / 5.832 GB, free: 75.54 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.01469/22.83, allocations: 3.47 MB / 5.835 GB, free: 74.03 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/22.83, allocations: 8.969 kB / 5.835 GB, free: 74.03 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01694/22.85, allocations: 1.203 MB / 5.836 GB, free: 73.87 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01065/22.86, allocations: 2.566 MB / 5.839 GB, free: 73.36 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002362/22.86, allocations: 435.6 kB / 5.839 GB, free: 73.36 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009887/22.86, allocations: 221.9 kB / 5.839 GB, free: 73.36 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00783/22.87, allocations: 2.858 MB / 5.842 GB, free: 72.94 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.567e-05/22.87, allocations: 0 / 5.842 GB, free: 72.94 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004898/22.87, allocations: 95.84 kB / 5.842 GB, free: 72.94 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001279/22.87, allocations: 89.33 kB / 5.842 GB, free: 72.93 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008196/22.88, allocations: 2.65 MB / 5.845 GB, free: 72.9 MB / 0.9792 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.0393/22.92, allocations: 14.06 MB / 5.859 GB, free: 65.39 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004579/22.92, allocations: 1.42 MB / 5.86 GB, free: 65.35 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001774/22.92, allocations: 0.6406 MB / 5.861 GB, free: 65.34 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000851/22.93, allocations: 325.6 kB / 5.861 GB, free: 65.06 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.934e-05/22.93, allocations: 50.73 kB / 5.861 GB, free: 65.02 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002618/22.93, allocations: 214.9 kB / 5.861 GB, free: 64.95 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=110): time 8.035e-06/22.93, allocations: 2.469 kB / 5.861 GB, free: 64.95 MB / 0.9792 GB Notification: Performance of matching and sorting (n=110): time 0.004871/22.93, allocations: 1.436 MB / 5.863 GB, free: 64.75 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/22.93, allocations: 62.59 kB / 5.863 GB, free: 64.69 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005006/22.94, allocations: 2.07 MB / 5.865 GB, free: 64.44 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0005575/22.94, allocations: 61.92 kB / 5.865 GB, free: 64.41 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001509/22.94, allocations: 1.244 MB / 5.866 GB, free: 63.95 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006439/22.94, allocations: 394.3 kB / 5.866 GB, free: 63.71 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002849/22.94, allocations: 36.38 kB / 5.866 GB, free: 63.71 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001363/22.94, allocations: 373.3 kB / 5.867 GB, free: 63.4 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002044/22.94, allocations: 0.7043 MB / 5.867 GB, free: 63.39 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00262/22.95, allocations: 1.32 MB / 5.869 GB, free: 62.69 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002535/22.95, allocations: 0.9292 MB / 5.87 GB, free: 62.61 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.84e-05/22.95, allocations: 4.719 kB / 5.87 GB, free: 62.61 MB / 0.9792 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.006895/22.96, allocations: 2.312 MB / 5.872 GB, free: 62.36 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.001532/22.96, allocations: 6.121 MB / 5.878 GB, free: 55.87 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.474e-05/22.96, allocations: 13.34 kB / 5.878 GB, free: 55.87 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.244e-05/22.96, allocations: 24.72 kB / 5.878 GB, free: 55.87 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005873/22.96, allocations: 0.5681 MB / 5.878 GB, free: 55.84 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001341/22.96, allocations: 2.391 MB / 5.881 GB, free: 53.48 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007429/22.97, allocations: 481.8 kB / 5.881 GB, free: 53.45 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006776/22.97, allocations: 93.06 kB / 5.881 GB, free: 53.45 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/22.97, allocations: 4.906 kB / 5.881 GB, free: 53.45 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006055/22.98, allocations: 2.078 MB / 5.883 GB, free: 53.27 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.158e-05/22.98, allocations: 14.66 kB / 5.883 GB, free: 53.27 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.011e-05/22.98, allocations: 26.97 kB / 5.883 GB, free: 53.27 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00497/22.98, allocations: 0.5386 MB / 5.884 GB, free: 53.24 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.052e-05/22.98, allocations: 36.45 kB / 5.884 GB, free: 53.23 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006346/22.99, allocations: 399.9 kB / 5.884 GB, free: 53.2 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006644/22.99, allocations: 98.19 kB / 5.884 GB, free: 53.2 MB / 0.9792 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 () * 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.0007378/22.99, allocations: 214.3 kB / 5.885 GB, free: 53.06 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008441/22.99, allocations: 256.1 kB / 5.885 GB, free: 52.93 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004689/23, allocations: 1.574 MB / 5.886 GB, free: 52.83 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.752e-05/23, allocations: 13.72 kB / 5.886 GB, free: 52.83 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.547e-06/23, allocations: 1.719 kB / 5.886 GB, free: 52.83 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.49e-05/23, allocations: 3.656 kB / 5.886 GB, free: 52.83 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01207/23.01, allocations: 4.21 MB / 5.891 GB, free: 52.22 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.467e-05/23.01, allocations: 10.84 kB / 5.891 GB, free: 52.22 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003305/23.01, allocations: 313.3 kB / 5.891 GB, free: 52.21 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-05/23.01, allocations: 14.2 kB / 5.891 GB, free: 52.21 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000268/23.01, allocations: 33.8 kB / 5.891 GB, free: 52.21 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009589/23.01, allocations: 2.363 MB / 5.893 GB, free: 49.86 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.077e-06/23.01, allocations: 11.25 kB / 5.893 GB, free: 49.86 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004394/23.02, allocations: 2.193 MB / 5.895 GB, free: 48.67 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002348/23.02, allocations: 0.5477 MB / 5.896 GB, free: 48.45 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001011/23.02, allocations: 27.3 kB / 5.896 GB, free: 48.45 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005512/23.03, allocations: 288.1 kB / 5.896 GB, free: 48.43 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003825/23.03, allocations: 78.59 kB / 5.896 GB, free: 48.42 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003244/23.03, allocations: 68.5 kB / 5.896 GB, free: 48.42 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.003979/23.03, allocations: 1.576 MB / 5.898 GB, free: 48.26 MB / 0.9792 GB Notification: Performance of sort global known variables: time 2.004e-06/23.03, allocations: 0 / 5.898 GB, free: 48.26 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.009341/23.04, allocations: 1.942 MB / 5.9 GB, free: 48.12 MB / 0.9792 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.01378/23.06, allocations: 7.643 MB / 5.907 GB, free: 43.85 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.009149/23.07, allocations: 3.029 MB / 5.91 GB, free: 43.45 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.668e-05/23.07, allocations: 7.312 kB / 5.91 GB, free: 43.45 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.002115/23.07, allocations: 0.6664 MB / 5.911 GB, free: 43.41 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01096/23.08, allocations: 1.199 MB / 5.912 GB, free: 43.38 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0083/23.09, allocations: 3.146 MB / 5.915 GB, free: 42.37 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001581/23.09, allocations: 1.737 MB / 5.917 GB, free: 41.63 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.01119/23.1, allocations: 0.9775 MB / 5.918 GB, free: 41.52 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001505/23.1, allocations: 150.1 kB / 5.918 GB, free: 41.52 MB / 0.9792 GB Notification: Performance of SimCode: time 1.553e-06/23.1, allocations: 0 / 5.918 GB, free: 41.52 MB / 0.9792 GB Notification: Performance of Templates: time 1.188/24.29, allocations: 128.7 MB / 6.044 GB, free: 116.5 MB / 1.01 GB