Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5285/0.5285, allocations: 95.61 MB / 110.6 MB, free: 9.352 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001086/0.001086, allocations: 171.2 kB / 134.2 MB, free: 2.266 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.342/1.342, allocations: 170.7 MB / 328.4 MB, free: 12.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001803/0.001803, allocations: 118.9 kB / 390.7 MB, free: 13.94 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000359/0.0003591, allocations: 16 kB / 462.7 MB, free: 35.68 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1294, allocations: 61.52 MB / 0.512 GB, free: 6.094 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.62/10.74, allocations: 4.5 GB / 5.012 GB, free: 83.16 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002926/10.75, allocations: 95.95 kB / 5.013 GB, free: 83.07 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 11.83/22.58, allocations: 2.71 GB / 7.723 GB, free: 28.8 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.036e-06/22.58, allocations: 0 / 7.723 GB, free: 28.8 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0003533/22.58, allocations: 89.09 kB / 7.723 GB, free: 28.78 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 588 * Number of variables: 588 Notification: Performance of Generate backend data structure: time 0.02744/22.6, allocations: 6.469 MB / 7.729 GB, free: 25.32 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/22.6, allocations: 15.05 kB / 7.729 GB, free: 25.31 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002426/22.61, allocations: 378.3 kB / 7.729 GB, free: 25.14 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007618/22.61, allocations: 2.934 MB / 7.732 GB, free: 24.52 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003621/22.61, allocations: 362.9 kB / 7.733 GB, free: 24.32 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006867/22.61, allocations: 238.3 kB / 7.733 GB, free: 24.32 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007024/22.62, allocations: 3.085 MB / 7.736 GB, free: 23.93 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.093e-05/22.62, allocations: 7.031 kB / 7.736 GB, free: 23.92 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004901/22.62, allocations: 103.2 kB / 7.736 GB, free: 23.92 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001008/22.62, allocations: 91.59 kB / 7.736 GB, free: 23.91 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005588/22.63, allocations: 3.099 MB / 7.739 GB, free: 23.86 MB / 0.6511 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.02103/22.65, allocations: 12.04 MB / 7.751 GB, free: 18.26 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003484/22.65, allocations: 1.829 MB / 7.753 GB, free: 18.21 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004188/22.66, allocations: 4.361 MB / 7.757 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.449e-05/22.66, allocations: 59.2 kB / 7.757 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002595/22.66, allocations: 370.5 kB / 7.757 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=148): time 7.133e-06/22.66, allocations: 0 / 7.757 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of matching and sorting (n=148): time 0.007337/22.67, allocations: 2.684 MB / 7.76 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.748e-05/22.67, allocations: 123.1 kB / 7.76 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00273/22.67, allocations: 1.756 MB / 7.762 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0003887/22.67, allocations: 68.58 kB / 7.762 GB, free: 12.17 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008626/22.67, allocations: 1.356 MB / 7.763 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003912/22.67, allocations: 0.5106 MB / 7.764 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/22.67, allocations: 50.69 kB / 7.764 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001446/22.67, allocations: 397.5 kB / 7.764 GB, free: 10.33 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001307/22.67, allocations: 0.8214 MB / 7.765 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001663/22.67, allocations: 1.686 MB / 7.766 GB, free: 8.621 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001591/22.68, allocations: 1.251 MB / 7.768 GB, free: 7.953 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-05/22.68, allocations: 6.281 kB / 7.768 GB, free: 7.953 MB / 0.6511 GB Notification: Performance of matching and sorting (n=298) (initialization): time 0.004762/22.68, allocations: 3.053 MB / 7.771 GB, free: 6.645 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.003712/22.69, allocations: 10.49 MB / 7.781 GB, free: 11.45 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.135e-05/22.69, allocations: 28.41 kB / 7.781 GB, free: 11.45 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004283/22.69, allocations: 464.6 kB / 7.781 GB, free: 11.4 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003463/22.69, allocations: 0.6481 MB / 7.782 GB, free: 11.35 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002098/22.7, allocations: 3.067 MB / 7.785 GB, free: 8.34 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003697/22.7, allocations: 201.7 kB / 7.785 GB, free: 8.172 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004355/22.7, allocations: 150.7 kB / 7.785 GB, free: 8.043 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/22.7, allocations: 4.938 kB / 7.785 GB, free: 8.039 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005465/22.7, allocations: 2.854 MB / 7.788 GB, free: 5.457 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.882e-05/22.7, allocations: 24 kB / 7.788 GB, free: 5.434 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004216/22.71, allocations: 464 kB / 7.789 GB, free: 5.109 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002222/22.71, allocations: 0.5227 MB / 7.789 GB, free: 4.664 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000709/22.71, allocations: 0.7277 MB / 7.79 GB, free: 3.945 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003112/22.72, allocations: 191.4 kB / 7.79 GB, free: 3.785 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003696/22.72, allocations: 148.2 kB / 7.79 GB, free: 3.656 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 113 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (289): * Single equations (assignments): 278 * 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: 1 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.002505/22.72, allocations: 0.6742 MB / 7.791 GB, free: 3 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001105/22.72, allocations: 248.5 kB / 7.791 GB, free: 2.758 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006204/22.73, allocations: 2.488 MB / 7.793 GB, free: 0.6523 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.359e-05/22.73, allocations: 26.98 kB / 7.794 GB, free: 0.6328 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.357e-05/22.73, allocations: 0 / 7.794 GB, free: 0.6328 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.065e-05/22.73, allocations: 6.797 kB / 7.794 GB, free: 0.6328 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01312/22.74, allocations: 4.493 MB / 7.798 GB, free: 13.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.411e-05/22.74, allocations: 0 / 7.798 GB, free: 13.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002489/22.74, allocations: 411.3 kB / 7.798 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00431/22.75, allocations: 445.6 kB / 7.799 GB, free: 12.59 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001803/22.75, allocations: 51.5 kB / 7.799 GB, free: 12.55 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00217/22.75, allocations: 3.01 MB / 7.802 GB, free: 9.465 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/22.75, allocations: 0 / 7.802 GB, free: 9.465 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005196/22.75, allocations: 2.309 MB / 7.804 GB, free: 7.266 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002305/22.76, allocations: 0.5367 MB / 7.804 GB, free: 6.797 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008169/22.76, allocations: 32 kB / 7.805 GB, free: 6.766 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002683/22.76, allocations: 181 kB / 7.805 GB, free: 6.629 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002231/22.76, allocations: 120.7 kB / 7.805 GB, free: 6.551 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003411/22.76, allocations: 89.67 kB / 7.805 GB, free: 6.48 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.003194/22.76, allocations: 1.319 MB / 7.806 GB, free: 5.371 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.01e-07/22.76, allocations: 0 / 7.806 GB, free: 5.371 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.01483/22.78, allocations: 2.896 MB / 7.809 GB, free: 2.539 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (165): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.6096/23.39, allocations: 5.075 MB / 7.814 GB, free: 64.77 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01509/23.4, allocations: 4.326 MB / 7.818 GB, free: 64.01 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.598e-05/23.4, allocations: 4.281 kB / 7.818 GB, free: 64.01 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.003467/23.41, allocations: 1.059 MB / 7.819 GB, free: 64 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005687/23.41, allocations: 1.02 MB / 7.82 GB, free: 63.97 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01121/23.42, allocations: 5.492 MB / 7.826 GB, free: 61.54 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001797/23.42, allocations: 1.83 MB / 7.827 GB, free: 60.78 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00486/23.43, allocations: 0.8304 MB / 7.828 GB, free: 60.74 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000742/23.43, allocations: 221.5 kB / 7.828 GB, free: 60.73 MB / 0.6823 GB Notification: Performance of SimCode: time 2.605e-06/23.43, allocations: 1.188 kB / 7.828 GB, free: 60.73 MB / 0.6823 GB Notification: Performance of Templates: time 0.1619/23.59, allocations: 103.9 MB / 7.93 GB, free: 55.14 MB / 0.6823 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile (rm -f Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & ./Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1)