Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_ReverseFlowMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.691/1.691, allocations: 289.9 MB / 297.4 MB, free: 6.43 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.001558/0.001558, allocations: 180.8 kB / 366.7 MB, free: 1.656 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.963/1.963, allocations: 205.3 MB / 0.626 GB, free: 7.168 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.001023/0.001023, allocations: 88.33 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.08e-05/3.13e-05, allocations: 4 kB / 0.8598 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8075/0.8076, allocations: 116.3 MB / 0.9733 GB, free: 76.42 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.658/7.466, allocations: 2.095 GB / 3.068 GB, free: 283.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003199/7.467, allocations: 90.28 kB / 3.068 GB, free: 283.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 11.02/18.49, allocations: 2.784 GB / 5.852 GB, free: 73.76 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.663e-06/18.49, allocations: 0 / 5.852 GB, free: 73.76 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.0002225/18.49, allocations: 69.12 kB / 5.852 GB, free: 73.75 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.01081/18.5, allocations: 3.498 MB / 5.855 GB, free: 72.27 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/18.5, allocations: 9.438 kB / 5.855 GB, free: 72.27 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009512/18.51, allocations: 1.197 MB / 5.857 GB, free: 72.11 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006965/18.52, allocations: 2.565 MB / 5.859 GB, free: 71.57 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001218/18.52, allocations: 356 kB / 5.859 GB, free: 71.57 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007586/18.52, allocations: 136.4 kB / 5.86 GB, free: 71.57 MB / 1.042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004997/18.52, allocations: 2.428 MB / 5.862 GB, free: 71.55 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005229/18.53, allocations: 2.378 MB / 5.864 GB, free: 71.16 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.487e-05/18.53, allocations: 8.312 kB / 5.864 GB, free: 71.16 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002862/18.53, allocations: 3.031 kB / 5.864 GB, free: 71.16 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001388/18.53, allocations: 97.28 kB / 5.864 GB, free: 71.14 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.02231/18.55, allocations: 13.57 MB / 5.878 GB, free: 63.77 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001821/18.55, allocations: 1.491 MB / 5.879 GB, free: 63.55 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007098/18.56, allocations: 0.6048 MB / 5.88 GB, free: 63.54 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004917/18.56, allocations: 327.9 kB / 5.88 GB, free: 63.26 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/18.56, allocations: 58.08 kB / 5.88 GB, free: 63.21 MB / 1.042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00157/18.56, allocations: 159 kB / 5.88 GB, free: 63.16 MB / 1.042 GB Notification: Performance of pre-optimization done (n=110): time 3.757e-06/18.56, allocations: 0 / 5.88 GB, free: 63.16 MB / 1.042 GB Notification: Performance of matching and sorting (n=110): time 0.002521/18.56, allocations: 1.517 MB / 5.882 GB, free: 62.98 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.574e-05/18.56, allocations: 62.78 kB / 5.882 GB, free: 62.92 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001881/18.56, allocations: 1.555 MB / 5.883 GB, free: 62.69 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001345/18.56, allocations: 36.3 kB / 5.883 GB, free: 62.66 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006958/18.56, allocations: 1.292 MB / 5.885 GB, free: 62.1 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002261/18.56, allocations: 377.4 kB / 5.885 GB, free: 61.85 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/18.56, allocations: 3.5 kB / 5.885 GB, free: 61.85 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 9.151e-05/18.56, allocations: 370.4 kB / 5.885 GB, free: 61.55 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000908/18.56, allocations: 0.6693 MB / 5.886 GB, free: 61.54 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001248/18.57, allocations: 1.325 MB / 5.887 GB, free: 60.78 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002094/18.57, allocations: 1.159 MB / 5.888 GB, free: 60.75 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.867e-06/18.57, allocations: 5.375 kB / 5.888 GB, free: 60.75 MB / 1.042 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.004169/18.57, allocations: 2.37 MB / 5.891 GB, free: 60.59 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.001307/18.57, allocations: 5.63 MB / 5.896 GB, free: 54.72 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.004e-05/18.57, allocations: 13.09 kB / 5.896 GB, free: 54.72 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.032e-05/18.57, allocations: 23.56 kB / 5.896 GB, free: 54.72 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002742/18.58, allocations: 0.5686 MB / 5.897 GB, free: 54.72 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009441/18.58, allocations: 2.407 MB / 5.899 GB, free: 52.38 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003619/18.58, allocations: 385.6 kB / 5.899 GB, free: 52.36 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002002/18.58, allocations: 88.64 kB / 5.9 GB, free: 52.36 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/18.58, allocations: 7.938 kB / 5.9 GB, free: 52.36 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003683/18.58, allocations: 2.136 MB / 5.902 GB, free: 52.31 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/18.58, allocations: 12.94 kB / 5.902 GB, free: 52.31 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.336e-05/18.58, allocations: 24.09 kB / 5.902 GB, free: 52.31 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002388/18.59, allocations: 0.5341 MB / 5.902 GB, free: 52.29 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.2e-05/18.59, allocations: 33.06 kB / 5.902 GB, free: 52.28 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003657/18.59, allocations: 312.3 kB / 5.902 GB, free: 52.27 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002601/18.59, allocations: 96.59 kB / 5.903 GB, free: 52.27 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.00069/18.59, allocations: 172.5 kB / 5.903 GB, free: 52.12 MB / 1.042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002949/18.59, allocations: 1.47 MB / 5.904 GB, free: 51.95 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000312/18.59, allocations: 218.3 kB / 5.904 GB, free: 51.83 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002783/18.6, allocations: 1.615 MB / 5.906 GB, free: 51.73 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.257e-05/18.6, allocations: 12.41 kB / 5.906 GB, free: 51.73 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/18.6, allocations: 3.953 kB / 5.906 GB, free: 51.73 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.243e-05/18.6, allocations: 7.266 kB / 5.906 GB, free: 51.73 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006264/18.6, allocations: 3.918 MB / 5.91 GB, free: 51.17 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.899e-06/18.6, allocations: 5.406 kB / 5.91 GB, free: 51.17 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001586/18.61, allocations: 317.1 kB / 5.91 GB, free: 51.15 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.534e-05/18.61, allocations: 15.47 kB / 5.91 GB, free: 51.15 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.913e-05/18.61, allocations: 18.22 kB / 5.91 GB, free: 51.15 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006794/18.61, allocations: 2.365 MB / 5.912 GB, free: 48.81 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.925e-06/18.61, allocations: 11.12 kB / 5.912 GB, free: 48.8 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002643/18.61, allocations: 2.204 MB / 5.915 GB, free: 47.72 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001128/18.61, allocations: 496.5 kB / 5.915 GB, free: 47.51 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003003/18.61, allocations: 10.34 kB / 5.915 GB, free: 47.51 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002184/18.61, allocations: 248.9 kB / 5.915 GB, free: 47.5 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001422/18.61, allocations: 87.98 kB / 5.915 GB, free: 47.48 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001308/18.61, allocations: 66.5 kB / 5.915 GB, free: 47.48 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.001708/18.61, allocations: 1.151 MB / 5.917 GB, free: 47.34 MB / 1.042 GB Notification: Performance of sort global known variables: time 3.9e-07/18.61, allocations: 0 / 5.917 GB, free: 47.34 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.005802/18.62, allocations: 1.722 MB / 5.918 GB, free: 47.16 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.01467/18.63, allocations: 12.4 MB / 5.93 GB, free: 39.98 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.005336/18.64, allocations: 2.846 MB / 5.933 GB, free: 39.61 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.321e-05/18.64, allocations: 2.781 kB / 5.933 GB, free: 39.61 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.001158/18.64, allocations: 0.628 MB / 5.934 GB, free: 39.58 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004334/18.65, allocations: 0.7319 MB / 5.935 GB, free: 39.55 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008186/18.65, allocations: 3.567 MB / 5.938 GB, free: 38.43 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001183/18.66, allocations: 1.752 MB / 5.94 GB, free: 37.68 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.004115/18.66, allocations: 0.826 MB / 5.941 GB, free: 37.62 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00121/18.66, allocations: 0.949 MB / 5.941 GB, free: 37.62 MB / 1.042 GB Notification: Performance of SimCode: time 9.02e-07/18.66, allocations: 0 / 5.941 GB, free: 37.62 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1602/18.82, allocations: 99.55 MB / 6.039 GB, free: 104 kB / 1.057 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002026/18.82, allocations: 186.8 kB / 6.039 GB, free: 15.9 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.478/25.3, allocations: 0 / 6.039 GB, free: 15.9 MB / 1.073 GB (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Interfaces_Examples_ReverseFlowMassExchanger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Interfaces_Examples_ReverseFlowMassExchanger.fmu > Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1)