Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_ReverseFlowMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_ReverseFlowMassExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.741/1.741, allocations: 285.6 MB / 293.1 MB, free: 10.14 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001191/0.001191, allocations: 184.9 kB / 361.4 MB, free: 6.797 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.86/1.86, allocations: 205.2 MB / 0.62 GB, free: 11.63 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001081/0.001081, allocations: 84.64 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.753e-05/2.757e-05, allocations: 4 kB / 0.8518 GB, free: 2.625 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.858/0.8581, allocations: 115.3 MB / 0.9644 GB, free: 78.72 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.765/6.623, allocations: 2.094 GB / 3.058 GB, free: 20.89 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000236/6.623, allocations: 97.09 kB / 3.058 GB, free: 20.85 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 11.92/18.54, allocations: 2.784 GB / 5.842 GB, free: 86.39 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.064e-06/18.54, allocations: 4.094 kB / 5.842 GB, free: 86.39 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.0004731/18.54, allocations: 73.89 kB / 5.842 GB, free: 86.38 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.01496/18.56, allocations: 3.498 MB / 5.846 GB, free: 84.98 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/18.56, allocations: 10.69 kB / 5.846 GB, free: 84.98 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01095/18.57, allocations: 1.196 MB / 5.847 GB, free: 84.82 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01005/18.58, allocations: 2.565 MB / 5.849 GB, free: 84.35 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001451/18.58, allocations: 350.7 kB / 5.85 GB, free: 84.34 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001212/18.58, allocations: 134.8 kB / 5.85 GB, free: 84.34 MB / 1.042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006787/18.59, allocations: 2.438 MB / 5.852 GB, free: 84.32 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007702/18.6, allocations: 2.375 MB / 5.854 GB, free: 83.93 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.419e-05/18.6, allocations: 5.016 kB / 5.854 GB, free: 83.93 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007062/18.6, allocations: 9.062 kB / 5.854 GB, free: 83.93 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001142/18.6, allocations: 85.19 kB / 5.854 GB, free: 83.92 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.02607/18.63, allocations: 13.59 MB / 5.868 GB, free: 76.54 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002501/18.63, allocations: 1.481 MB / 5.869 GB, free: 76.33 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001003/18.63, allocations: 0.6076 MB / 5.87 GB, free: 76.32 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006518/18.63, allocations: 324.5 kB / 5.87 GB, free: 76.04 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.21e-05/18.63, allocations: 55.5 kB / 5.87 GB, free: 75.99 MB / 1.042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001908/18.63, allocations: 163.2 kB / 5.87 GB, free: 75.93 MB / 1.042 GB Notification: Performance of pre-optimization done (n=110): time 7.584e-06/18.63, allocations: 3.938 kB / 5.87 GB, free: 75.93 MB / 1.042 GB Notification: Performance of matching and sorting (n=110): time 0.003964/18.64, allocations: 1.515 MB / 5.872 GB, free: 75.75 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/18.64, allocations: 64.97 kB / 5.872 GB, free: 75.68 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003871/18.64, allocations: 1.556 MB / 5.873 GB, free: 75.46 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.0004451/18.64, allocations: 33.17 kB / 5.873 GB, free: 75.43 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.001158/18.64, allocations: 1.295 MB / 5.875 GB, free: 74.86 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006185/18.64, allocations: 376.9 kB / 5.875 GB, free: 74.62 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000272/18.64, allocations: 3.344 kB / 5.875 GB, free: 74.62 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001818/18.64, allocations: 369.5 kB / 5.875 GB, free: 74.32 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001359/18.64, allocations: 0.6701 MB / 5.876 GB, free: 74.31 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001719/18.65, allocations: 1.32 MB / 5.877 GB, free: 73.55 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002711/18.65, allocations: 1.163 MB / 5.878 GB, free: 73.53 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.243e-05/18.65, allocations: 3.219 kB / 5.878 GB, free: 73.53 MB / 1.042 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.005181/18.65, allocations: 2.375 MB / 5.881 GB, free: 73.36 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.001833/18.66, allocations: 5.628 MB / 5.886 GB, free: 67.49 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.989e-05/18.66, allocations: 16.56 kB / 5.886 GB, free: 67.49 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.16e-05/18.66, allocations: 24.22 kB / 5.886 GB, free: 67.49 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003322/18.66, allocations: 0.56 MB / 5.887 GB, free: 67.49 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00126/18.66, allocations: 2.398 MB / 5.889 GB, free: 65.15 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004301/18.66, allocations: 392.8 kB / 5.89 GB, free: 65.13 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000386/18.66, allocations: 92.81 kB / 5.89 GB, free: 65.13 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/18.66, allocations: 3.406 kB / 5.89 GB, free: 65.13 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004558/18.67, allocations: 2.13 MB / 5.892 GB, free: 65.1 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-05/18.67, allocations: 14.53 kB / 5.892 GB, free: 65.1 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.358e-05/18.67, allocations: 26.81 kB / 5.892 GB, free: 65.1 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002473/18.67, allocations: 0.5347 MB / 5.892 GB, free: 65.1 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.467e-05/18.67, allocations: 29.12 kB / 5.892 GB, free: 65.1 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003365/18.68, allocations: 316.2 kB / 5.893 GB, free: 65.09 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002966/18.68, allocations: 87.25 kB / 5.893 GB, free: 65.09 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.0007022/18.68, allocations: 171.1 kB / 5.893 GB, free: 64.97 MB / 1.042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002935/18.68, allocations: 1.475 MB / 5.894 GB, free: 64.8 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007432/18.68, allocations: 221.2 kB / 5.895 GB, free: 64.68 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003164/18.68, allocations: 1.622 MB / 5.896 GB, free: 64.57 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/18.68, allocations: 11.53 kB / 5.896 GB, free: 64.57 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/18.68, allocations: 3.938 kB / 5.896 GB, free: 64.57 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/18.68, allocations: 3.797 kB / 5.896 GB, free: 64.57 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008342/18.69, allocations: 3.921 MB / 5.9 GB, free: 64.05 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.426e-05/18.69, allocations: 10.14 kB / 5.9 GB, free: 64.05 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001744/18.69, allocations: 315.1 kB / 5.9 GB, free: 64.05 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.249e-05/18.69, allocations: 12.34 kB / 5.9 GB, free: 64.05 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001055/18.69, allocations: 22.11 kB / 5.9 GB, free: 64.05 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008869/18.69, allocations: 2.363 MB / 5.903 GB, free: 61.71 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.267e-05/18.69, allocations: 9.406 kB / 5.903 GB, free: 61.71 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003493/18.7, allocations: 2.208 MB / 5.905 GB, free: 60.63 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001791/18.7, allocations: 496.9 kB / 5.905 GB, free: 60.43 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008178/18.7, allocations: 13.34 kB / 5.905 GB, free: 60.43 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003042/18.7, allocations: 247.1 kB / 5.906 GB, free: 60.41 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001343/18.7, allocations: 80.06 kB / 5.906 GB, free: 60.41 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002174/18.7, allocations: 62.09 kB / 5.906 GB, free: 60.41 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.002572/18.71, allocations: 1.153 MB / 5.907 GB, free: 60.26 MB / 1.042 GB Notification: Performance of sort global known variables: time 2.3e-07/18.71, allocations: 0.8438 kB / 5.907 GB, free: 60.26 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.007639/18.71, allocations: 1.725 MB / 5.908 GB, free: 60.08 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.01523/18.73, allocations: 12.41 MB / 5.921 GB, free: 52.91 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.006107/18.74, allocations: 2.837 MB / 5.923 GB, free: 52.63 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.289e-05/18.74, allocations: 0 / 5.923 GB, free: 52.63 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.001226/18.74, allocations: 0.6277 MB / 5.924 GB, free: 52.63 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004687/18.74, allocations: 0.7272 MB / 5.925 GB, free: 52.6 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01084/18.75, allocations: 3.57 MB / 5.928 GB, free: 51.5 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001924/18.75, allocations: 1.753 MB / 5.93 GB, free: 50.75 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.005003/18.76, allocations: 0.8224 MB / 5.931 GB, free: 50.73 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001466/18.76, allocations: 0.9517 MB / 5.932 GB, free: 50.72 MB / 1.042 GB Notification: Performance of SimCode: time 1.483e-06/18.76, allocations: 0 / 5.932 GB, free: 50.72 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1656/18.93, allocations: 99.56 MB / 6.029 GB, free: 30.59 MB / 1.042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000171/18.93, allocations: 191.4 kB / 6.029 GB, free: 30.39 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.676/25.6, allocations: 0 / 6.029 GB, free: 30.39 MB / 1.042 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_ReverseFlowMassExchanger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_ReverseFlowMassExchanger.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1)