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.244/2.244, allocations: 253.2 MB / 260.6 MB, free: 7.438 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.00146/0.00146, allocations: 180.9 kB / 319.9 MB, free: 3.074 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.007/2.007, allocations: 205.6 MB / 0.5709 GB, free: 15.29 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.0011/0.0011, allocations: 98.58 kB / 0.6751 GB, free: 4.656 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.735e-05/1.734e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.1938, allocations: 106.3 MB / 0.8887 GB, free: 11.87 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.904/7.098, allocations: 2.213 GB / 3.101 GB, free: 136.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002978/7.099, allocations: 92.94 kB / 3.102 GB, free: 136.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 15.39/22.49, allocations: 2.694 GB / 5.795 GB, free: 86.21 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.064e-06/22.49, allocations: 3.25 kB / 5.795 GB, free: 86.21 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0003621/22.49, allocations: 72.88 kB / 5.795 GB, free: 86.2 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.01601/22.5, allocations: 3.47 MB / 5.799 GB, free: 84.81 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 7.195e-05/22.5, allocations: 12.56 kB / 5.799 GB, free: 84.81 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02259/22.53, allocations: 1.193 MB / 5.8 GB, free: 84.65 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01135/22.54, allocations: 2.57 MB / 5.802 GB, free: 84.22 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002303/22.54, allocations: 357.7 kB / 5.803 GB, free: 84.21 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006863/22.54, allocations: 132.4 kB / 5.803 GB, free: 84.21 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006608/22.55, allocations: 2.431 MB / 5.805 GB, free: 84.2 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005889/22.55, allocations: 2.391 MB / 5.807 GB, free: 83.8 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.57e-05/22.55, allocations: 7.406 kB / 5.807 GB, free: 83.8 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003616/22.56, allocations: 4.375 kB / 5.807 GB, free: 83.8 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001267/22.56, allocations: 96.02 kB / 5.808 GB, free: 83.79 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.03161/22.59, allocations: 13.56 MB / 5.821 GB, free: 76.41 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00318/22.59, allocations: 1.486 MB / 5.822 GB, free: 76.19 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001282/22.59, allocations: 0.6058 MB / 5.823 GB, free: 76.18 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007896/22.59, allocations: 326.7 kB / 5.823 GB, free: 75.9 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.093e-05/22.59, allocations: 54.55 kB / 5.823 GB, free: 75.86 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002094/22.59, allocations: 159.4 kB / 5.823 GB, free: 75.8 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=110): time 5.41e-06/22.59, allocations: 3.375 kB / 5.823 GB, free: 75.8 MB / 0.9792 GB Notification: Performance of matching and sorting (n=110): time 0.004094/22.6, allocations: 1.512 MB / 5.825 GB, free: 75.62 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/22.6, allocations: 67.17 kB / 5.825 GB, free: 75.56 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003004/22.6, allocations: 1.533 MB / 5.826 GB, free: 75.33 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0002823/22.6, allocations: 31.67 kB / 5.826 GB, free: 75.3 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.00102/22.6, allocations: 1.253 MB / 5.828 GB, free: 74.74 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003814/22.6, allocations: 375 kB / 5.828 GB, free: 74.5 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001755/22.6, allocations: 7.219 kB / 5.828 GB, free: 74.5 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001199/22.6, allocations: 369.4 kB / 5.828 GB, free: 74.2 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001577/22.61, allocations: 0.6653 MB / 5.829 GB, free: 74.19 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002021/22.61, allocations: 1.261 MB / 5.83 GB, free: 73.49 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003819/22.61, allocations: 1.143 MB / 5.831 GB, free: 73.48 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.13e-05/22.61, allocations: 3.906 kB / 5.831 GB, free: 73.48 MB / 0.9792 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.009198/22.62, allocations: 2.368 MB / 5.834 GB, free: 73.31 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.001679/22.62, allocations: 5.957 MB / 5.839 GB, free: 67.07 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.886e-05/22.62, allocations: 12.69 kB / 5.839 GB, free: 67.07 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.397e-05/22.62, allocations: 24.44 kB / 5.839 GB, free: 67.07 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007864/22.63, allocations: 0.5778 MB / 5.84 GB, free: 67.07 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001784/22.63, allocations: 2.403 MB / 5.842 GB, free: 64.73 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00841/22.64, allocations: 388.1 kB / 5.843 GB, free: 64.71 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005302/22.64, allocations: 100.3 kB / 5.843 GB, free: 64.71 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/22.64, allocations: 3.906 kB / 5.843 GB, free: 64.71 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009436/22.65, allocations: 2.129 MB / 5.845 GB, free: 64.68 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.57e-05/22.65, allocations: 15.94 kB / 5.845 GB, free: 64.68 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.245e-05/22.65, allocations: 22.66 kB / 5.845 GB, free: 64.68 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006/22.66, allocations: 0.5391 MB / 5.846 GB, free: 64.68 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.47e-05/22.66, allocations: 32.03 kB / 5.846 GB, free: 64.68 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006805/22.66, allocations: 315.8 kB / 5.846 GB, free: 64.67 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004462/22.66, allocations: 96.09 kB / 5.846 GB, free: 64.67 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.0008759/22.66, allocations: 157.4 kB / 5.846 GB, free: 64.55 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008733/22.67, allocations: 218.8 kB / 5.846 GB, free: 64.44 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006226/22.67, allocations: 1.626 MB / 5.848 GB, free: 64.33 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.672e-05/22.67, allocations: 12.53 kB / 5.848 GB, free: 64.33 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.778e-06/22.67, allocations: 0 / 5.848 GB, free: 64.33 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.071e-05/22.67, allocations: 7.641 kB / 5.848 GB, free: 64.33 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01493/22.69, allocations: 3.921 MB / 5.852 GB, free: 63.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.817e-05/22.69, allocations: 6.5 kB / 5.852 GB, free: 63.8 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004181/22.69, allocations: 310.2 kB / 5.852 GB, free: 63.8 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-05/22.69, allocations: 17.8 kB / 5.852 GB, free: 63.8 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002584/22.69, allocations: 11.88 kB / 5.852 GB, free: 63.8 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001318/22.69, allocations: 2.37 MB / 5.854 GB, free: 61.46 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.741e-05/22.69, allocations: 13.31 kB / 5.854 GB, free: 61.46 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005862/22.7, allocations: 2.188 MB / 5.857 GB, free: 60.39 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00209/22.7, allocations: 0.5054 MB / 5.857 GB, free: 60.18 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007746/22.7, allocations: 11.58 kB / 5.857 GB, free: 60.17 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005119/22.71, allocations: 251.6 kB / 5.857 GB, free: 60.16 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000372/22.71, allocations: 85.53 kB / 5.857 GB, free: 60.16 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003285/22.71, allocations: 68.08 kB / 5.857 GB, free: 60.16 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.002637/22.71, allocations: 1.127 MB / 5.859 GB, free: 60.01 MB / 0.9792 GB Notification: Performance of sort global known variables: time 9.72e-07/22.71, allocations: 0 / 5.859 GB, free: 60.01 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.009175/22.72, allocations: 1.727 MB / 5.86 GB, free: 59.84 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.0146/22.73, allocations: 8.266 MB / 5.868 GB, free: 55.55 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.00843/22.74, allocations: 2.836 MB / 5.871 GB, free: 55.27 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.958e-05/22.74, allocations: 1.641 kB / 5.871 GB, free: 55.27 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001909/22.74, allocations: 0.6286 MB / 5.872 GB, free: 55.27 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007105/22.75, allocations: 0.7275 MB / 5.872 GB, free: 55.24 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00891/22.76, allocations: 3.022 MB / 5.875 GB, free: 54.25 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001662/22.76, allocations: 1.735 MB / 5.877 GB, free: 53.52 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.007238/22.77, allocations: 0.8165 MB / 5.878 GB, free: 53.5 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008792/22.77, allocations: 135 kB / 5.878 GB, free: 53.49 MB / 0.9792 GB Notification: Performance of SimCode: time 1.483e-06/22.77, allocations: 0 / 5.878 GB, free: 53.49 MB / 0.9792 GB Notification: Performance of Templates: time 0.1705/22.94, allocations: 69.14 MB / 5.945 GB, free: 47.08 MB / 0.9792 GB