Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_ReverseFlowMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.589/2.589, allocations: 287.3 MB / 302.3 MB, free: 8.293 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.001526/0.001526, allocations: 172.8 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.074/2.074, allocations: 205.4 MB / 0.6295 GB, free: 10.63 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001227/0.001226, allocations: 94.8 kB / 0.7428 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000496/0.0004959, allocations: 15.88 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2233, allocations: 115.3 MB / 0.9783 GB, free: 28.33 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.749/6.972, allocations: 2.095 GB / 3.073 GB, free: 160.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003369/6.973, allocations: 98.52 kB / 3.073 GB, free: 160 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 16.88/23.85, allocations: 2.817 GB / 5.89 GB, free: 96.48 MB / 1.057 GB Notification: Performance of FrontEnd: time 2.806e-06/23.85, allocations: 1.719 kB / 5.89 GB, free: 96.48 MB / 1.057 GB Notification: Performance of Transformations before backend: time 0.0003817/23.85, allocations: 72.89 kB / 5.89 GB, free: 96.48 MB / 1.057 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.01811/23.87, allocations: 3.918 MB / 5.893 GB, free: 95.28 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/23.87, allocations: 10.72 kB / 5.893 GB, free: 95.28 MB / 1.057 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001525/23.87, allocations: 304.2 kB / 5.894 GB, free: 95.23 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01756/23.89, allocations: 1.198 MB / 5.895 GB, free: 95.06 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01194/23.9, allocations: 2.59 MB / 5.897 GB, free: 94.66 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002617/23.9, allocations: 432.2 kB / 5.898 GB, free: 94.65 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001221/23.91, allocations: 224.2 kB / 5.898 GB, free: 94.65 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01262/23.92, allocations: 3.128 MB / 5.901 GB, free: 94.24 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.083e-05/23.92, allocations: 6.109 kB / 5.901 GB, free: 94.24 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006214/23.92, allocations: 94.16 kB / 5.901 GB, free: 94.24 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001866/23.92, allocations: 87.48 kB / 5.901 GB, free: 94.23 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01487/23.93, allocations: 3.229 MB / 5.904 GB, free: 94.2 MB / 1.057 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.03988/23.97, allocations: 14.07 MB / 5.918 GB, free: 86.8 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007791/23.98, allocations: 1.72 MB / 5.92 GB, free: 86.76 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009395/23.98, allocations: 326.9 kB / 5.92 GB, free: 86.48 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.039e-05/23.98, allocations: 48.72 kB / 5.92 GB, free: 86.44 MB / 1.057 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003142/23.99, allocations: 213.6 kB / 5.92 GB, free: 86.4 MB / 1.057 GB Notification: Performance of pre-optimization done (n=110): time 1.106e-05/23.99, allocations: 0 / 5.92 GB, free: 86.4 MB / 1.057 GB Notification: Performance of matching and sorting (n=110): time 0.01119/24, allocations: 2.393 MB / 5.923 GB, free: 86.21 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/24, allocations: 65.67 kB / 5.923 GB, free: 86.14 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006807/24, allocations: 2.248 MB / 5.925 GB, free: 85.92 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.0005844/24.01, allocations: 58.8 kB / 5.925 GB, free: 85.89 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.00149/24.01, allocations: 1.271 MB / 5.926 GB, free: 85.53 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006364/24.01, allocations: 385.7 kB / 5.927 GB, free: 85.34 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003182/24.01, allocations: 37.97 kB / 5.927 GB, free: 85.34 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001432/24.01, allocations: 373 kB / 5.927 GB, free: 85.04 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004777/24.01, allocations: 0.9972 MB / 5.928 GB, free: 85.03 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005765/24.02, allocations: 1.67 MB / 5.93 GB, free: 84.26 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00539/24.02, allocations: 1.212 MB / 5.931 GB, free: 84.18 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.942e-05/24.02, allocations: 3.594 kB / 5.931 GB, free: 84.18 MB / 1.057 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.01236/24.04, allocations: 2.883 MB / 5.934 GB, free: 83.93 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.00142/24.04, allocations: 5.789 MB / 5.939 GB, free: 77.82 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-05/24.04, allocations: 10.94 kB / 5.939 GB, free: 77.82 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.349e-05/24.04, allocations: 23.94 kB / 5.939 GB, free: 77.82 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005882/24.04, allocations: 0.5658 MB / 5.94 GB, free: 77.82 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001322/24.05, allocations: 2.382 MB / 5.942 GB, free: 75.49 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007541/24.05, allocations: 477.3 kB / 5.943 GB, free: 75.46 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006763/24.05, allocations: 95 kB / 5.943 GB, free: 75.46 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/24.05, allocations: 4.844 kB / 5.943 GB, free: 75.46 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01178/24.07, allocations: 2.646 MB / 5.945 GB, free: 75.37 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.999e-05/24.07, allocations: 15.94 kB / 5.945 GB, free: 75.37 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.347e-05/24.07, allocations: 20.72 kB / 5.945 GB, free: 75.37 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005166/24.07, allocations: 0.536 MB / 5.946 GB, free: 75.37 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.888e-05/24.07, allocations: 30.73 kB / 5.946 GB, free: 75.37 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006676/24.08, allocations: 398.2 kB / 5.946 GB, free: 75.36 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006906/24.08, allocations: 94.12 kB / 5.946 GB, free: 75.36 MB / 1.057 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 () * 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.002235/24.08, allocations: 0.6327 MB / 5.947 GB, free: 75.17 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000944/24.08, allocations: 263.5 kB / 5.947 GB, free: 75.03 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00764/24.09, allocations: 1.875 MB / 5.949 GB, free: 74.94 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-05/24.09, allocations: 12.97 kB / 5.949 GB, free: 74.94 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/24.09, allocations: 3.438 kB / 5.949 GB, free: 74.94 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.63e-05/24.09, allocations: 3.703 kB / 5.949 GB, free: 74.94 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01604/24.11, allocations: 4.487 MB / 5.954 GB, free: 74.37 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.662e-05/24.11, allocations: 5.125 kB / 5.954 GB, free: 74.37 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003343/24.11, allocations: 323.2 kB / 5.954 GB, free: 74.37 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.185e-05/24.11, allocations: 12.61 kB / 5.954 GB, free: 74.37 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002203/24.11, allocations: 36.83 kB / 5.954 GB, free: 74.37 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001023/24.11, allocations: 2.36 MB / 5.956 GB, free: 72.03 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.008e-05/24.11, allocations: 13.19 kB / 5.956 GB, free: 72.03 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007517/24.12, allocations: 2.49 MB / 5.959 GB, free: 70.85 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002416/24.12, allocations: 0.5505 MB / 5.959 GB, free: 70.61 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001004/24.12, allocations: 26.56 kB / 5.959 GB, free: 70.61 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005525/24.13, allocations: 284.1 kB / 5.959 GB, free: 70.61 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004013/24.13, allocations: 75.62 kB / 5.96 GB, free: 70.6 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003234/24.13, allocations: 70.11 kB / 5.96 GB, free: 70.6 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.005737/24.13, allocations: 1.744 MB / 5.961 GB, free: 70.45 MB / 1.057 GB Notification: Performance of sort global known variables: time 2.134e-06/24.13, allocations: 1.75 kB / 5.961 GB, free: 70.45 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.01006/24.14, allocations: 1.934 MB / 5.963 GB, free: 70.32 MB / 1.057 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.0222/24.17, allocations: 12.03 MB / 5.975 GB, free: 63.2 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.01562/24.18, allocations: 3.664 MB / 5.979 GB, free: 62.92 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.635e-05/24.18, allocations: 1.906 kB / 5.979 GB, free: 62.92 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.003516/24.19, allocations: 0.8128 MB / 5.979 GB, free: 62.92 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01102/24.2, allocations: 1.198 MB / 5.981 GB, free: 62.89 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02135/24.22, allocations: 16.39 MB / 5.997 GB, free: 49.53 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002243/24.22, allocations: 1.75 MB / 5.998 GB, free: 48.77 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.007461/24.23, allocations: 0.7874 MB / 5.999 GB, free: 48.74 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003126/24.23, allocations: 1.008 MB / 6 GB, free: 48.73 MB / 1.057 GB Notification: Performance of SimCode: time 1.553e-06/24.23, allocations: 0 / 6 GB, free: 48.73 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3484/24.58, allocations: 151 MB / 6.147 GB, free: 41.22 MB / 1.057 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002822/24.58, allocations: 254.3 kB / 6.148 GB, free: 40.87 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.885/34.46, allocations: 0 / 6.148 GB, free: 40.87 MB / 1.057 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_ReverseFlowMassExchanger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_ReverseFlowMassExchanger.fmu > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1)