Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.785/1.785, allocations: 285.6 MB / 293.1 MB, free: 10.21 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001687/0.001687, allocations: 175.9 kB / 361.4 MB, free: 6.832 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.96/1.96, allocations: 205.2 MB / 0.62 GB, free: 11.65 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001052/0.001051, allocations: 98.58 kB / 0.733 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.005e-05/2.007e-05, allocations: 4 kB / 0.8517 GB, free: 2.777 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7676/0.7676, allocations: 115.3 MB / 0.9644 GB, free: 78.85 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.981/5.748, allocations: 2.094 GB / 3.058 GB, free: 20.88 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002827/5.749, allocations: 95.16 kB / 3.058 GB, free: 20.84 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 11.3/17.05, allocations: 2.784 GB / 5.842 GB, free: 86.88 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.224e-06/17.05, allocations: 0 / 5.842 GB, free: 86.88 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.0002341/17.05, allocations: 66.12 kB / 5.842 GB, free: 86.88 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 536 * Number of variables: 536 Notification: Performance of Generate backend data structure: time 0.01168/17.06, allocations: 3.494 MB / 5.845 GB, free: 85.48 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/17.06, allocations: 9.094 kB / 5.845 GB, free: 85.48 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009822/17.07, allocations: 1.2 MB / 5.847 GB, free: 85.32 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00698/17.08, allocations: 2.571 MB / 5.849 GB, free: 84.85 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001213/17.08, allocations: 350.3 kB / 5.85 GB, free: 84.84 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007769/17.08, allocations: 135.1 kB / 5.85 GB, free: 84.84 MB / 1.042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004461/17.09, allocations: 2.432 MB / 5.852 GB, free: 84.82 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003853/17.09, allocations: 2.376 MB / 5.854 GB, free: 84.43 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.575e-05/17.09, allocations: 1.781 kB / 5.854 GB, free: 84.43 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002397/17.09, allocations: 9.578 kB / 5.854 GB, free: 84.43 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.421e-05/17.09, allocations: 91.17 kB / 5.854 GB, free: 84.42 MB / 1.042 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.02071/17.11, allocations: 13.58 MB / 5.868 GB, free: 77.05 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002108/17.11, allocations: 1.489 MB / 5.869 GB, free: 76.83 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008202/17.11, allocations: 0.6062 MB / 5.87 GB, free: 76.82 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005465/17.11, allocations: 322.2 kB / 5.87 GB, free: 76.54 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.65e-05/17.11, allocations: 54.78 kB / 5.87 GB, free: 76.49 MB / 1.042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002002/17.12, allocations: 160.8 kB / 5.87 GB, free: 76.43 MB / 1.042 GB Notification: Performance of pre-optimization done (n=110): time 5.62e-06/17.12, allocations: 0 / 5.87 GB, free: 76.43 MB / 1.042 GB Notification: Performance of matching and sorting (n=110): time 0.003125/17.12, allocations: 1.517 MB / 5.872 GB, free: 76.25 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.326e-05/17.12, allocations: 65.56 kB / 5.872 GB, free: 76.19 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00252/17.12, allocations: 1.558 MB / 5.873 GB, free: 75.97 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.0002036/17.12, allocations: 34.75 kB / 5.873 GB, free: 75.94 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009729/17.12, allocations: 1.293 MB / 5.875 GB, free: 75.38 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003141/17.12, allocations: 380.4 kB / 5.875 GB, free: 75.13 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/17.12, allocations: 3.219 kB / 5.875 GB, free: 75.13 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001318/17.12, allocations: 367.8 kB / 5.875 GB, free: 74.82 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009629/17.13, allocations: 0.6705 MB / 5.876 GB, free: 74.82 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001378/17.13, allocations: 1.318 MB / 5.877 GB, free: 74.05 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002225/17.13, allocations: 1.156 MB / 5.878 GB, free: 74.04 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.097e-06/17.13, allocations: 7.062 kB / 5.878 GB, free: 74.03 MB / 1.042 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.004267/17.13, allocations: 2.372 MB / 5.881 GB, free: 73.86 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.001095/17.13, allocations: 5.637 MB / 5.886 GB, free: 68 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.282e-05/17.13, allocations: 14.94 kB / 5.886 GB, free: 68 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.973e-05/17.13, allocations: 21.72 kB / 5.886 GB, free: 68 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00283/17.14, allocations: 0.567 MB / 5.887 GB, free: 68 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009329/17.14, allocations: 2.398 MB / 5.889 GB, free: 65.66 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003831/17.14, allocations: 391.6 kB / 5.89 GB, free: 65.64 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002449/17.14, allocations: 90.72 kB / 5.89 GB, free: 65.64 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/17.14, allocations: 4.781 kB / 5.89 GB, free: 65.64 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003698/17.15, allocations: 2.135 MB / 5.892 GB, free: 65.61 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.612e-05/17.15, allocations: 13.27 kB / 5.892 GB, free: 65.61 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/17.15, allocations: 23.81 kB / 5.892 GB, free: 65.61 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002377/17.15, allocations: 0.5372 MB / 5.892 GB, free: 65.61 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.081e-05/17.15, allocations: 30.56 kB / 5.892 GB, free: 65.61 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003178/17.15, allocations: 306.7 kB / 5.893 GB, free: 65.6 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002404/17.15, allocations: 96.84 kB / 5.893 GB, free: 65.6 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * 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.0005348/17.15, allocations: 171.8 kB / 5.893 GB, free: 65.48 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004124/17.15, allocations: 220.4 kB / 5.893 GB, free: 65.36 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002784/17.16, allocations: 1.618 MB / 5.895 GB, free: 65.26 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/17.16, allocations: 11.84 kB / 5.895 GB, free: 65.26 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/17.16, allocations: 0 / 5.895 GB, free: 65.26 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/17.16, allocations: 6.562 kB / 5.895 GB, free: 65.26 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006209/17.16, allocations: 3.92 MB / 5.898 GB, free: 64.74 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.769e-06/17.16, allocations: 8.844 kB / 5.898 GB, free: 64.74 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001582/17.16, allocations: 311.6 kB / 5.899 GB, free: 64.74 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.469e-05/17.16, allocations: 19.41 kB / 5.899 GB, free: 64.73 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.884e-05/17.16, allocations: 22.34 kB / 5.899 GB, free: 64.73 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007513/17.16, allocations: 2.369 MB / 5.901 GB, free: 62.39 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.146e-06/17.16, allocations: 7.406 kB / 5.901 GB, free: 62.39 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00292/17.17, allocations: 2.205 MB / 5.903 GB, free: 61.31 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001239/17.17, allocations: 0.4888 MB / 5.904 GB, free: 61.11 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002839/17.17, allocations: 7.906 kB / 5.904 GB, free: 61.11 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002193/17.17, allocations: 243.9 kB / 5.904 GB, free: 61.1 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/17.17, allocations: 78.28 kB / 5.904 GB, free: 61.09 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001267/17.17, allocations: 63.45 kB / 5.904 GB, free: 61.09 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.001784/17.17, allocations: 1.152 MB / 5.905 GB, free: 60.95 MB / 1.042 GB Notification: Performance of sort global known variables: time 3.21e-07/17.17, allocations: 0 / 5.905 GB, free: 60.95 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.006966/17.18, allocations: 1.729 MB / 5.907 GB, free: 60.76 MB / 1.042 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.01404/17.19, allocations: 8.261 MB / 5.915 GB, free: 56.51 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.005299/17.2, allocations: 2.85 MB / 5.918 GB, free: 56.23 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.326e-05/17.2, allocations: 3.406 kB / 5.918 GB, free: 56.23 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.001045/17.2, allocations: 0.6231 MB / 5.918 GB, free: 56.23 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004091/17.2, allocations: 0.7355 MB / 5.919 GB, free: 56.2 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005926/17.21, allocations: 3.083 MB / 5.922 GB, free: 55.19 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00113/17.21, allocations: 1.753 MB / 5.924 GB, free: 54.44 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.004233/17.22, allocations: 0.82 MB / 5.925 GB, free: 54.42 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004627/17.22, allocations: 140.8 kB / 5.925 GB, free: 54.41 MB / 1.042 GB Notification: Performance of SimCode: time 1.112e-06/17.22, allocations: 0 / 5.925 GB, free: 54.41 MB / 1.042 GB Notification: Performance of Templates: time 0.101/17.32, allocations: 69.67 MB / 5.993 GB, free: 47.65 MB / 1.042 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1)