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.491/2.491, allocations: 287.5 MB / 302.5 MB, free: 8.18 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.001439/0.001438, allocations: 181.1 kB / 371 MB, free: 10.78 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 1.977/1.977, allocations: 205.4 MB / 0.6297 GB, free: 10.53 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001128/0.001127, allocations: 99.84 kB / 0.743 GB, free: 6.523 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005005/0.0005006, allocations: 12.97 kB / 0.8658 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2073/0.2079, allocations: 115.3 MB / 0.9784 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.691/6.899, allocations: 2.094 GB / 3.073 GB, free: 159.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003431/6.9, allocations: 100.6 kB / 3.073 GB, free: 159.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 16.48/23.38, allocations: 2.817 GB / 5.89 GB, free: 96.58 MB / 1.057 GB Notification: Performance of FrontEnd: time 3.065e-06/23.38, allocations: 1.188 kB / 5.89 GB, free: 96.58 MB / 1.057 GB Notification: Performance of Transformations before backend: time 0.0004308/23.38, allocations: 69.75 kB / 5.89 GB, free: 96.58 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.01975/23.4, allocations: 3.913 MB / 5.894 GB, free: 95.36 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/23.4, allocations: 8.75 kB / 5.894 GB, free: 95.36 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02572/23.43, allocations: 1.203 MB / 5.895 GB, free: 95.19 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01765/23.44, allocations: 2.583 MB / 5.897 GB, free: 94.79 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.004042/23.45, allocations: 440 kB / 5.898 GB, free: 94.78 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001737/23.45, allocations: 222.8 kB / 5.898 GB, free: 94.78 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01974/23.47, allocations: 3.131 MB / 5.901 GB, free: 94.37 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000151/23.47, allocations: 2 kB / 5.901 GB, free: 94.37 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001307/23.47, allocations: 92.44 kB / 5.901 GB, free: 94.37 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00025/23.47, allocations: 91.12 kB / 5.901 GB, free: 94.36 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02198/23.49, allocations: 3.231 MB / 5.904 GB, free: 94.33 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.04342/23.54, allocations: 14.07 MB / 5.918 GB, free: 86.93 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007453/23.55, allocations: 1.721 MB / 5.92 GB, free: 86.89 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009118/23.55, allocations: 324.1 kB / 5.92 GB, free: 86.61 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.504e-05/23.55, allocations: 51.72 kB / 5.92 GB, free: 86.57 MB / 1.057 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002879/23.55, allocations: 208.4 kB / 5.92 GB, free: 86.53 MB / 1.057 GB Notification: Performance of pre-optimization done (n=110): time 1.099e-05/23.55, allocations: 0.75 kB / 5.92 GB, free: 86.53 MB / 1.057 GB Notification: Performance of matching and sorting (n=110): time 0.0112/23.56, allocations: 2.391 MB / 5.923 GB, free: 86.34 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.826e-05/23.56, allocations: 64.5 kB / 5.923 GB, free: 86.27 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007766/23.57, allocations: 2.245 MB / 5.925 GB, free: 86.05 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.0007965/23.57, allocations: 65.38 kB / 5.925 GB, free: 86.02 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.002793/23.57, allocations: 1.264 MB / 5.926 GB, free: 85.66 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009576/23.57, allocations: 395.4 kB / 5.927 GB, free: 85.45 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006928/23.57, allocations: 35.88 kB / 5.927 GB, free: 85.45 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0002684/23.57, allocations: 373.3 kB / 5.927 GB, free: 85.14 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007365/23.58, allocations: 0.9971 MB / 5.928 GB, free: 85.14 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005631/23.59, allocations: 1.665 MB / 5.93 GB, free: 84.38 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005354/23.59, allocations: 1.218 MB / 5.931 GB, free: 84.29 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-05/23.59, allocations: 2.781 kB / 5.931 GB, free: 84.29 MB / 1.057 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.01287/23.61, allocations: 2.883 MB / 5.934 GB, free: 84.04 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.001351/23.61, allocations: 5.784 MB / 5.939 GB, free: 77.94 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.004e-05/23.61, allocations: 13.16 kB / 5.939 GB, free: 77.94 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.809e-05/23.61, allocations: 27.03 kB / 5.939 GB, free: 77.94 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005819/23.61, allocations: 0.5612 MB / 5.94 GB, free: 77.94 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001339/23.61, allocations: 2.383 MB / 5.942 GB, free: 75.6 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007617/23.62, allocations: 478.7 kB / 5.943 GB, free: 75.57 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006721/23.62, allocations: 95.17 kB / 5.943 GB, free: 75.56 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/23.62, allocations: 3.781 kB / 5.943 GB, free: 75.56 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01163/23.63, allocations: 2.641 MB / 5.945 GB, free: 75.47 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.779e-05/23.63, allocations: 15.34 kB / 5.945 GB, free: 75.47 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.738e-05/23.63, allocations: 25.56 kB / 5.945 GB, free: 75.47 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004996/23.64, allocations: 0.5343 MB / 5.946 GB, free: 75.47 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.522e-05/23.64, allocations: 35.83 kB / 5.946 GB, free: 75.47 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006625/23.65, allocations: 401.2 kB / 5.946 GB, free: 75.44 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000704/23.65, allocations: 95.58 kB / 5.946 GB, free: 75.44 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.0024/23.65, allocations: 0.6242 MB / 5.947 GB, free: 75.25 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000988/23.65, allocations: 260.1 kB / 5.947 GB, free: 75.11 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00844/23.66, allocations: 1.871 MB / 5.949 GB, free: 75.01 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.908e-05/23.66, allocations: 10.25 kB / 5.949 GB, free: 75.01 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/23.66, allocations: 3.438 kB / 5.949 GB, free: 75.01 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.43e-05/23.66, allocations: 5.422 kB / 5.949 GB, free: 75.01 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01864/23.68, allocations: 4.502 MB / 5.953 GB, free: 74.44 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-05/23.68, allocations: 4.875 kB / 5.953 GB, free: 74.44 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005357/23.68, allocations: 311.5 kB / 5.954 GB, free: 74.44 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.123e-05/23.68, allocations: 12.12 kB / 5.954 GB, free: 74.44 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000435/23.68, allocations: 29.94 kB / 5.954 GB, free: 74.44 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001457/23.69, allocations: 2.375 MB / 5.956 GB, free: 72.1 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.748e-05/23.69, allocations: 9.969 kB / 5.956 GB, free: 72.1 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01177/23.7, allocations: 2.496 MB / 5.958 GB, free: 70.92 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003399/23.7, allocations: 0.5473 MB / 5.959 GB, free: 70.68 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001736/23.7, allocations: 23.03 kB / 5.959 GB, free: 70.68 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008343/23.71, allocations: 287.9 kB / 5.959 GB, free: 70.68 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005324/23.71, allocations: 76.14 kB / 5.959 GB, free: 70.67 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004549/23.71, allocations: 64.55 kB / 5.959 GB, free: 70.67 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.008712/23.72, allocations: 1.751 MB / 5.961 GB, free: 70.52 MB / 1.057 GB Notification: Performance of sort global known variables: time 2.625e-06/23.72, allocations: 0 / 5.961 GB, free: 70.52 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.01543/23.74, allocations: 1.938 MB / 5.963 GB, free: 70.38 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.0203/23.76, allocations: 7.626 MB / 5.971 GB, free: 66.21 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.021/23.78, allocations: 3.67 MB / 5.974 GB, free: 65.93 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-05/23.78, allocations: 5.531 kB / 5.974 GB, free: 65.93 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.003655/23.78, allocations: 0.8115 MB / 5.975 GB, free: 65.93 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01111/23.79, allocations: 1.198 MB / 5.976 GB, free: 65.9 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01388/23.81, allocations: 5.003 MB / 5.981 GB, free: 63.59 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002467/23.81, allocations: 1.745 MB / 5.983 GB, free: 62.84 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.0081/23.82, allocations: 0.795 MB / 5.983 GB, free: 62.81 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00167/23.82, allocations: 197.6 kB / 5.984 GB, free: 62.8 MB / 1.057 GB Notification: Performance of SimCode: time 2.425e-06/23.82, allocations: 0 / 5.984 GB, free: 62.8 MB / 1.057 GB Notification: Performance of Templates: time 0.2722/24.09, allocations: 110.7 MB / 6.092 GB, free: 56.41 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)