Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/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") 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.52/2.52, allocations: 251.1 MB / 266.7 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001306/0.001306, allocations: 178.7 kB / 326.2 MB, free: 2.867 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.343/2.343, allocations: 205.4 MB / 0.5772 GB, free: 20.82 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009246/0.0009247, allocations: 80.3 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004612/0.0004615, allocations: 14.56 kB / 0.7957 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.209, allocations: 106.3 MB / 0.8995 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.896/8.105, allocations: 2.213 GB / 3.112 GB, free: 243.7 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003293/8.106, allocations: 100.3 kB / 3.112 GB, free: 243.7 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 15.7/23.8, allocations: 2.72 GB / 5.833 GB, free: 60.49 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.715e-06/23.8, allocations: 4 kB / 5.833 GB, free: 60.48 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0003931/23.81, allocations: 68.12 kB / 5.833 GB, free: 60.47 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.01778/23.82, allocations: 3.885 MB / 5.837 GB, free: 56.66 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/23.82, allocations: 16.02 kB / 5.837 GB, free: 56.65 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01787/23.84, allocations: 1.183 MB / 5.838 GB, free: 55.46 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01122/23.85, allocations: 2.361 MB / 5.84 GB, free: 53.05 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002555/23.85, allocations: 438.6 kB / 5.84 GB, free: 52.62 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001221/23.86, allocations: 219.9 kB / 5.841 GB, free: 52.41 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01359/23.87, allocations: 3.173 MB / 5.844 GB, free: 49.07 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001162/23.87, allocations: 7.938 kB / 5.844 GB, free: 49.06 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009635/23.87, allocations: 92 kB / 5.844 GB, free: 48.97 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001461/23.87, allocations: 92.05 kB / 5.844 GB, free: 48.88 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01461/23.89, allocations: 3.228 MB / 5.847 GB, free: 45.63 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.03802/23.92, allocations: 14.07 MB / 5.861 GB, free: 30.49 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00716/23.93, allocations: 1.7 MB / 5.862 GB, free: 28.78 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003206/23.93, allocations: 0.7899 MB / 5.863 GB, free: 27.99 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000873/23.94, allocations: 325.2 kB / 5.864 GB, free: 27.62 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.02e-05/23.94, allocations: 51.8 kB / 5.864 GB, free: 27.55 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002666/23.94, allocations: 218.3 kB / 5.864 GB, free: 27.34 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=110): time 8.486e-06/23.94, allocations: 0 / 5.864 GB, free: 27.34 MB / 0.9792 GB Notification: Performance of matching and sorting (n=110): time 0.01277/23.95, allocations: 2.391 MB / 5.866 GB, free: 24.95 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.016e-05/23.95, allocations: 64.41 kB / 5.866 GB, free: 24.87 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007877/23.96, allocations: 2.511 MB / 5.869 GB, free: 22.34 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0006989/23.96, allocations: 57.64 kB / 5.869 GB, free: 22.28 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.002098/23.96, allocations: 1.245 MB / 5.87 GB, free: 21.02 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.000876/23.96, allocations: 394.5 kB / 5.87 GB, free: 20.62 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000424/23.96, allocations: 32 kB / 5.87 GB, free: 20.59 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0002228/23.96, allocations: 369.9 kB / 5.871 GB, free: 20.23 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007084/23.97, allocations: 0.9915 MB / 5.872 GB, free: 19.23 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007665/23.98, allocations: 1.613 MB / 5.873 GB, free: 17.35 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007449/23.99, allocations: 1.194 MB / 5.874 GB, free: 16.15 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.113e-05/23.99, allocations: 4 kB / 5.874 GB, free: 16.14 MB / 0.9792 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.01675/24, allocations: 2.886 MB / 5.877 GB, free: 13.24 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003525/24, allocations: 0.5741 MB / 5.878 GB, free: 12.45 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.61e-05/24, allocations: 19.98 kB / 5.878 GB, free: 12.43 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.565e-05/24, allocations: 24 kB / 5.878 GB, free: 12.4 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006188/24.01, allocations: 0.5929 MB / 5.878 GB, free: 11.81 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00137/24.01, allocations: 2.395 MB / 5.881 GB, free: 9.32 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007738/24.02, allocations: 467.1 kB / 5.881 GB, free: 8.863 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007027/24.02, allocations: 95.95 kB / 5.881 GB, free: 8.77 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/24.02, allocations: 4 kB / 5.881 GB, free: 8.766 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01137/24.03, allocations: 2.654 MB / 5.884 GB, free: 6.098 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.613e-05/24.03, allocations: 16 kB / 5.884 GB, free: 6.082 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.077e-05/24.03, allocations: 24 kB / 5.884 GB, free: 6.059 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005054/24.04, allocations: 0.5344 MB / 5.884 GB, free: 5.523 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.335e-05/24.04, allocations: 39.84 kB / 5.884 GB, free: 5.484 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006397/24.04, allocations: 395.1 kB / 5.885 GB, free: 5.098 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006495/24.04, allocations: 99.95 kB / 5.885 GB, free: 5 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 () * 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.002394/24.05, allocations: 0.6216 MB / 5.886 GB, free: 4.367 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008661/24.05, allocations: 264.8 kB / 5.886 GB, free: 4.105 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008263/24.05, allocations: 1.878 MB / 5.888 GB, free: 2.211 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.067e-05/24.05, allocations: 8 kB / 5.888 GB, free: 2.203 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-05/24.05, allocations: 4 kB / 5.888 GB, free: 2.199 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.404e-05/24.05, allocations: 7.828 kB / 5.888 GB, free: 2.195 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01746/24.07, allocations: 4.516 MB / 5.892 GB, free: 13.54 MB / 0.9949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.757e-05/24.07, allocations: 4 kB / 5.892 GB, free: 13.54 MB / 0.9949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003717/24.08, allocations: 312 kB / 5.892 GB, free: 13.23 MB / 0.9949 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.262e-05/24.08, allocations: 8 kB / 5.892 GB, free: 13.22 MB / 0.9949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002311/24.08, allocations: 39.97 kB / 5.892 GB, free: 13.18 MB / 0.9949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001715/24.08, allocations: 2.367 MB / 5.895 GB, free: 10.72 MB / 0.9949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.335e-05/24.08, allocations: 8 kB / 5.895 GB, free: 10.71 MB / 0.9949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008101/24.09, allocations: 2 MB / 5.897 GB, free: 8.621 MB / 0.9949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00248/24.09, allocations: 0.5484 MB / 5.897 GB, free: 8.051 MB / 0.9949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009862/24.09, allocations: 27.98 kB / 5.897 GB, free: 8.023 MB / 0.9949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005536/24.1, allocations: 291.4 kB / 5.898 GB, free: 7.738 MB / 0.9949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000365/24.1, allocations: 80.78 kB / 5.898 GB, free: 7.66 MB / 0.9949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003403/24.1, allocations: 63.95 kB / 5.898 GB, free: 7.598 MB / 0.9949 GB Notification: Performance of sorting global known variables: time 0.005793/24.1, allocations: 1.734 MB / 5.899 GB, free: 5.859 MB / 0.9949 GB Notification: Performance of sort global known variables: time 2.975e-06/24.1, allocations: 0 / 5.899 GB, free: 5.859 MB / 0.9949 GB Notification: Performance of remove unused functions: time 0.01073/24.11, allocations: 1.939 MB / 5.901 GB, free: 3.918 MB / 0.9949 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.9269/25.04, allocations: 7.623 MB / 5.909 GB, free: 87.4 MB / 0.9949 GB Notification: Performance of simCode: created initialization part: time 0.01704/25.06, allocations: 3.703 MB / 5.912 GB, free: 87.15 MB / 0.9949 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-05/25.06, allocations: 5.469 kB / 5.912 GB, free: 87.15 MB / 0.9949 GB Notification: Performance of simCode: created simulation system equations: time 0.004177/25.06, allocations: 0.8176 MB / 5.913 GB, free: 87.14 MB / 0.9949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0131/25.07, allocations: 1.226 MB / 5.914 GB, free: 87.11 MB / 0.9949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0146/25.09, allocations: 4.949 MB / 5.919 GB, free: 84.84 MB / 0.9949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002428/25.09, allocations: 1.684 MB / 5.921 GB, free: 84.11 MB / 0.9949 GB Notification: Performance of simCode: alias equations: time 0.007269/25.1, allocations: 0.7812 MB / 5.922 GB, free: 84.09 MB / 0.9949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001756/25.1, allocations: 194.4 kB / 5.922 GB, free: 84.08 MB / 0.9949 GB Notification: Performance of SimCode: time 1.433e-06/25.1, allocations: 1.969 kB / 5.922 GB, free: 84.08 MB / 0.9949 GB Notification: Performance of Templates: time 0.2624/25.36, allocations: 110.6 MB / 6.03 GB, free: 79.34 MB / 0.9949 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & ./Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1)