Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.673/1.673, allocations: 289.7 MB / 302.3 MB, free: 2.148 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.00125/0.001251, allocations: 182 kB / 371.6 MB, free: 3.395 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.982/1.982, allocations: 205.1 MB / 0.6309 GB, free: 11.78 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.00108/0.00108, allocations: 92.48 kB / 0.745 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.588e-05/4.592e-05, allocations: 8 kB / 0.8662 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3167, allocations: 116.3 MB / 0.9798 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.676/6.993, allocations: 2.096 GB / 3.075 GB, free: 115.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002179/6.994, allocations: 93.05 kB / 3.075 GB, free: 115.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 12.18/19.18, allocations: 2.814 GB / 5.89 GB, free: 82.44 MB / 1.057 GB Notification: Performance of FrontEnd: time 2.295e-06/19.18, allocations: 0 / 5.89 GB, free: 82.44 MB / 1.057 GB Notification: Performance of Transformations before backend: time 0.0003175/19.18, allocations: 71.67 kB / 5.89 GB, free: 82.44 MB / 1.057 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.01491/19.19, allocations: 3.493 MB / 5.893 GB, free: 81.32 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 5.409e-05/19.19, allocations: 13.84 kB / 5.893 GB, free: 81.32 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0106/19.2, allocations: 1.199 MB / 5.894 GB, free: 81.16 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008279/19.21, allocations: 2.565 MB / 5.897 GB, free: 80.75 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001377/19.21, allocations: 436 kB / 5.897 GB, free: 80.75 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009143/19.21, allocations: 222.3 kB / 5.897 GB, free: 80.75 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005117/19.22, allocations: 2.823 MB / 5.9 GB, free: 80.34 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.541e-05/19.22, allocations: 6.953 kB / 5.9 GB, free: 80.34 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002833/19.22, allocations: 89.81 kB / 5.9 GB, free: 80.34 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.991e-05/19.22, allocations: 87.89 kB / 5.9 GB, free: 80.33 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00442/19.22, allocations: 2.654 MB / 5.903 GB, free: 80.3 MB / 1.057 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.02176/19.25, allocations: 14.08 MB / 5.917 GB, free: 72.9 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002617/19.25, allocations: 1.417 MB / 5.918 GB, free: 72.86 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008906/19.25, allocations: 0.6429 MB / 5.919 GB, free: 72.85 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005345/19.25, allocations: 324.7 kB / 5.919 GB, free: 72.57 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/19.25, allocations: 49.66 kB / 5.919 GB, free: 72.53 MB / 1.057 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002098/19.25, allocations: 215.6 kB / 5.919 GB, free: 72.48 MB / 1.057 GB Notification: Performance of pre-optimization done (n=110): time 4.268e-06/19.25, allocations: 0.6562 kB / 5.919 GB, free: 72.48 MB / 1.057 GB Notification: Performance of matching and sorting (n=110): time 0.002611/19.26, allocations: 1.439 MB / 5.921 GB, free: 72.3 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/19.26, allocations: 64.56 kB / 5.921 GB, free: 72.24 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003143/19.26, allocations: 2.085 MB / 5.923 GB, free: 72 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.0002328/19.26, allocations: 60.2 kB / 5.923 GB, free: 71.97 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.001001/19.26, allocations: 1.267 MB / 5.924 GB, free: 71.61 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003258/19.26, allocations: 397.7 kB / 5.924 GB, free: 71.42 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/19.26, allocations: 35.84 kB / 5.924 GB, free: 71.42 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001171/19.26, allocations: 371 kB / 5.925 GB, free: 71.11 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001326/19.26, allocations: 0.7158 MB / 5.925 GB, free: 71.11 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001727/19.26, allocations: 1.385 MB / 5.927 GB, free: 70.34 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001402/19.26, allocations: 0.9319 MB / 5.928 GB, free: 70.26 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.035e-05/19.26, allocations: 7.094 kB / 5.928 GB, free: 70.26 MB / 1.057 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.003942/19.27, allocations: 2.317 MB / 5.93 GB, free: 70.01 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.001297/19.27, allocations: 5.782 MB / 5.936 GB, free: 63.9 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.26e-05/19.27, allocations: 14.72 kB / 5.936 GB, free: 63.9 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.488e-05/19.27, allocations: 28.03 kB / 5.936 GB, free: 63.9 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002874/19.27, allocations: 0.5586 MB / 5.936 GB, free: 63.9 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009614/19.27, allocations: 2.391 MB / 5.939 GB, free: 61.56 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004786/19.28, allocations: 471.1 kB / 5.939 GB, free: 61.53 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004176/19.28, allocations: 95.78 kB / 5.939 GB, free: 61.53 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/19.28, allocations: 4.094 kB / 5.939 GB, free: 61.53 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004127/19.28, allocations: 2.084 MB / 5.941 GB, free: 61.43 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.7e-05/19.28, allocations: 14.09 kB / 5.941 GB, free: 61.43 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.311e-05/19.28, allocations: 23.78 kB / 5.941 GB, free: 61.43 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002505/19.29, allocations: 0.5395 MB / 5.942 GB, free: 61.43 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.217e-05/19.29, allocations: 29.94 kB / 5.942 GB, free: 61.43 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004446/19.29, allocations: 403.6 kB / 5.942 GB, free: 61.41 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003131/19.29, allocations: 95.11 kB / 5.942 GB, free: 61.41 MB / 1.057 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.0008725/19.29, allocations: 215.2 kB / 5.942 GB, free: 61.29 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001135/19.29, allocations: 262.6 kB / 5.943 GB, free: 61.16 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00427/19.3, allocations: 1.576 MB / 5.944 GB, free: 61.05 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-05/19.3, allocations: 10.38 kB / 5.944 GB, free: 61.05 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/19.3, allocations: 1.062 kB / 5.944 GB, free: 61.05 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.538e-05/19.3, allocations: 3.469 kB / 5.944 GB, free: 61.05 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01023/19.31, allocations: 4.19 MB / 5.948 GB, free: 60.51 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.326e-05/19.31, allocations: 7.438 kB / 5.948 GB, free: 60.51 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001756/19.31, allocations: 317.6 kB / 5.949 GB, free: 60.51 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.186e-05/19.31, allocations: 12.09 kB / 5.949 GB, free: 60.51 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.952e-05/19.31, allocations: 30.91 kB / 5.949 GB, free: 60.51 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007566/19.31, allocations: 2.372 MB / 5.951 GB, free: 58.17 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.06e-05/19.31, allocations: 8.5 kB / 5.951 GB, free: 58.17 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003556/19.31, allocations: 2.2 MB / 5.953 GB, free: 56.98 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002271/19.32, allocations: 0.5434 MB / 5.954 GB, free: 56.75 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004859/19.32, allocations: 26.34 kB / 5.954 GB, free: 56.75 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002789/19.32, allocations: 283.1 kB / 5.954 GB, free: 56.74 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001728/19.32, allocations: 81.88 kB / 5.954 GB, free: 56.73 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001548/19.32, allocations: 60.45 kB / 5.954 GB, free: 56.73 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.003109/19.32, allocations: 1.593 MB / 5.956 GB, free: 56.57 MB / 1.057 GB Notification: Performance of sort global known variables: time 1.744e-06/19.32, allocations: 1.875 kB / 5.956 GB, free: 56.57 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.008649/19.33, allocations: 1.935 MB / 5.958 GB, free: 56.43 MB / 1.057 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.01693/19.35, allocations: 7.639 MB / 5.965 GB, free: 52.2 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.006039/19.35, allocations: 3.037 MB / 5.968 GB, free: 51.91 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.722e-05/19.35, allocations: 7.141 kB / 5.968 GB, free: 51.91 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.001207/19.36, allocations: 0.661 MB / 5.969 GB, free: 51.9 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007076/19.36, allocations: 1.194 MB / 5.97 GB, free: 51.86 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006362/19.37, allocations: 3.217 MB / 5.973 GB, free: 50.86 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001266/19.37, allocations: 1.748 MB / 5.975 GB, free: 50.1 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.005613/19.38, allocations: 0.9801 MB / 5.976 GB, free: 50.07 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005485/19.38, allocations: 152.3 kB / 5.976 GB, free: 50.06 MB / 1.057 GB Notification: Performance of SimCode: time 7.02e-07/19.38, allocations: 0 / 5.976 GB, free: 50.06 MB / 1.057 GB Notification: Performance of Templates: time 0.1896/19.57, allocations: 128.9 MB / 6.102 GB, free: 43.05 MB / 1.057 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1)