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.686/1.686, allocations: 285.4 MB / 298 MB, free: 5.988 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.001316/0.001316, allocations: 172.9 kB / 366.4 MB, free: 2.086 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.819/1.819, allocations: 205.1 MB / 0.6248 GB, free: 7.719 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.0009336/0.0009337, allocations: 93.59 kB / 0.738 GB, free: 40.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.601e-05/3.604e-05, allocations: 7.984 kB / 0.8583 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.922/0.922, allocations: 115.3 MB / 0.9709 GB, free: 77.97 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.394/7.316, allocations: 2.095 GB / 3.065 GB, free: 281 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000347/7.317, allocations: 94.56 kB / 3.066 GB, free: 281 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 11.74/19.06, allocations: 2.814 GB / 5.88 GB, free: 71.58 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.914e-06/19.06, allocations: 0 / 5.88 GB, free: 71.58 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.0003932/19.06, allocations: 72.97 kB / 5.88 GB, free: 71.57 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.0141/19.08, allocations: 3.49 MB / 5.883 GB, free: 70.02 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.711e-05/19.08, allocations: 7.25 kB / 5.883 GB, free: 70.02 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01023/19.09, allocations: 1.198 MB / 5.884 GB, free: 69.86 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009032/19.09, allocations: 2.583 MB / 5.887 GB, free: 69.32 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00143/19.1, allocations: 430.8 kB / 5.887 GB, free: 69.31 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001143/19.1, allocations: 228.8 kB / 5.888 GB, free: 69.31 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008343/19.11, allocations: 2.819 MB / 5.89 GB, free: 68.9 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001061/19.11, allocations: 4.656 kB / 5.89 GB, free: 68.9 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007597/19.11, allocations: 92.75 kB / 5.89 GB, free: 68.9 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001218/19.11, allocations: 96.95 kB / 5.89 GB, free: 68.89 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005927/19.11, allocations: 2.644 MB / 5.893 GB, free: 68.86 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.0261/19.14, allocations: 14.08 MB / 5.907 GB, free: 61.27 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002766/19.14, allocations: 1.431 MB / 5.908 GB, free: 61.22 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001054/19.14, allocations: 0.644 MB / 5.909 GB, free: 61.2 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007066/19.14, allocations: 321.9 kB / 5.909 GB, free: 60.92 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.102e-05/19.14, allocations: 51.03 kB / 5.909 GB, free: 60.88 MB / 1.042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002667/19.15, allocations: 211 kB / 5.909 GB, free: 60.8 MB / 1.042 GB Notification: Performance of pre-optimization done (n=110): time 4.919e-06/19.15, allocations: 2.875 kB / 5.909 GB, free: 60.8 MB / 1.042 GB Notification: Performance of matching and sorting (n=110): time 0.003324/19.15, allocations: 1.44 MB / 5.911 GB, free: 60.61 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.453e-05/19.15, allocations: 62.81 kB / 5.911 GB, free: 60.55 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003921/19.15, allocations: 2.093 MB / 5.913 GB, free: 60.3 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.0002163/19.15, allocations: 54.14 kB / 5.913 GB, free: 60.27 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.001144/19.15, allocations: 1.277 MB / 5.914 GB, free: 59.8 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003558/19.16, allocations: 384.1 kB / 5.915 GB, free: 59.57 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001176/19.16, allocations: 35.44 kB / 5.915 GB, free: 59.57 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001965/19.16, allocations: 368.7 kB / 5.915 GB, free: 59.26 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00131/19.16, allocations: 0.7139 MB / 5.916 GB, free: 59.26 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001774/19.16, allocations: 1.38 MB / 5.917 GB, free: 58.48 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001359/19.16, allocations: 0.9485 MB / 5.918 GB, free: 58.38 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-05/19.16, allocations: 7.141 kB / 5.918 GB, free: 58.38 MB / 1.042 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.003922/19.16, allocations: 2.316 MB / 5.92 GB, free: 58.04 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.001712/19.17, allocations: 5.779 MB / 5.926 GB, free: 51.94 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.432e-05/19.17, allocations: 12.75 kB / 5.926 GB, free: 51.94 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.699e-05/19.17, allocations: 30.39 kB / 5.926 GB, free: 51.93 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002925/19.17, allocations: 0.5659 MB / 5.926 GB, free: 51.91 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009976/19.17, allocations: 2.389 MB / 5.929 GB, free: 49.55 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004412/19.17, allocations: 469 kB / 5.929 GB, free: 49.52 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000232/19.17, allocations: 92.59 kB / 5.929 GB, free: 49.52 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/19.17, allocations: 5.625 kB / 5.929 GB, free: 49.52 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003258/19.18, allocations: 2.078 MB / 5.931 GB, free: 49.34 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/19.18, allocations: 10.31 kB / 5.931 GB, free: 49.34 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.376e-05/19.18, allocations: 25.38 kB / 5.931 GB, free: 49.34 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002369/19.18, allocations: 0.5333 MB / 5.932 GB, free: 49.32 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.02e-05/19.18, allocations: 39.59 kB / 5.932 GB, free: 49.31 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003624/19.18, allocations: 404.3 kB / 5.932 GB, free: 49.28 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002108/19.18, allocations: 93.58 kB / 5.932 GB, free: 49.28 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.0005547/19.18, allocations: 210.8 kB / 5.933 GB, free: 49.14 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005628/19.19, allocations: 262 kB / 5.933 GB, free: 49.01 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003055/19.19, allocations: 1.571 MB / 5.934 GB, free: 48.91 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/19.19, allocations: 9.875 kB / 5.934 GB, free: 48.91 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.387e-06/19.19, allocations: 7.172 kB / 5.934 GB, free: 48.9 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.329e-05/19.19, allocations: 5.672 kB / 5.934 GB, free: 48.9 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007266/19.2, allocations: 4.194 MB / 5.938 GB, free: 48.29 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.187e-05/19.2, allocations: 6.562 kB / 5.938 GB, free: 48.29 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001607/19.2, allocations: 323.1 kB / 5.939 GB, free: 48.28 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-05/19.2, allocations: 10 kB / 5.939 GB, free: 48.28 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.825e-05/19.2, allocations: 28.69 kB / 5.939 GB, free: 48.28 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007399/19.2, allocations: 2.369 MB / 5.941 GB, free: 45.93 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.602e-06/19.2, allocations: 5.656 kB / 5.941 GB, free: 45.93 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002959/19.2, allocations: 2.21 MB / 5.943 GB, free: 44.73 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00146/19.2, allocations: 0.5351 MB / 5.944 GB, free: 44.5 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003342/19.2, allocations: 28.98 kB / 5.944 GB, free: 44.5 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002463/19.21, allocations: 284.6 kB / 5.944 GB, free: 44.49 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001471/19.21, allocations: 82.38 kB / 5.944 GB, free: 44.48 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001517/19.21, allocations: 69.69 kB / 5.944 GB, free: 44.48 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.002922/19.21, allocations: 1.592 MB / 5.946 GB, free: 44.32 MB / 1.042 GB Notification: Performance of sort global known variables: time 5.61e-07/19.21, allocations: 0 / 5.946 GB, free: 44.32 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.009398/19.22, allocations: 1.93 MB / 5.948 GB, free: 44.18 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.01238/19.23, allocations: 7.639 MB / 5.955 GB, free: 39.95 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.005909/19.24, allocations: 3.033 MB / 5.958 GB, free: 39.55 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-05/19.24, allocations: 6.703 kB / 5.958 GB, free: 39.55 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.00119/19.24, allocations: 0.6654 MB / 5.959 GB, free: 39.52 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006782/19.24, allocations: 1.192 MB / 5.96 GB, free: 39.45 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006649/19.25, allocations: 3.21 MB / 5.963 GB, free: 38.41 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001185/19.25, allocations: 1.755 MB / 5.965 GB, free: 37.62 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.00509/19.26, allocations: 0.9757 MB / 5.966 GB, free: 37.44 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005127/19.26, allocations: 152.8 kB / 5.966 GB, free: 37.43 MB / 1.042 GB Notification: Performance of SimCode: time 1.122e-06/19.26, allocations: 0 / 5.966 GB, free: 37.43 MB / 1.042 GB Notification: Performance of Templates: time 0.9975/20.26, allocations: 128.9 MB / 6.092 GB, free: 114.8 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)