Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Interfaces_Examples_ReverseFlowMassExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.245/2.245, allocations: 251 MB / 265.9 MB, free: 11.71 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001656/0.001656, allocations: 185.2 kB / 325.5 MB, free: 2.906 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.462/2.462, allocations: 205.4 MB / 0.5764 GB, free: 21.15 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001087/0.001087, allocations: 97.84 kB / 0.6809 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005108/0.0005108, allocations: 11.72 kB / 0.795 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2169/0.2174, allocations: 106.3 MB / 0.8988 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.496/7.713, allocations: 2.213 GB / 3.111 GB, free: 244.5 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003465/7.714, allocations: 101.3 kB / 3.112 GB, free: 244.5 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 15.35/23.07, allocations: 2.727 GB / 5.838 GB, free: 56.57 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.144e-06/23.07, allocations: 0 / 5.838 GB, free: 56.57 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0003981/23.07, allocations: 71.97 kB / 5.838 GB, free: 56.5 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 544 * Number of variables: 544 Notification: Performance of Generate backend data structure: time 0.01863/23.09, allocations: 3.896 MB / 5.842 GB, free: 52.56 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.46e-05/23.09, allocations: 8.031 kB / 5.842 GB, free: 52.55 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001565/23.09, allocations: 303.8 kB / 5.842 GB, free: 52.25 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0212/23.11, allocations: 1.198 MB / 5.843 GB, free: 51.04 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01604/23.12, allocations: 2.578 MB / 5.846 GB, free: 48.43 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003549/23.13, allocations: 440.2 kB / 5.846 GB, free: 47.99 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001568/23.13, allocations: 228 kB / 5.847 GB, free: 47.77 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01695/23.15, allocations: 3.153 MB / 5.85 GB, free: 44.45 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001214/23.15, allocations: 3.938 kB / 5.85 GB, free: 44.44 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009903/23.15, allocations: 92 kB / 5.85 GB, free: 44.35 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001852/23.15, allocations: 92.06 kB / 5.85 GB, free: 44.26 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01393/23.16, allocations: 3.225 MB / 5.853 GB, free: 41.02 MB / 0.9792 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.03627/23.2, allocations: 14.06 MB / 5.867 GB, free: 25.88 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0072/23.21, allocations: 1.724 MB / 5.868 GB, free: 24.15 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008744/23.21, allocations: 328.2 kB / 5.869 GB, free: 23.77 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.706e-05/23.21, allocations: 47.8 kB / 5.869 GB, free: 23.72 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002727/23.21, allocations: 214.3 kB / 5.869 GB, free: 23.51 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=110): time 7.464e-06/23.21, allocations: 8 kB / 5.869 GB, free: 23.5 MB / 0.9792 GB Notification: Performance of matching and sorting (n=110): time 0.0108/23.22, allocations: 2.387 MB / 5.871 GB, free: 21.11 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.202e-05/23.22, allocations: 68.34 kB / 5.871 GB, free: 21.03 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006435/23.23, allocations: 2.228 MB / 5.874 GB, free: 18.79 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0005211/23.23, allocations: 53.7 kB / 5.874 GB, free: 18.73 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.00138/23.23, allocations: 1.245 MB / 5.875 GB, free: 17.47 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005928/23.23, allocations: 402.4 kB / 5.875 GB, free: 17.07 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003055/23.23, allocations: 32 kB / 5.875 GB, free: 17.04 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001376/23.23, allocations: 373.9 kB / 5.876 GB, free: 16.67 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004696/23.23, allocations: 0.9915 MB / 5.877 GB, free: 15.68 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005238/23.24, allocations: 1.593 MB / 5.878 GB, free: 13.81 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005146/23.25, allocations: 1.199 MB / 5.879 GB, free: 12.61 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.272e-05/23.25, allocations: 4 kB / 5.879 GB, free: 12.61 MB / 0.9792 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.01224/23.26, allocations: 2.879 MB / 5.882 GB, free: 9.703 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.001328/23.26, allocations: 6.126 MB / 5.888 GB, free: 2.988 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.181e-05/23.26, allocations: 16 kB / 5.888 GB, free: 2.973 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.362e-05/23.26, allocations: 24 kB / 5.888 GB, free: 2.949 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005754/23.27, allocations: 0.5656 MB / 5.889 GB, free: 2.383 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001422/23.27, allocations: 2.387 MB / 5.891 GB, free: 15.9 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00747/23.27, allocations: 474.9 kB / 5.891 GB, free: 15.44 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006995/23.27, allocations: 99.91 kB / 5.892 GB, free: 15.34 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/23.27, allocations: 8 kB / 5.892 GB, free: 15.33 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01271/23.29, allocations: 2.654 MB / 5.894 GB, free: 12.67 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.574e-05/23.29, allocations: 16.12 kB / 5.894 GB, free: 12.65 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.495e-05/23.29, allocations: 28 kB / 5.894 GB, free: 12.62 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005184/23.29, allocations: 0.5266 MB / 5.895 GB, free: 12.1 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.775e-05/23.29, allocations: 35.86 kB / 5.895 GB, free: 12.06 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006413/23.3, allocations: 395.1 kB / 5.895 GB, free: 11.68 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006655/23.3, allocations: 99.95 kB / 5.895 GB, free: 11.58 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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.002527/23.3, allocations: 0.6293 MB / 5.896 GB, free: 10.94 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009872/23.3, allocations: 256.9 kB / 5.896 GB, free: 10.68 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009671/23.31, allocations: 1.87 MB / 5.898 GB, free: 8.793 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.223e-05/23.31, allocations: 12 kB / 5.898 GB, free: 8.781 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-05/23.31, allocations: 3.984 kB / 5.898 GB, free: 8.777 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.245e-05/23.31, allocations: 3.984 kB / 5.898 GB, free: 8.773 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0178/23.33, allocations: 4.508 MB / 5.902 GB, free: 4.125 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.016e-05/23.33, allocations: 11.98 kB / 5.902 GB, free: 4.113 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003446/23.33, allocations: 319.8 kB / 5.903 GB, free: 3.801 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.809e-05/23.33, allocations: 8 kB / 5.903 GB, free: 3.793 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002904/23.34, allocations: 31.98 kB / 5.903 GB, free: 3.762 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001694/23.34, allocations: 2.367 MB / 5.905 GB, free: 1.301 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-05/23.34, allocations: 4 kB / 5.905 GB, free: 1.297 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.8689/24.21, allocations: 2.492 MB / 5.907 GB, free: 86.75 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002305/24.21, allocations: 0.5536 MB / 5.908 GB, free: 86.66 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001272/24.21, allocations: 21.19 kB / 5.908 GB, free: 86.66 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005697/24.22, allocations: 292.4 kB / 5.908 GB, free: 86.66 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000322/24.22, allocations: 78.64 kB / 5.908 GB, free: 86.66 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002873/24.22, allocations: 69.09 kB / 5.908 GB, free: 86.66 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.005611/24.22, allocations: 1.731 MB / 5.91 GB, free: 86.51 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6.02e-07/24.22, allocations: 2.719 kB / 5.91 GB, free: 86.51 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.01021/24.23, allocations: 1.933 MB / 5.912 GB, free: 86.45 MB / 0.9948 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.02582/24.26, allocations: 12.02 MB / 5.924 GB, free: 79.41 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.02024/24.28, allocations: 3.655 MB / 5.927 GB, free: 79.14 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.689e-05/24.28, allocations: 3.406 kB / 5.927 GB, free: 79.14 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.004696/24.28, allocations: 0.812 MB / 5.928 GB, free: 79.14 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01129/24.29, allocations: 1.206 MB / 5.929 GB, free: 79.11 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02053/24.31, allocations: 16.85 MB / 5.946 GB, free: 65.35 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002179/24.32, allocations: 1.73 MB / 5.947 GB, free: 64.61 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.007145/24.32, allocations: 0.7773 MB / 5.948 GB, free: 64.59 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002887/24.33, allocations: 0.9963 MB / 5.949 GB, free: 64.58 MB / 0.9948 GB Notification: Performance of SimCode: time 1.333e-06/24.33, allocations: 0 / 5.949 GB, free: 64.58 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3724/24.7, allocations: 150.5 MB / 6.096 GB, free: 58.59 MB / 0.9948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002156/24.7, allocations: 263.4 kB / 6.096 GB, free: 58.23 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.02/34.72, allocations: 4 kB / 6.096 GB, free: 58.23 MB / 0.9948 GB