Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5425/0.5425, allocations: 94.69 MB / 107.2 MB, free: 5.191 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001093/0.001093, allocations: 172.1 kB / 130.7 MB, free: 7.559 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.702/1.702, allocations: 170.5 MB / 324.5 MB, free: 4.023 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001652/0.001653, allocations: 114.3 kB / 386.6 MB, free: 16.33 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.268e-05/4.27e-05, allocations: 4 kB / 456 MB, free: 11.78 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5241/0.5242, allocations: 61.51 MB / 0.5054 GB, free: 49.76 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.33/12.85, allocations: 4.5 GB / 5.006 GB, free: 37.12 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002578/12.85, allocations: 91.94 kB / 5.006 GB, free: 37.03 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 12.17/25.03, allocations: 2.707 GB / 7.713 GB, free: 10.24 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.857e-06/25.03, allocations: 0 / 7.713 GB, free: 10.24 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0003324/25.03, allocations: 86.31 kB / 7.713 GB, free: 10.16 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 588 * Number of variables: 588 Notification: Performance of Generate backend data structure: time 0.0294/25.06, allocations: 6.099 MB / 7.719 GB, free: 3.953 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.786e-05/25.06, allocations: 8.031 kB / 7.719 GB, free: 3.945 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003468/25.06, allocations: 368.6 kB / 7.719 GB, free: 3.582 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01163/25.07, allocations: 2.931 MB / 7.722 GB, free: 0.6094 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005938/25.07, allocations: 359 kB / 7.722 GB, free: 224 kB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001512/25.08, allocations: 244.1 kB / 7.722 GB, free: 15.98 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01179/25.09, allocations: 2.994 MB / 7.725 GB, free: 12.84 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001471/25.09, allocations: 3.938 kB / 7.725 GB, free: 12.84 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001239/25.09, allocations: 100 kB / 7.725 GB, free: 12.74 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001701/25.09, allocations: 96.41 kB / 7.726 GB, free: 12.64 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008553/25.1, allocations: 3.016 MB / 7.728 GB, free: 9.609 MB / 0.6667 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.8929/25.99, allocations: 12.04 MB / 7.74 GB, free: 39.76 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003976/25.99, allocations: 1.777 MB / 7.742 GB, free: 39.73 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001325/26, allocations: 0.785 MB / 7.743 GB, free: 39.73 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004211/26, allocations: 4.361 MB / 7.747 GB, free: 35.22 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.475e-05/26, allocations: 49.69 kB / 7.747 GB, free: 35.18 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00264/26, allocations: 374.2 kB / 7.747 GB, free: 35.18 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=148): time 6.542e-06/26, allocations: 0 / 7.747 GB, free: 35.18 MB / 0.6667 GB Notification: Performance of matching and sorting (n=148): time 0.005965/26.01, allocations: 1.877 MB / 7.749 GB, free: 35.1 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.08e-05/26.01, allocations: 119 kB / 7.749 GB, free: 34.98 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004222/26.01, allocations: 1.739 MB / 7.751 GB, free: 34.74 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0005551/26.01, allocations: 64.27 kB / 7.751 GB, free: 34.71 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.001298/26.02, allocations: 1.361 MB / 7.752 GB, free: 34.26 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005967/26.02, allocations: 0.5119 MB / 7.753 GB, free: 34 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001315/26.02, allocations: 49.78 kB / 7.753 GB, free: 34 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001581/26.02, allocations: 395.7 kB / 7.753 GB, free: 33.7 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001423/26.02, allocations: 0.7888 MB / 7.754 GB, free: 33.69 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002014/26.02, allocations: 1.665 MB / 7.756 GB, free: 32.63 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001832/26.02, allocations: 1.23 MB / 7.757 GB, free: 32.43 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-05/26.02, allocations: 7.031 kB / 7.757 GB, free: 32.43 MB / 0.6667 GB Notification: Performance of matching and sorting (n=298) (initialization): time 0.005542/26.03, allocations: 2.995 MB / 7.76 GB, free: 32.03 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.004518/26.03, allocations: 10.49 MB / 7.77 GB, free: 37.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-05/26.03, allocations: 27.58 kB / 7.77 GB, free: 37.12 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004229/26.04, allocations: 455.1 kB / 7.771 GB, free: 37.11 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003741/26.04, allocations: 0.6501 MB / 7.771 GB, free: 37.11 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002211/26.04, allocations: 3.063 MB / 7.774 GB, free: 34.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003978/26.05, allocations: 204.8 kB / 7.774 GB, free: 34.25 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005093/26.05, allocations: 148.1 kB / 7.775 GB, free: 34.25 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/26.05, allocations: 6.375 kB / 7.775 GB, free: 34.25 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005539/26.05, allocations: 2.789 MB / 7.777 GB, free: 34 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.066e-05/26.05, allocations: 29.16 kB / 7.777 GB, free: 34 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004211/26.06, allocations: 461.9 kB / 7.778 GB, free: 34 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002338/26.06, allocations: 0.5214 MB / 7.778 GB, free: 34 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008121/26.06, allocations: 0.721 MB / 7.779 GB, free: 33.47 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00345/26.06, allocations: 190.1 kB / 7.779 GB, free: 33.47 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000363/26.06, allocations: 146.1 kB / 7.779 GB, free: 33.47 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 113 * Number of states: 0 () * Number of discrete variables: 8 (masExcFor.i1_w,masExcFor.i2_w,masExcRev.i1_w,masExcRev.i2_w,senMas3.i_x,senMas4.i_x,senMas1.i_x,senMas2.i_x) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (289): * Single equations (assignments): 278 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.001217/26.06, allocations: 265 kB / 7.78 GB, free: 33.36 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009121/26.07, allocations: 248 kB / 7.78 GB, free: 33.23 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006008/26.07, allocations: 2.446 MB / 7.782 GB, free: 33.07 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.653e-05/26.07, allocations: 22.27 kB / 7.782 GB, free: 33.07 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-05/26.07, allocations: 1.656 kB / 7.782 GB, free: 33.07 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.644e-05/26.07, allocations: 7.312 kB / 7.782 GB, free: 33.07 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01119/26.08, allocations: 4.377 MB / 7.786 GB, free: 32.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.146e-05/26.08, allocations: 2.812 kB / 7.786 GB, free: 32.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002408/26.09, allocations: 409.5 kB / 7.787 GB, free: 32.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004155/26.09, allocations: 459 kB / 7.787 GB, free: 32.59 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001879/26.09, allocations: 46.59 kB / 7.787 GB, free: 32.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001899/26.09, allocations: 3.008 MB / 7.79 GB, free: 29.74 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/26.09, allocations: 0.8438 kB / 7.79 GB, free: 29.74 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005362/26.1, allocations: 2.269 MB / 7.793 GB, free: 29.13 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00284/26.1, allocations: 0.5397 MB / 7.793 GB, free: 28.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001112/26.1, allocations: 30.59 kB / 7.793 GB, free: 28.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003144/26.1, allocations: 188 kB / 7.793 GB, free: 28.89 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003068/26.1, allocations: 110.4 kB / 7.793 GB, free: 28.89 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004363/26.11, allocations: 98.44 kB / 7.793 GB, free: 28.89 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.004005/26.11, allocations: 1.296 MB / 7.795 GB, free: 28.73 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.61e-07/26.11, allocations: 0.8125 kB / 7.795 GB, free: 28.73 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0179/26.13, allocations: 2.894 MB / 7.798 GB, free: 28.66 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (165): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.02252/26.15, allocations: 5.082 MB / 7.803 GB, free: 27.44 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01446/26.16, allocations: 4.324 MB / 7.807 GB, free: 26.63 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.056e-05/26.16, allocations: 2.938 kB / 7.807 GB, free: 26.63 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.003686/26.17, allocations: 1.034 MB / 7.808 GB, free: 26.62 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009329/26.18, allocations: 1.02 MB / 7.809 GB, free: 26.61 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01331/26.19, allocations: 3.56 MB / 7.812 GB, free: 25.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00371/26.19, allocations: 1.837 MB / 7.814 GB, free: 24.94 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.006796/26.2, allocations: 0.9649 MB / 7.815 GB, free: 24.89 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006646/26.2, allocations: 192.8 kB / 7.815 GB, free: 24.89 MB / 0.6823 GB Notification: Performance of SimCode: time 1.573e-06/26.2, allocations: 1.062 kB / 7.815 GB, free: 24.89 MB / 0.6823 GB Notification: Performance of Templates: time 0.2001/26.4, allocations: 118.9 MB / 7.931 GB, free: 17.65 MB / 0.6823 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile (rm -f Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & ./Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1)