Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.611/2.611, allocations: 287.5 MB / 303.2 MB, free: 8.301 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.001374/0.001374, allocations: 176.8 kB / 371.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.049/2.049, allocations: 205.4 MB / 0.6305 GB, free: 10.44 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.0009147/0.0009142, allocations: 91.22 kB / 0.7438 GB, free: 6.438 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004515/0.0004517, allocations: 11 kB / 0.8667 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1992/0.1997, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.296/6.495, allocations: 2.095 GB / 3.074 GB, free: 203.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003304/6.496, allocations: 99.95 kB / 3.074 GB, free: 203.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 14.77/21.26, allocations: 2.811 GB / 5.885 GB, free: 10 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.615e-06/21.26, allocations: 0 / 5.885 GB, free: 10 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.0003692/21.26, allocations: 71.98 kB / 5.885 GB, free: 9.93 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.01678/21.28, allocations: 3.886 MB / 5.889 GB, free: 5.984 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/21.28, allocations: 8.031 kB / 5.889 GB, free: 5.977 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01875/21.3, allocations: 1.195 MB / 5.89 GB, free: 4.777 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01381/21.31, allocations: 2.431 MB / 5.892 GB, free: 2.27 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003618/21.32, allocations: 440.2 kB / 5.893 GB, free: 1.836 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001366/21.32, allocations: 224 kB / 5.893 GB, free: 1.617 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01668/21.34, allocations: 3.144 MB / 5.896 GB, free: 14.31 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001022/21.34, allocations: 7.938 kB / 5.896 GB, free: 14.3 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007122/21.34, allocations: 88 kB / 5.896 GB, free: 14.21 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000216/21.34, allocations: 92 kB / 5.896 GB, free: 14.12 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02216/21.36, allocations: 3.228 MB / 5.899 GB, free: 10.88 MB / 1.057 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.9469/22.31, allocations: 14.07 MB / 5.913 GB, free: 86.58 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007544/22.31, allocations: 1.704 MB / 5.915 GB, free: 86.55 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003323/22.32, allocations: 0.7907 MB / 5.915 GB, free: 86.54 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008133/22.32, allocations: 327.7 kB / 5.916 GB, free: 86.25 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.809e-05/22.32, allocations: 51.34 kB / 5.916 GB, free: 86.21 MB / 1.057 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002594/22.32, allocations: 214.2 kB / 5.916 GB, free: 86.21 MB / 1.057 GB Notification: Performance of pre-optimization done (n=110): time 8.176e-06/22.32, allocations: 0 / 5.916 GB, free: 86.21 MB / 1.057 GB Notification: Performance of matching and sorting (n=110): time 0.01094/22.33, allocations: 2.392 MB / 5.918 GB, free: 86.16 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/22.33, allocations: 69.34 kB / 5.918 GB, free: 86.09 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007537/22.34, allocations: 2.534 MB / 5.921 GB, free: 85.87 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.0005942/22.34, allocations: 56.11 kB / 5.921 GB, free: 85.84 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.001536/22.34, allocations: 1.282 MB / 5.922 GB, free: 85.51 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006271/22.34, allocations: 384 kB / 5.922 GB, free: 85.32 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002431/22.34, allocations: 36.09 kB / 5.922 GB, free: 85.32 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001397/22.34, allocations: 371.8 kB / 5.923 GB, free: 85.02 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004775/22.35, allocations: 0.9948 MB / 5.924 GB, free: 85.02 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005939/22.35, allocations: 1.669 MB / 5.925 GB, free: 84.25 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009198/22.36, allocations: 2.319 MB / 5.928 GB, free: 83.69 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-05/22.36, allocations: 4.641 kB / 5.928 GB, free: 83.69 MB / 1.057 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.0141/22.38, allocations: 2.888 MB / 5.931 GB, free: 83.45 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004402/22.38, allocations: 0.5526 MB / 5.931 GB, free: 82.82 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.646e-05/22.38, allocations: 17.84 kB / 5.931 GB, free: 82.81 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.08e-05/22.38, allocations: 25.31 kB / 5.931 GB, free: 82.81 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006026/22.38, allocations: 0.5844 MB / 5.932 GB, free: 82.81 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001304/22.38, allocations: 2.389 MB / 5.934 GB, free: 80.48 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007439/22.39, allocations: 468.7 kB / 5.934 GB, free: 80.46 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005989/22.39, allocations: 92.66 kB / 5.935 GB, free: 80.46 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/22.39, allocations: 7.312 kB / 5.935 GB, free: 80.46 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01081/22.4, allocations: 2.652 MB / 5.937 GB, free: 80.36 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.868e-05/22.4, allocations: 11.12 kB / 5.937 GB, free: 80.36 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.786e-05/22.4, allocations: 24.34 kB / 5.937 GB, free: 80.36 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00472/22.41, allocations: 0.5328 MB / 5.938 GB, free: 80.36 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.96e-05/22.41, allocations: 36.42 kB / 5.938 GB, free: 80.36 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005991/22.41, allocations: 394.6 kB / 5.938 GB, free: 80.35 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004543/22.41, allocations: 97.73 kB / 5.938 GB, free: 80.35 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 () * 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.002113/22.42, allocations: 0.6264 MB / 5.939 GB, free: 80.16 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008064/22.42, allocations: 269.9 kB / 5.939 GB, free: 80.02 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007393/22.43, allocations: 1.868 MB / 5.941 GB, free: 79.93 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.825e-05/22.43, allocations: 11.94 kB / 5.941 GB, free: 79.93 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.337e-06/22.43, allocations: 3.469 kB / 5.941 GB, free: 79.93 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.946e-05/22.43, allocations: 7.219 kB / 5.941 GB, free: 79.93 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01547/22.44, allocations: 4.496 MB / 5.945 GB, free: 79.36 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.444e-05/22.44, allocations: 6.625 kB / 5.945 GB, free: 79.36 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003089/22.44, allocations: 313.6 kB / 5.946 GB, free: 79.36 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-05/22.44, allocations: 9.375 kB / 5.946 GB, free: 79.36 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001742/22.44, allocations: 33.53 kB / 5.946 GB, free: 79.36 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001052/22.45, allocations: 2.371 MB / 5.948 GB, free: 77.02 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.886e-06/22.45, allocations: 8.328 kB / 5.948 GB, free: 77.02 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007339/22.45, allocations: 1.994 MB / 5.95 GB, free: 76.51 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002299/22.46, allocations: 0.5485 MB / 5.95 GB, free: 76.28 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007924/22.46, allocations: 29.91 kB / 5.95 GB, free: 76.27 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004913/22.46, allocations: 279.8 kB / 5.951 GB, free: 76.27 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000242/22.46, allocations: 83.92 kB / 5.951 GB, free: 76.27 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002561/22.46, allocations: 65.92 kB / 5.951 GB, free: 76.27 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.005307/22.47, allocations: 1.745 MB / 5.953 GB, free: 76.12 MB / 1.057 GB Notification: Performance of sort global known variables: time 8.81e-07/22.47, allocations: 0 / 5.953 GB, free: 76.12 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.009945/22.48, allocations: 1.933 MB / 5.954 GB, free: 76.06 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 () * 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.01592/22.49, allocations: 7.634 MB / 5.962 GB, free: 71.91 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.01707/22.51, allocations: 3.702 MB / 5.966 GB, free: 71.63 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-05/22.51, allocations: 3.5 kB / 5.966 GB, free: 71.63 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.003786/22.51, allocations: 0.8249 MB / 5.966 GB, free: 71.63 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01604/22.53, allocations: 1.303 MB / 5.968 GB, free: 71.59 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01238/22.54, allocations: 5.021 MB / 5.973 GB, free: 69.3 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001543/22.54, allocations: 1.692 MB / 5.974 GB, free: 68.54 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.00647/22.55, allocations: 0.7921 MB / 5.975 GB, free: 68.52 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001331/22.55, allocations: 223.1 kB / 5.975 GB, free: 68.51 MB / 1.057 GB Notification: Performance of SimCode: time 1.483e-06/22.55, allocations: 0 / 5.975 GB, free: 68.51 MB / 1.057 GB Notification: Performance of Templates: time 0.2588/22.81, allocations: 115.5 MB / 6.088 GB, free: 63.04 MB / 1.057 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & ./Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1)