Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.526/2.526, allocations: 284.8 MB / 297.3 MB, free: 6.312 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001472/0.001472, allocations: 187.4 kB / 365.7 MB, free: 2.559 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.012/2.012, allocations: 205.1 MB / 0.6241 GB, free: 8.176 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001124/0.001123, allocations: 104.9 kB / 0.7372 GB, free: 40.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.622e-05/3.626e-05, allocations: 4 kB / 0.8574 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8215/0.8215, allocations: 115.2 MB / 0.97 GB, free: 78.16 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.097/6.919, allocations: 2.094 GB / 3.064 GB, free: 2.402 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003157/6.919, allocations: 90.44 kB / 3.064 GB, free: 2.359 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 16.09/23.01, allocations: 2.814 GB / 5.879 GB, free: 74.34 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.084e-06/23.01, allocations: 0 / 5.879 GB, free: 74.34 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.0004055/23.01, allocations: 74.25 kB / 5.879 GB, free: 74.32 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.01505/23.02, allocations: 3.497 MB / 5.882 GB, free: 72.86 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/23.02, allocations: 6.625 kB / 5.882 GB, free: 72.86 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01716/23.04, allocations: 1.201 MB / 5.883 GB, free: 72.7 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01223/23.05, allocations: 2.565 MB / 5.886 GB, free: 72.16 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002479/23.05, allocations: 433.8 kB / 5.886 GB, free: 72.16 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001201/23.05, allocations: 225.5 kB / 5.886 GB, free: 72.16 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009377/23.06, allocations: 2.828 MB / 5.889 GB, free: 71.74 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.63e-05/23.06, allocations: 3.094 kB / 5.889 GB, free: 71.74 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005309/23.06, allocations: 98.41 kB / 5.889 GB, free: 71.74 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001267/23.07, allocations: 88.05 kB / 5.889 GB, free: 71.73 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008617/23.07, allocations: 2.652 MB / 5.892 GB, free: 71.7 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.03648/23.11, allocations: 14.07 MB / 5.906 GB, free: 64.2 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004358/23.11, allocations: 1.431 MB / 5.907 GB, free: 64.15 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00161/23.12, allocations: 0.6415 MB / 5.908 GB, free: 64.14 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008311/23.12, allocations: 324.3 kB / 5.908 GB, free: 63.86 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.214e-05/23.12, allocations: 53.56 kB / 5.908 GB, free: 63.81 MB / 1.042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002544/23.12, allocations: 214 kB / 5.908 GB, free: 63.73 MB / 1.042 GB Notification: Performance of pre-optimization done (n=110): time 6.732e-06/23.12, allocations: 1.781 kB / 5.908 GB, free: 63.73 MB / 1.042 GB Notification: Performance of matching and sorting (n=110): time 0.004726/23.12, allocations: 1.437 MB / 5.91 GB, free: 63.55 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/23.12, allocations: 64.38 kB / 5.91 GB, free: 63.48 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004895/23.13, allocations: 2.092 MB / 5.912 GB, free: 63.23 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.0005227/23.13, allocations: 57.58 kB / 5.912 GB, free: 63.2 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.001289/23.13, allocations: 1.267 MB / 5.913 GB, free: 62.75 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005547/23.13, allocations: 396.9 kB / 5.913 GB, free: 62.5 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002454/23.13, allocations: 37 kB / 5.914 GB, free: 62.5 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001266/23.13, allocations: 371.6 kB / 5.914 GB, free: 62.2 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002012/23.13, allocations: 0.7134 MB / 5.915 GB, free: 62.19 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00258/23.14, allocations: 1.378 MB / 5.916 GB, free: 61.42 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002482/23.14, allocations: 0.9423 MB / 5.917 GB, free: 61.34 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.602e-05/23.14, allocations: 3.438 kB / 5.917 GB, free: 61.34 MB / 1.042 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.006451/23.15, allocations: 2.318 MB / 5.919 GB, free: 61.09 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.001293/23.15, allocations: 5.782 MB / 5.925 GB, free: 54.98 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.44e-05/23.15, allocations: 13.72 kB / 5.925 GB, free: 54.98 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.087e-05/23.15, allocations: 29.5 kB / 5.925 GB, free: 54.98 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005785/23.15, allocations: 0.564 MB / 5.925 GB, free: 54.98 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001276/23.15, allocations: 2.392 MB / 5.928 GB, free: 52.64 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007483/23.16, allocations: 465.3 kB / 5.928 GB, free: 52.61 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006135/23.16, allocations: 92.42 kB / 5.928 GB, free: 52.61 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/23.16, allocations: 5.031 kB / 5.928 GB, free: 52.61 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005578/23.17, allocations: 2.076 MB / 5.93 GB, free: 52.48 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.428e-05/23.17, allocations: 15.16 kB / 5.93 GB, free: 52.48 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.831e-05/23.17, allocations: 28.45 kB / 5.93 GB, free: 52.48 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004946/23.17, allocations: 0.5371 MB / 5.931 GB, free: 52.45 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.424e-05/23.17, allocations: 29.34 kB / 5.931 GB, free: 52.45 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006505/23.18, allocations: 402.9 kB / 5.931 GB, free: 52.42 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006585/23.18, allocations: 99.05 kB / 5.931 GB, free: 52.41 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.0007432/23.18, allocations: 211.8 kB / 5.931 GB, free: 52.28 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008905/23.18, allocations: 259.4 kB / 5.932 GB, free: 52.14 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004833/23.19, allocations: 1.582 MB / 5.933 GB, free: 52.04 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.815e-05/23.19, allocations: 14.61 kB / 5.933 GB, free: 52.04 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.337e-06/23.19, allocations: 3.234 kB / 5.933 GB, free: 52.04 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.539e-05/23.19, allocations: 3.656 kB / 5.933 GB, free: 52.04 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01221/23.2, allocations: 4.185 MB / 5.937 GB, free: 51.44 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.247e-05/23.2, allocations: 8.062 kB / 5.937 GB, free: 51.44 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003253/23.2, allocations: 313.1 kB / 5.938 GB, free: 51.43 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.517e-05/23.2, allocations: 14.59 kB / 5.938 GB, free: 51.43 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002074/23.2, allocations: 31.11 kB / 5.938 GB, free: 51.43 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001014/23.2, allocations: 2.362 MB / 5.94 GB, free: 49.09 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.328e-05/23.2, allocations: 21.44 kB / 5.94 GB, free: 49.08 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004596/23.21, allocations: 2.189 MB / 5.942 GB, free: 47.88 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002436/23.21, allocations: 0.5444 MB / 5.943 GB, free: 47.65 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001098/23.21, allocations: 26.88 kB / 5.943 GB, free: 47.65 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005491/23.22, allocations: 292.2 kB / 5.943 GB, free: 47.63 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003574/23.22, allocations: 85.2 kB / 5.943 GB, free: 47.62 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003/23.22, allocations: 66.42 kB / 5.943 GB, free: 47.62 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.004077/23.22, allocations: 1.595 MB / 5.945 GB, free: 47.46 MB / 1.042 GB Notification: Performance of sort global known variables: time 7.61e-07/23.22, allocations: 0 / 5.945 GB, free: 47.46 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.009855/23.23, allocations: 1.92 MB / 5.947 GB, free: 47.33 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.01403/23.25, allocations: 7.631 MB / 5.954 GB, free: 43.11 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.009165/23.26, allocations: 3.037 MB / 5.957 GB, free: 42.71 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.809e-05/23.26, allocations: 7.328 kB / 5.957 GB, free: 42.71 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.002116/23.26, allocations: 0.6623 MB / 5.958 GB, free: 42.66 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01104/23.27, allocations: 1.194 MB / 5.959 GB, free: 42.63 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009975/23.28, allocations: 3.23 MB / 5.962 GB, free: 41.6 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001766/23.28, allocations: 1.745 MB / 5.964 GB, free: 40.85 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.008887/23.29, allocations: 0.9766 MB / 5.965 GB, free: 40.82 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001097/23.29, allocations: 156.3 kB / 5.965 GB, free: 40.81 MB / 1.042 GB Notification: Performance of SimCode: time 1.162e-06/23.29, allocations: 0 / 5.965 GB, free: 40.81 MB / 1.042 GB Notification: Performance of Templates: time 0.3293/23.62, allocations: 128.9 MB / 6.091 GB, free: 8.406 MB / 1.089 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)