Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_ReverseFlowMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.456/1.456, allocations: 251.9 MB / 266.9 MB, free: 10.99 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001297/0.001297, allocations: 166.9 kB / 326.5 MB, free: 2.234 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.195/2.195, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.001088/0.001088, allocations: 87.75 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004277/0.0004278, allocations: 11.53 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.2746, allocations: 106.3 MB / 0.9002 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.829/6.104, allocations: 2.213 GB / 3.113 GB, free: 239.4 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002856/6.104, allocations: 99.38 kB / 3.113 GB, free: 239.4 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 9.531/15.64, allocations: 2.727 GB / 5.84 GB, free: 40.28 MB / 0.9792 GB Notification: Performance of FrontEnd: time 3.166e-06/15.64, allocations: 0 / 5.84 GB, free: 40.28 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0004288/15.64, allocations: 67.98 kB / 5.84 GB, free: 40.21 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.01581/15.65, allocations: 3.889 MB / 5.843 GB, free: 36.28 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/15.65, allocations: 8.031 kB / 5.843 GB, free: 36.27 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001476/15.65, allocations: 307.8 kB / 5.844 GB, free: 35.96 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01016/15.66, allocations: 1.194 MB / 5.845 GB, free: 34.76 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00872/15.67, allocations: 2.586 MB / 5.847 GB, free: 32.13 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001343/15.67, allocations: 436.9 kB / 5.848 GB, free: 31.7 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001068/15.67, allocations: 224 kB / 5.848 GB, free: 31.48 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00732/15.68, allocations: 3.153 MB / 5.851 GB, free: 28.16 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.581e-05/15.68, allocations: 7.938 kB / 5.851 GB, free: 28.15 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003011/15.68, allocations: 92 kB / 5.851 GB, free: 28.06 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-05/15.68, allocations: 88.06 kB / 5.851 GB, free: 27.97 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00634/15.69, allocations: 3.228 MB / 5.855 GB, free: 24.72 MB / 0.9792 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.0204/15.71, allocations: 14.06 MB / 5.868 GB, free: 9.594 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003681/15.71, allocations: 1.715 MB / 5.87 GB, free: 7.871 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005234/15.71, allocations: 324.2 kB / 5.87 GB, free: 7.5 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.796e-05/15.71, allocations: 67.56 kB / 5.87 GB, free: 7.43 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002112/15.72, allocations: 202.4 kB / 5.87 GB, free: 7.23 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=110): time 5.731e-06/15.72, allocations: 4 kB / 5.87 GB, free: 7.227 MB / 0.9792 GB Notification: Performance of matching and sorting (n=110): time 0.005437/15.72, allocations: 2.395 MB / 5.873 GB, free: 4.824 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/15.72, allocations: 60.41 kB / 5.873 GB, free: 4.754 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003739/15.73, allocations: 2.228 MB / 5.875 GB, free: 2.512 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0003813/15.73, allocations: 57.7 kB / 5.875 GB, free: 2.449 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007011/15.73, allocations: 1.248 MB / 5.876 GB, free: 1.184 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002799/15.73, allocations: 390.5 kB / 5.877 GB, free: 0.7969 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/15.73, allocations: 36 kB / 5.877 GB, free: 0.7617 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 8.679e-05/15.73, allocations: 373.9 kB / 5.877 GB, free: 400 kB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002352/15.73, allocations: 0.9915 MB / 5.878 GB, free: 15.39 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003013/15.73, allocations: 1.594 MB / 5.88 GB, free: 13.54 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002807/15.73, allocations: 1.203 MB / 5.881 GB, free: 12.32 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.065e-05/15.74, allocations: 8 kB / 5.881 GB, free: 12.31 MB / 0.9948 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.007973/15.74, allocations: 2.875 MB / 5.884 GB, free: 9.414 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.002569/15.75, allocations: 6.126 MB / 5.89 GB, free: 2.707 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.669e-05/15.75, allocations: 12 kB / 5.89 GB, free: 2.695 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.853e-05/15.75, allocations: 24 kB / 5.89 GB, free: 2.672 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003086/15.75, allocations: 0.5616 MB / 5.89 GB, free: 2.109 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6549/16.4, allocations: 2.387 MB / 5.893 GB, free: 84.07 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005059/16.41, allocations: 474.1 kB / 5.893 GB, free: 84.07 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005942/16.41, allocations: 95.92 kB / 5.893 GB, free: 84.07 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/16.41, allocations: 3.75 kB / 5.893 GB, free: 84.07 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006435/16.42, allocations: 2.651 MB / 5.896 GB, free: 84 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.719e-05/16.42, allocations: 12.94 kB / 5.896 GB, free: 84 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.064e-05/16.42, allocations: 26.38 kB / 5.896 GB, free: 84 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002684/16.42, allocations: 0.5367 MB / 5.896 GB, free: 84 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.808e-05/16.42, allocations: 33.33 kB / 5.896 GB, free: 84 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003872/16.42, allocations: 399.6 kB / 5.897 GB, free: 84 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003584/16.42, allocations: 96.55 kB / 5.897 GB, free: 84 MB / 0.9948 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 () * 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.001816/16.42, allocations: 0.6335 MB / 5.897 GB, free: 83.81 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007266/16.43, allocations: 257.2 kB / 5.898 GB, free: 83.81 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005109/16.43, allocations: 1.87 MB / 5.899 GB, free: 83.73 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.189e-05/16.43, allocations: 13.89 kB / 5.899 GB, free: 83.73 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.241e-05/16.43, allocations: 1.312 kB / 5.899 GB, free: 83.73 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.152e-05/16.43, allocations: 6.266 kB / 5.899 GB, free: 83.73 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01202/16.44, allocations: 4.503 MB / 5.904 GB, free: 83.19 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-05/16.44, allocations: 9.312 kB / 5.904 GB, free: 83.19 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0018/16.44, allocations: 316.2 kB / 5.904 GB, free: 83.19 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.045e-05/16.44, allocations: 12.34 kB / 5.904 GB, free: 83.19 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001078/16.44, allocations: 35.39 kB / 5.904 GB, free: 83.19 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007339/16.45, allocations: 2.365 MB / 5.906 GB, free: 80.86 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/16.45, allocations: 9.062 kB / 5.907 GB, free: 80.86 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004751/16.45, allocations: 2.495 MB / 5.909 GB, free: 79.71 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001954/16.45, allocations: 0.5533 MB / 5.909 GB, free: 79.49 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004709/16.45, allocations: 22.56 kB / 5.91 GB, free: 79.49 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00274/16.46, allocations: 291.1 kB / 5.91 GB, free: 79.48 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001436/16.46, allocations: 82.91 kB / 5.91 GB, free: 79.47 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001616/16.46, allocations: 65.95 kB / 5.91 GB, free: 79.47 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.003332/16.46, allocations: 1.736 MB / 5.912 GB, free: 79.33 MB / 0.9948 GB Notification: Performance of sort global known variables: time 2.51e-07/16.46, allocations: 1.969 kB / 5.912 GB, free: 79.33 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.008011/16.47, allocations: 1.937 MB / 5.914 GB, free: 79.27 MB / 0.9948 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.01554/16.48, allocations: 12.01 MB / 5.925 GB, free: 72.18 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.008877/16.49, allocations: 3.655 MB / 5.929 GB, free: 71.91 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.741e-05/16.49, allocations: 4.938 kB / 5.929 GB, free: 71.91 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001835/16.49, allocations: 0.818 MB / 5.93 GB, free: 71.9 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006051/16.5, allocations: 1.2 MB / 5.931 GB, free: 71.86 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01321/16.51, allocations: 16.85 MB / 5.947 GB, free: 58.09 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001176/16.51, allocations: 1.728 MB / 5.949 GB, free: 57.35 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.004253/16.52, allocations: 0.7879 MB / 5.95 GB, free: 57.33 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001478/16.52, allocations: 0.9915 MB / 5.951 GB, free: 57.32 MB / 0.9948 GB Notification: Performance of SimCode: time 1.533e-06/16.52, allocations: 0 / 5.951 GB, free: 57.32 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2286/16.75, allocations: 150.5 MB / 6.098 GB, free: 50.97 MB / 0.9948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001758/16.75, allocations: 274.8 kB / 6.098 GB, free: 50.6 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.337/24.09, allocations: 2.031 kB / 6.098 GB, free: 50.6 MB / 0.9948 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_ReverseFlowMassExchanger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_ReverseFlowMassExchanger.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1)