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.823/2.823, allocations: 248.7 MB / 256.2 MB, free: 6.992 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001516/0.001515, allocations: 175 kB / 315.4 MB, free: 4.023 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.097/2.097, allocations: 205.3 MB / 0.5662 GB, free: 0.5977 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001108/0.001108, allocations: 92.33 kB / 0.6704 GB, free: 5.805 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.963e-05/2.979e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.2238, allocations: 106.3 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.458/7.682, allocations: 2.213 GB / 3.097 GB, free: 140.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003158/7.682, allocations: 93.75 kB / 3.097 GB, free: 140.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 15.21/22.89, allocations: 2.693 GB / 5.79 GB, free: 89.71 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.583e-06/22.89, allocations: 3.516 kB / 5.79 GB, free: 89.71 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0004099/22.89, allocations: 67.86 kB / 5.791 GB, free: 89.7 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.01571/22.91, allocations: 3.474 MB / 5.794 GB, free: 88.31 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.748e-05/22.91, allocations: 12.69 kB / 5.794 GB, free: 88.31 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01745/22.92, allocations: 1.198 MB / 5.795 GB, free: 88.15 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01155/22.94, allocations: 2.563 MB / 5.798 GB, free: 87.73 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002407/22.94, allocations: 363.1 kB / 5.798 GB, free: 87.72 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001137/22.94, allocations: 134.7 kB / 5.798 GB, free: 87.72 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008066/22.95, allocations: 2.43 MB / 5.8 GB, free: 87.71 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008571/22.96, allocations: 2.396 MB / 5.803 GB, free: 87.3 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.985e-05/22.96, allocations: 5.438 kB / 5.803 GB, free: 87.3 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000504/22.96, allocations: 4.062 kB / 5.803 GB, free: 87.3 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001331/22.96, allocations: 89.67 kB / 5.803 GB, free: 87.3 MB / 0.9792 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.03609/22.99, allocations: 13.56 MB / 5.816 GB, free: 79.92 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003544/23, allocations: 1.494 MB / 5.818 GB, free: 79.7 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001508/23, allocations: 0.6063 MB / 5.818 GB, free: 79.69 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008293/23, allocations: 327 kB / 5.818 GB, free: 79.41 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.143e-05/23, allocations: 49.8 kB / 5.819 GB, free: 79.37 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002365/23, allocations: 165.5 kB / 5.819 GB, free: 79.31 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=110): time 7.865e-06/23, allocations: 0 / 5.819 GB, free: 79.31 MB / 0.9792 GB Notification: Performance of matching and sorting (n=110): time 0.005317/23.01, allocations: 1.509 MB / 5.82 GB, free: 79.13 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/23.01, allocations: 63.28 kB / 5.82 GB, free: 79.07 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003632/23.01, allocations: 1.532 MB / 5.822 GB, free: 78.84 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0005134/23.01, allocations: 33.14 kB / 5.822 GB, free: 78.8 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001221/23.01, allocations: 1.261 MB / 5.823 GB, free: 78.25 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005868/23.01, allocations: 371.7 kB / 5.823 GB, free: 78.01 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002356/23.01, allocations: 4.25 kB / 5.823 GB, free: 78.01 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.000129/23.01, allocations: 367.5 kB / 5.824 GB, free: 77.7 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00182/23.02, allocations: 0.665 MB / 5.824 GB, free: 77.7 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002303/23.02, allocations: 1.258 MB / 5.826 GB, free: 77 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004072/23.02, allocations: 1.152 MB / 5.827 GB, free: 76.98 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.082e-05/23.02, allocations: 6.469 kB / 5.827 GB, free: 76.98 MB / 0.9792 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.008196/23.03, allocations: 2.36 MB / 5.829 GB, free: 76.82 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.001384/23.03, allocations: 5.963 MB / 5.835 GB, free: 70.59 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.596e-05/23.03, allocations: 16.75 kB / 5.835 GB, free: 70.59 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.249e-05/23.03, allocations: 25.34 kB / 5.835 GB, free: 70.59 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005865/23.04, allocations: 0.5699 MB / 5.835 GB, free: 70.59 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001364/23.04, allocations: 2.402 MB / 5.838 GB, free: 68.25 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006688/23.05, allocations: 386.4 kB / 5.838 GB, free: 68.23 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000708/23.05, allocations: 106.2 kB / 5.838 GB, free: 68.23 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/23.05, allocations: 3.938 kB / 5.838 GB, free: 68.23 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007578/23.05, allocations: 2.128 MB / 5.84 GB, free: 68.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.832e-05/23.05, allocations: 13.97 kB / 5.84 GB, free: 68.2 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.126e-05/23.05, allocations: 26.53 kB / 5.84 GB, free: 68.2 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005002/23.06, allocations: 0.5383 MB / 5.841 GB, free: 68.2 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.446e-05/23.06, allocations: 28.09 kB / 5.841 GB, free: 68.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005642/23.07, allocations: 321.5 kB / 5.841 GB, free: 68.18 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006511/23.07, allocations: 94.73 kB / 5.841 GB, free: 68.18 MB / 0.9792 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 () * 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.0007523/23.07, allocations: 156.8 kB / 5.841 GB, free: 68.07 MB / 0.9792 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004491/23.07, allocations: 1.475 MB / 5.843 GB, free: 67.89 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008721/23.07, allocations: 215.8 kB / 5.843 GB, free: 67.78 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004802/23.08, allocations: 1.617 MB / 5.845 GB, free: 67.67 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.584e-05/23.08, allocations: 8.938 kB / 5.845 GB, free: 67.67 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/23.08, allocations: 2.781 kB / 5.845 GB, free: 67.67 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.55e-05/23.08, allocations: 7.266 kB / 5.845 GB, free: 67.67 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01151/23.09, allocations: 3.923 MB / 5.849 GB, free: 67.15 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.556e-05/23.09, allocations: 7.188 kB / 5.849 GB, free: 67.15 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003196/23.09, allocations: 322.3 kB / 5.849 GB, free: 67.15 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.66e-05/23.09, allocations: 9.406 kB / 5.849 GB, free: 67.15 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002146/23.09, allocations: 20.09 kB / 5.849 GB, free: 67.15 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001019/23.09, allocations: 2.364 MB / 5.851 GB, free: 64.81 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.335e-05/23.09, allocations: 10.09 kB / 5.851 GB, free: 64.81 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004692/23.1, allocations: 2.189 MB / 5.853 GB, free: 63.74 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001949/23.1, allocations: 0.5109 MB / 5.854 GB, free: 63.53 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005399/23.1, allocations: 6.781 kB / 5.854 GB, free: 63.53 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004789/23.11, allocations: 246.1 kB / 5.854 GB, free: 63.52 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003184/23.11, allocations: 81.67 kB / 5.854 GB, free: 63.52 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002969/23.11, allocations: 65.34 kB / 5.854 GB, free: 63.52 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.002685/23.11, allocations: 1.126 MB / 5.855 GB, free: 63.37 MB / 0.9792 GB Notification: Performance of sort global known variables: time 7.32e-07/23.11, allocations: 0 / 5.855 GB, free: 63.37 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.008411/23.12, allocations: 1.739 MB / 5.857 GB, free: 63.19 MB / 0.9792 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.01895/23.14, allocations: 12.4 MB / 5.869 GB, free: 56.01 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.007843/23.14, allocations: 2.835 MB / 5.872 GB, free: 55.72 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.418e-05/23.14, allocations: 6.969 kB / 5.872 GB, free: 55.72 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001792/23.15, allocations: 0.6205 MB / 5.873 GB, free: 55.72 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006697/23.15, allocations: 0.7305 MB / 5.873 GB, free: 55.7 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01208/23.17, allocations: 3.482 MB / 5.877 GB, free: 54.64 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001631/23.17, allocations: 1.734 MB / 5.878 GB, free: 53.9 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.007202/23.17, allocations: 0.8111 MB / 5.879 GB, free: 53.88 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002343/23.18, allocations: 0.9368 MB / 5.88 GB, free: 53.87 MB / 0.9792 GB Notification: Performance of SimCode: time 1.363e-06/23.18, allocations: 0 / 5.88 GB, free: 53.87 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2372/23.41, allocations: 98.61 MB / 5.976 GB, free: 40.97 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002468/23.41, allocations: 179.4 kB / 5.977 GB, free: 40.78 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.583/31, allocations: 0 / 5.977 GB, free: 40.78 MB / 0.9792 GB