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.671/1.671, allocations: 288.3 MB / 303.2 MB, free: 8.086 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.001169/0.001169, allocations: 190.1 kB / 371.9 MB, free: 10.29 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.559/1.559, allocations: 205.4 MB / 0.6306 GB, free: 10.08 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000937/0.0009367, allocations: 94.92 kB / 0.7439 GB, free: 6 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005113/0.0005112, allocations: 12 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.2338, allocations: 115.3 MB / 0.9794 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.687/4.921, allocations: 2.095 GB / 3.074 GB, free: 221.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002297/4.921, allocations: 103.9 kB / 3.074 GB, free: 221.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 9.613/14.53, allocations: 2.817 GB / 5.891 GB, free: 27.71 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.633e-06/14.53, allocations: 0 / 5.891 GB, free: 27.71 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.0001694/14.53, allocations: 79.97 kB / 5.891 GB, free: 27.64 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.00988/14.54, allocations: 3.911 MB / 5.895 GB, free: 23.68 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/14.54, allocations: 8.031 kB / 5.895 GB, free: 23.67 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00929/14.55, allocations: 1.194 MB / 5.896 GB, free: 22.47 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007584/14.56, allocations: 2.605 MB / 5.899 GB, free: 19.79 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001182/14.56, allocations: 432.2 kB / 5.899 GB, free: 19.36 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006719/14.56, allocations: 224 kB / 5.899 GB, free: 19.14 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005446/14.57, allocations: 3.124 MB / 5.902 GB, free: 15.86 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.753e-05/14.57, allocations: 7.938 kB / 5.902 GB, free: 15.85 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002454/14.57, allocations: 88 kB / 5.902 GB, free: 15.76 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.871e-05/14.57, allocations: 88 kB / 5.902 GB, free: 15.67 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00579/14.57, allocations: 3.228 MB / 5.906 GB, free: 12.43 MB / 1.042 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.01862/14.59, allocations: 14.08 MB / 5.919 GB, free: 13.27 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003882/14.6, allocations: 1.714 MB / 5.921 GB, free: 11.54 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000553/14.6, allocations: 325.2 kB / 5.921 GB, free: 11.17 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.344e-05/14.6, allocations: 51.56 kB / 5.921 GB, free: 11.11 MB / 1.057 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001714/14.6, allocations: 222.3 kB / 5.921 GB, free: 10.89 MB / 1.057 GB Notification: Performance of pre-optimization done (n=110): time 4.829e-06/14.6, allocations: 0 / 5.921 GB, free: 10.89 MB / 1.057 GB Notification: Performance of matching and sorting (n=110): time 0.005665/14.6, allocations: 2.398 MB / 5.924 GB, free: 8.488 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/14.6, allocations: 64.41 kB / 5.924 GB, free: 8.414 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00515/14.61, allocations: 2.242 MB / 5.926 GB, free: 6.16 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.0006122/14.61, allocations: 57.7 kB / 5.926 GB, free: 6.098 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.001177/14.61, allocations: 1.278 MB / 5.927 GB, free: 4.805 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003938/14.61, allocations: 382.5 kB / 5.928 GB, free: 4.426 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/14.61, allocations: 40 kB / 5.928 GB, free: 4.387 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001576/14.61, allocations: 373.9 kB / 5.928 GB, free: 4.016 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002413/14.61, allocations: 0.9915 MB / 5.929 GB, free: 3.023 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002883/14.62, allocations: 1.666 MB / 5.931 GB, free: 1.066 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002691/14.62, allocations: 1.214 MB / 5.932 GB, free: 15.84 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.167e-05/14.62, allocations: 4 kB / 5.932 GB, free: 15.84 MB / 1.073 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.006608/14.63, allocations: 2.884 MB / 5.935 GB, free: 12.93 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.002297/14.63, allocations: 5.78 MB / 5.94 GB, free: 6.629 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.655e-05/14.63, allocations: 12 kB / 5.94 GB, free: 6.617 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.336e-05/14.63, allocations: 28 kB / 5.94 GB, free: 6.59 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002902/14.63, allocations: 0.5655 MB / 5.941 GB, free: 6.027 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00142/14.63, allocations: 2.391 MB / 5.943 GB, free: 3.543 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004122/14.64, allocations: 467.2 kB / 5.944 GB, free: 3.086 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002657/14.64, allocations: 95.95 kB / 5.944 GB, free: 2.992 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/14.64, allocations: 4 kB / 5.944 GB, free: 2.988 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005983/14.64, allocations: 2.642 MB / 5.946 GB, free: 340 kB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.221e-05/14.64, allocations: 12 kB / 5.946 GB, free: 328 kB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.788e-05/14.64, allocations: 24 kB / 5.946 GB, free: 304 kB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.6917/15.34, allocations: 0.5305 MB / 5.947 GB, free: 104.9 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.964e-05/15.34, allocations: 30.03 kB / 5.947 GB, free: 104.9 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004605/15.34, allocations: 400.9 kB / 5.947 GB, free: 104.9 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004429/15.34, allocations: 96.38 kB / 5.948 GB, free: 104.9 MB / 1.073 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 () * 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.001873/15.34, allocations: 0.6317 MB / 5.948 GB, free: 104.8 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007065/15.34, allocations: 259.1 kB / 5.948 GB, free: 104.8 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004702/15.35, allocations: 1.875 MB / 5.95 GB, free: 104.7 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.531e-05/15.35, allocations: 10.31 kB / 5.95 GB, free: 104.7 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/15.35, allocations: 1.422 kB / 5.95 GB, free: 104.7 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.397e-05/15.35, allocations: 6.672 kB / 5.95 GB, free: 104.7 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01021/15.36, allocations: 4.494 MB / 5.955 GB, free: 104.1 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-05/15.36, allocations: 8.641 kB / 5.955 GB, free: 104.1 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001815/15.36, allocations: 314.7 kB / 5.955 GB, free: 104.1 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.199e-05/15.36, allocations: 11.91 kB / 5.955 GB, free: 104.1 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.861e-05/15.36, allocations: 30.25 kB / 5.955 GB, free: 104.1 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007934/15.36, allocations: 2.375 MB / 5.957 GB, free: 101.8 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.127e-05/15.36, allocations: 10.22 kB / 5.957 GB, free: 101.8 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004895/15.37, allocations: 2.495 MB / 5.96 GB, free: 100.7 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001717/15.37, allocations: 0.5435 MB / 5.96 GB, free: 100.5 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003775/15.37, allocations: 29.12 kB / 5.96 GB, free: 100.5 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002577/15.37, allocations: 283.1 kB / 5.961 GB, free: 100.5 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/15.37, allocations: 79.98 kB / 5.961 GB, free: 100.5 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001505/15.37, allocations: 64.31 kB / 5.961 GB, free: 100.5 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.003552/15.38, allocations: 1.748 MB / 5.962 GB, free: 100.3 MB / 1.073 GB Notification: Performance of sort global known variables: time 1.91e-07/15.38, allocations: 2.375 kB / 5.962 GB, free: 100.3 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.007845/15.38, allocations: 1.933 MB / 5.964 GB, free: 100.2 MB / 1.073 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.01258/15.4, allocations: 7.629 MB / 5.972 GB, free: 96.1 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.009308/15.41, allocations: 3.673 MB / 5.975 GB, free: 95.84 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 1.458e-05/15.41, allocations: 2.844 kB / 5.975 GB, free: 95.84 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.001882/15.41, allocations: 0.8162 MB / 5.976 GB, free: 95.83 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005655/15.41, allocations: 1.196 MB / 5.977 GB, free: 95.79 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007647/15.42, allocations: 4.997 MB / 5.982 GB, free: 93.5 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001209/15.42, allocations: 1.753 MB / 5.984 GB, free: 92.75 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.003965/15.43, allocations: 0.7816 MB / 5.985 GB, free: 92.72 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006118/15.43, allocations: 198.8 kB / 5.985 GB, free: 92.71 MB / 1.073 GB Notification: Performance of SimCode: time 4.91e-07/15.43, allocations: 0 / 5.985 GB, free: 92.71 MB / 1.073 GB Notification: Performance of Templates: time 0.1571/15.58, allocations: 110.7 MB / 6.093 GB, free: 87.85 MB / 1.073 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)