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.417/2.417, allocations: 285 MB / 292.5 MB, free: 10.58 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.00151/0.001509, allocations: 188.8 kB / 360.8 MB, free: 7.223 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.968/1.968, allocations: 205.2 MB / 0.6192 GB, free: 12.12 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.001125/0.001124, allocations: 92.28 kB / 0.7322 GB, free: 44.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.454e-05/2.469e-05, allocations: 4 kB / 0.8509 GB, free: 3.363 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8432/0.8433, allocations: 115.3 MB / 0.9634 GB, free: 78.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.12/6.963, allocations: 2.094 GB / 3.057 GB, free: 24.67 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000279/6.964, allocations: 94.39 kB / 3.057 GB, free: 24.62 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 15.94/22.91, allocations: 2.784 GB / 5.841 GB, free: 88.38 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.054e-06/22.91, allocations: 0 / 5.841 GB, free: 88.38 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.0003239/22.91, allocations: 68.58 kB / 5.841 GB, free: 88.36 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.01427/22.92, allocations: 3.486 MB / 5.844 GB, free: 86.97 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/22.92, allocations: 10.44 kB / 5.844 GB, free: 86.97 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0168/22.94, allocations: 1.206 MB / 5.846 GB, free: 86.8 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01114/22.95, allocations: 2.566 MB / 5.848 GB, free: 86.36 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00222/22.95, allocations: 355 kB / 5.848 GB, free: 86.36 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007085/22.95, allocations: 136.8 kB / 5.849 GB, free: 86.36 MB / 1.042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006606/22.96, allocations: 2.434 MB / 5.851 GB, free: 86.34 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005899/22.96, allocations: 2.374 MB / 5.853 GB, free: 85.94 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.681e-05/22.96, allocations: 5.188 kB / 5.853 GB, free: 85.94 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003822/22.96, allocations: 5.5 kB / 5.853 GB, free: 85.94 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000131/22.96, allocations: 92.91 kB / 5.853 GB, free: 85.93 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.03223/23, allocations: 13.58 MB / 5.867 GB, free: 78.56 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003279/23, allocations: 1.49 MB / 5.868 GB, free: 78.34 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001357/23, allocations: 0.6036 MB / 5.869 GB, free: 78.33 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007919/23, allocations: 330.8 kB / 5.869 GB, free: 78.04 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.469e-05/23, allocations: 55.03 kB / 5.869 GB, free: 78 MB / 1.042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002248/23, allocations: 160.2 kB / 5.869 GB, free: 77.94 MB / 1.042 GB Notification: Performance of pre-optimization done (n=110): time 4.979e-06/23, allocations: 1.031 kB / 5.869 GB, free: 77.94 MB / 1.042 GB Notification: Performance of matching and sorting (n=110): time 0.004459/23.01, allocations: 1.516 MB / 5.871 GB, free: 77.76 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/23.01, allocations: 68.59 kB / 5.871 GB, free: 77.7 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003571/23.01, allocations: 1.555 MB / 5.872 GB, free: 77.48 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.0005544/23.01, allocations: 31.48 kB / 5.872 GB, free: 77.45 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.00128/23.01, allocations: 1.286 MB / 5.874 GB, free: 76.89 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006006/23.01, allocations: 381.8 kB / 5.874 GB, free: 76.64 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000228/23.02, allocations: 3.188 kB / 5.874 GB, free: 76.64 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.00014/23.02, allocations: 370.7 kB / 5.874 GB, free: 76.34 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001696/23.02, allocations: 0.6749 MB / 5.875 GB, free: 76.33 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00212/23.02, allocations: 1.322 MB / 5.876 GB, free: 75.57 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003799/23.02, allocations: 1.157 MB / 5.877 GB, free: 75.55 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.598e-05/23.02, allocations: 2.406 kB / 5.877 GB, free: 75.55 MB / 1.042 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.007263/23.03, allocations: 2.376 MB / 5.88 GB, free: 75.38 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.001239/23.03, allocations: 5.63 MB / 5.885 GB, free: 69.52 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-05/23.03, allocations: 13.78 kB / 5.885 GB, free: 69.52 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.81e-05/23.03, allocations: 25.62 kB / 5.885 GB, free: 69.52 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005646/23.04, allocations: 0.5627 MB / 5.886 GB, free: 69.52 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001346/23.04, allocations: 2.405 MB / 5.888 GB, free: 67.18 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006367/23.05, allocations: 386.6 kB / 5.888 GB, free: 67.16 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004116/23.05, allocations: 92.34 kB / 5.889 GB, free: 67.16 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/23.05, allocations: 3.812 kB / 5.889 GB, free: 67.16 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006348/23.05, allocations: 2.127 MB / 5.891 GB, free: 67.12 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.258e-05/23.05, allocations: 14 kB / 5.891 GB, free: 67.12 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.767e-05/23.05, allocations: 23.22 kB / 5.891 GB, free: 67.12 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004488/23.06, allocations: 0.5378 MB / 5.891 GB, free: 67.12 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.141e-05/23.06, allocations: 31.78 kB / 5.891 GB, free: 67.12 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005117/23.06, allocations: 311.6 kB / 5.892 GB, free: 67.12 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002859/23.06, allocations: 93.03 kB / 5.892 GB, free: 67.12 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.0006801/23.06, allocations: 170 kB / 5.892 GB, free: 67 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005506/23.06, allocations: 220.8 kB / 5.892 GB, free: 66.88 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004504/23.07, allocations: 1.62 MB / 5.894 GB, free: 66.77 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-05/23.07, allocations: 11.59 kB / 5.894 GB, free: 66.77 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/23.07, allocations: 0 / 5.894 GB, free: 66.77 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.477e-05/23.07, allocations: 5.531 kB / 5.894 GB, free: 66.77 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01018/23.08, allocations: 3.922 MB / 5.897 GB, free: 66.25 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/23.08, allocations: 3.469 kB / 5.897 GB, free: 66.25 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003011/23.08, allocations: 315.9 kB / 5.898 GB, free: 66.25 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-05/23.08, allocations: 12.7 kB / 5.898 GB, free: 66.25 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001181/23.08, allocations: 19.48 kB / 5.898 GB, free: 66.25 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000967/23.08, allocations: 2.372 MB / 5.9 GB, free: 63.91 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-05/23.08, allocations: 11.12 kB / 5.9 GB, free: 63.91 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004296/23.09, allocations: 2.2 MB / 5.902 GB, free: 62.82 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001593/23.09, allocations: 0.4896 MB / 5.903 GB, free: 62.62 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004345/23.09, allocations: 10.84 kB / 5.903 GB, free: 62.62 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004043/23.09, allocations: 246.3 kB / 5.903 GB, free: 62.61 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001921/23.09, allocations: 77.91 kB / 5.903 GB, free: 62.6 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002062/23.09, allocations: 69.25 kB / 5.903 GB, free: 62.6 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.002347/23.1, allocations: 1.15 MB / 5.904 GB, free: 62.46 MB / 1.042 GB Notification: Performance of sort global known variables: time 4.41e-07/23.1, allocations: 0 / 5.904 GB, free: 62.46 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.007821/23.1, allocations: 1.721 MB / 5.906 GB, free: 62.28 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.01477/23.12, allocations: 8.269 MB / 5.914 GB, free: 58.02 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.008225/23.13, allocations: 2.851 MB / 5.917 GB, free: 57.73 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.939e-05/23.13, allocations: 2.5 kB / 5.917 GB, free: 57.73 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.001836/23.13, allocations: 0.6225 MB / 5.917 GB, free: 57.73 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006645/23.14, allocations: 0.7311 MB / 5.918 GB, free: 57.7 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008695/23.14, allocations: 3.088 MB / 5.921 GB, free: 56.7 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001572/23.15, allocations: 1.748 MB / 5.923 GB, free: 55.95 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.007034/23.15, allocations: 0.8291 MB / 5.924 GB, free: 55.92 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008556/23.15, allocations: 136.6 kB / 5.924 GB, free: 55.91 MB / 1.042 GB Notification: Performance of SimCode: time 1.593e-06/23.15, allocations: 0 / 5.924 GB, free: 55.91 MB / 1.042 GB Notification: Performance of Templates: time 0.1715/23.32, allocations: 69.67 MB / 5.992 GB, free: 49.27 MB / 1.042 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)