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.135/2.135, allocations: 248.5 MB / 261 MB, free: 6.004 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.001454/0.001453, allocations: 170.6 kB / 320.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.953/1.953, allocations: 205.1 MB / 0.571 GB, free: 11.82 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.001157/0.001156, allocations: 100.2 kB / 0.6754 GB, free: 0.9023 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.044e-05/4.06e-05, allocations: 4 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2253, allocations: 106.2 MB / 0.8907 GB, free: 7.465 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.2/7.425, allocations: 2.213 GB / 3.103 GB, free: 120.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003466/7.426, allocations: 95 kB / 3.103 GB, free: 120.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 15.1/22.52, allocations: 2.724 GB / 5.827 GB, free: 75.07 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.625e-06/22.52, allocations: 0 / 5.827 GB, free: 75.07 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0005783/22.52, allocations: 67.08 kB / 5.827 GB, free: 75.07 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.02104/22.54, allocations: 3.473 MB / 5.831 GB, free: 73.6 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.672e-05/22.54, allocations: 12.09 kB / 5.831 GB, free: 73.6 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001246/22.55, allocations: 297 kB / 5.831 GB, free: 73.55 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01739/22.56, allocations: 1.195 MB / 5.832 GB, free: 73.38 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01079/22.57, allocations: 2.576 MB / 5.835 GB, free: 72.88 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002434/22.58, allocations: 438.7 kB / 5.835 GB, free: 72.87 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009829/22.58, allocations: 215 kB / 5.835 GB, free: 72.87 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007734/22.59, allocations: 2.849 MB / 5.838 GB, free: 72.45 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.129e-05/22.59, allocations: 3.75 kB / 5.838 GB, free: 72.45 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004992/22.59, allocations: 101.3 kB / 5.838 GB, free: 72.45 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001346/22.59, allocations: 91.73 kB / 5.838 GB, free: 72.45 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007688/22.59, allocations: 2.649 MB / 5.841 GB, free: 72.41 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.03466/22.63, allocations: 14.06 MB / 5.855 GB, free: 64.9 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004263/22.63, allocations: 1.416 MB / 5.856 GB, free: 64.87 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001517/22.63, allocations: 0.6398 MB / 5.857 GB, free: 64.86 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008237/22.64, allocations: 325.9 kB / 5.857 GB, free: 64.57 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.645e-05/22.64, allocations: 52.52 kB / 5.857 GB, free: 64.54 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002535/22.64, allocations: 216 kB / 5.857 GB, free: 64.46 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=110): time 5.2e-06/22.64, allocations: 0 / 5.857 GB, free: 64.46 MB / 0.9792 GB Notification: Performance of matching and sorting (n=110): time 0.004284/22.64, allocations: 1.436 MB / 5.859 GB, free: 64.27 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/22.64, allocations: 62.22 kB / 5.859 GB, free: 64.21 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004461/22.65, allocations: 2.073 MB / 5.861 GB, free: 63.96 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0005245/22.65, allocations: 59.83 kB / 5.861 GB, free: 63.93 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001197/22.65, allocations: 1.248 MB / 5.862 GB, free: 63.46 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005064/22.65, allocations: 381.2 kB / 5.862 GB, free: 63.23 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002216/22.65, allocations: 39.05 kB / 5.862 GB, free: 63.23 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001279/22.65, allocations: 378 kB / 5.863 GB, free: 62.92 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001917/22.65, allocations: 0.7092 MB / 5.863 GB, free: 62.91 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002364/22.65, allocations: 1.317 MB / 5.865 GB, free: 62.21 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002272/22.66, allocations: 0.9188 MB / 5.866 GB, free: 62.13 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.356e-05/22.66, allocations: 3.156 kB / 5.866 GB, free: 62.13 MB / 0.9792 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.006216/22.66, allocations: 2.325 MB / 5.868 GB, free: 61.88 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.001475/22.66, allocations: 6.115 MB / 5.874 GB, free: 55.39 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.349e-05/22.66, allocations: 21.44 kB / 5.874 GB, free: 55.39 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.005e-05/22.66, allocations: 23.75 kB / 5.874 GB, free: 55.39 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005861/22.67, allocations: 0.5635 MB / 5.874 GB, free: 55.39 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001339/22.67, allocations: 2.393 MB / 5.877 GB, free: 53.05 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007164/22.68, allocations: 474.7 kB / 5.877 GB, free: 53.02 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004536/22.68, allocations: 95.2 kB / 5.877 GB, free: 53.02 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/22.68, allocations: 3.219 kB / 5.877 GB, free: 53.02 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005352/22.68, allocations: 2.085 MB / 5.879 GB, free: 52.92 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.748e-05/22.68, allocations: 14.97 kB / 5.879 GB, free: 52.92 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.705e-05/22.68, allocations: 26.45 kB / 5.879 GB, free: 52.92 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004791/22.69, allocations: 0.531 MB / 5.88 GB, free: 52.9 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.237e-05/22.69, allocations: 35.3 kB / 5.88 GB, free: 52.89 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006002/22.7, allocations: 401.9 kB / 5.88 GB, free: 52.86 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000416/22.7, allocations: 92.67 kB / 5.88 GB, free: 52.86 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.0007189/22.7, allocations: 228.2 kB / 5.881 GB, free: 52.71 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007311/22.7, allocations: 256.9 kB / 5.881 GB, free: 52.59 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005892/22.7, allocations: 1.568 MB / 5.882 GB, free: 52.48 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.351e-05/22.7, allocations: 13.97 kB / 5.882 GB, free: 52.48 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.195e-05/22.7, allocations: 0 / 5.882 GB, free: 52.48 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.32e-05/22.7, allocations: 6.094 kB / 5.882 GB, free: 52.48 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01157/22.72, allocations: 4.201 MB / 5.887 GB, free: 51.88 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.301e-05/22.72, allocations: 8.844 kB / 5.887 GB, free: 51.88 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003149/22.72, allocations: 312.8 kB / 5.887 GB, free: 51.86 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.326e-05/22.72, allocations: 16.52 kB / 5.887 GB, free: 51.86 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001345/22.72, allocations: 29.89 kB / 5.887 GB, free: 51.86 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009758/22.72, allocations: 2.366 MB / 5.889 GB, free: 49.52 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.637e-06/22.72, allocations: 10.19 kB / 5.889 GB, free: 49.51 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004358/22.72, allocations: 2.199 MB / 5.891 GB, free: 48.32 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002003/22.73, allocations: 0.5523 MB / 5.892 GB, free: 48.09 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005935/22.73, allocations: 30.88 kB / 5.892 GB, free: 48.09 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004918/22.73, allocations: 287 kB / 5.892 GB, free: 48.07 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002527/22.73, allocations: 81.33 kB / 5.892 GB, free: 48.07 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002363/22.73, allocations: 66.66 kB / 5.892 GB, free: 48.07 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.00351/22.74, allocations: 1.58 MB / 5.894 GB, free: 47.91 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8.92e-07/22.74, allocations: 0 / 5.894 GB, free: 47.91 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.008532/22.74, allocations: 1.94 MB / 5.896 GB, free: 47.77 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.0237/22.77, allocations: 11.72 MB / 5.907 GB, free: 40.56 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.01307/22.78, allocations: 3.019 MB / 5.91 GB, free: 40.17 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.288e-05/22.78, allocations: 0 / 5.91 GB, free: 40.17 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.003103/22.78, allocations: 0.6739 MB / 5.911 GB, free: 40.13 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01566/22.8, allocations: 1.198 MB / 5.912 GB, free: 40.1 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0131/22.81, allocations: 3.675 MB / 5.916 GB, free: 39.02 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00169/22.81, allocations: 1.732 MB / 5.917 GB, free: 38.28 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.009295/22.82, allocations: 0.9785 MB / 5.918 GB, free: 38.25 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00256/22.83, allocations: 0.9614 MB / 5.919 GB, free: 38.24 MB / 0.9792 GB Notification: Performance of SimCode: time 1.654e-06/22.83, allocations: 0 / 5.919 GB, free: 38.24 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.221/24.05, allocations: 169.2 MB / 6.084 GB, free: 115.5 MB / 1.01 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002843/24.05, allocations: 229.2 kB / 6.085 GB, free: 115.3 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/35.35, allocations: 4.031 kB / 6.085 GB, free: 115.3 MB / 1.01 GB