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.712/1.712, allocations: 288.2 MB / 303.2 MB, free: 8.195 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.001339/0.001339, allocations: 197 kB / 371.8 MB, free: 10.28 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.918/1.918, allocations: 205.4 MB / 0.6305 GB, free: 10.02 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.001041/0.001041, allocations: 91.97 kB / 0.7439 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004374/0.0004373, allocations: 11.66 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2654/0.2659, allocations: 115.3 MB / 0.9795 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.207/5.473, allocations: 2.095 GB / 3.074 GB, free: 187.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000258/5.473, allocations: 97.39 kB / 3.074 GB, free: 187.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 9.734/15.21, allocations: 2.817 GB / 5.891 GB, free: 9.898 MB / 1.057 GB Notification: Performance of FrontEnd: time 3.557e-06/15.21, allocations: 0 / 5.891 GB, free: 9.898 MB / 1.057 GB Notification: Performance of Transformations before backend: time 0.0004239/15.21, allocations: 67.98 kB / 5.891 GB, free: 9.832 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.0158/15.22, allocations: 3.922 MB / 5.895 GB, free: 5.852 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/15.22, allocations: 12.03 kB / 5.895 GB, free: 5.84 MB / 1.057 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001369/15.22, allocations: 295.6 kB / 5.895 GB, free: 5.539 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01024/15.23, allocations: 1.206 MB / 5.896 GB, free: 4.328 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008758/15.24, allocations: 2.587 MB / 5.899 GB, free: 1.664 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001413/15.25, allocations: 436.2 kB / 5.899 GB, free: 1.234 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001005/15.25, allocations: 224 kB / 5.899 GB, free: 1.016 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7271/15.97, allocations: 3.124 MB / 5.902 GB, free: 89.23 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.245e-05/15.97, allocations: 5.969 kB / 5.902 GB, free: 89.23 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000316/15.97, allocations: 90.27 kB / 5.903 GB, free: 89.23 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001344/15.97, allocations: 87.67 kB / 5.903 GB, free: 89.22 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007893/15.98, allocations: 3.229 MB / 5.906 GB, free: 89.19 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.02515/16.01, allocations: 14.07 MB / 5.92 GB, free: 81.92 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004384/16.01, allocations: 1.723 MB / 5.921 GB, free: 81.88 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005909/16.01, allocations: 324.1 kB / 5.922 GB, free: 81.6 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.448e-05/16.01, allocations: 48.88 kB / 5.922 GB, free: 81.56 MB / 1.057 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002184/16.01, allocations: 214.2 kB / 5.922 GB, free: 81.52 MB / 1.057 GB Notification: Performance of pre-optimization done (n=110): time 4.509e-06/16.01, allocations: 0 / 5.922 GB, free: 81.52 MB / 1.057 GB Notification: Performance of matching and sorting (n=110): time 0.006479/16.02, allocations: 2.393 MB / 5.924 GB, free: 81.32 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/16.02, allocations: 64.56 kB / 5.924 GB, free: 81.26 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004885/16.03, allocations: 2.246 MB / 5.926 GB, free: 81.04 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.0004087/16.03, allocations: 57.12 kB / 5.926 GB, free: 81.01 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.001122/16.03, allocations: 1.279 MB / 5.928 GB, free: 80.64 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004363/16.03, allocations: 386.6 kB / 5.928 GB, free: 80.46 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001265/16.03, allocations: 37.62 kB / 5.928 GB, free: 80.46 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001148/16.03, allocations: 370.1 kB / 5.928 GB, free: 80.15 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00259/16.03, allocations: 0.9955 MB / 5.929 GB, free: 80.15 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002684/16.03, allocations: 1.664 MB / 5.931 GB, free: 79.38 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002391/16.04, allocations: 1.219 MB / 5.932 GB, free: 79.3 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.086e-05/16.04, allocations: 3.75 kB / 5.932 GB, free: 79.3 MB / 1.057 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.005908/16.04, allocations: 2.884 MB / 5.935 GB, free: 79.06 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.001084/16.04, allocations: 5.783 MB / 5.941 GB, free: 72.96 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.906e-05/16.04, allocations: 16.25 kB / 5.941 GB, free: 72.96 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.103e-05/16.04, allocations: 25.47 kB / 5.941 GB, free: 72.96 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002652/16.05, allocations: 0.5588 MB / 5.941 GB, free: 72.96 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009164/16.05, allocations: 2.387 MB / 5.944 GB, free: 70.62 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004147/16.05, allocations: 474.4 kB / 5.944 GB, free: 70.6 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002044/16.05, allocations: 93.92 kB / 5.944 GB, free: 70.6 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/16.05, allocations: 5.5 kB / 5.944 GB, free: 70.6 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005468/16.06, allocations: 2.645 MB / 5.947 GB, free: 70.51 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.719e-05/16.06, allocations: 15.03 kB / 5.947 GB, free: 70.51 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.475e-05/16.06, allocations: 22.97 kB / 5.947 GB, free: 70.51 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002449/16.06, allocations: 0.5354 MB / 5.947 GB, free: 70.51 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.875e-05/16.06, allocations: 28.06 kB / 5.947 GB, free: 70.51 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003762/16.06, allocations: 403.4 kB / 5.948 GB, free: 70.49 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000233/16.06, allocations: 94.33 kB / 5.948 GB, free: 70.49 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.00184/16.06, allocations: 0.6254 MB / 5.948 GB, free: 70.3 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008172/16.07, allocations: 266.7 kB / 5.949 GB, free: 70.16 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004574/16.07, allocations: 1.878 MB / 5.951 GB, free: 70.06 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.426e-05/16.07, allocations: 10.88 kB / 5.951 GB, free: 70.06 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/16.07, allocations: 2.219 kB / 5.951 GB, free: 70.06 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.188e-05/16.07, allocations: 8.875 kB / 5.951 GB, free: 70.06 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009984/16.08, allocations: 4.487 MB / 5.955 GB, free: 69.5 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/16.08, allocations: 7.594 kB / 5.955 GB, free: 69.5 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001749/16.08, allocations: 312.7 kB / 5.955 GB, free: 69.5 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.419e-05/16.08, allocations: 10.72 kB / 5.955 GB, free: 69.5 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.945e-05/16.08, allocations: 36.64 kB / 5.955 GB, free: 69.5 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007527/16.08, allocations: 2.371 MB / 5.958 GB, free: 67.16 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.327e-05/16.08, allocations: 15.52 kB / 5.958 GB, free: 67.16 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004883/16.09, allocations: 2.488 MB / 5.96 GB, free: 65.97 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002075/16.09, allocations: 0.5522 MB / 5.961 GB, free: 65.74 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005987/16.09, allocations: 23.16 kB / 5.961 GB, free: 65.74 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002826/16.09, allocations: 283.3 kB / 5.961 GB, free: 65.73 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001626/16.09, allocations: 84.66 kB / 5.961 GB, free: 65.73 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001821/16.09, allocations: 66.72 kB / 5.961 GB, free: 65.73 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.003752/16.1, allocations: 1.749 MB / 5.963 GB, free: 65.58 MB / 1.057 GB Notification: Performance of sort global known variables: time 5.41e-07/16.1, allocations: 0 / 5.963 GB, free: 65.58 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.009059/16.11, allocations: 1.927 MB / 5.965 GB, free: 65.52 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.01687/16.12, allocations: 12.02 MB / 5.976 GB, free: 58.41 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.009123/16.13, allocations: 3.673 MB / 5.98 GB, free: 58.14 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.962e-05/16.13, allocations: 2.25 kB / 5.98 GB, free: 58.14 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.002091/16.13, allocations: 0.8124 MB / 5.981 GB, free: 58.13 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007562/16.14, allocations: 1.191 MB / 5.982 GB, free: 58.09 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01555/16.16, allocations: 16.41 MB / 5.998 GB, free: 44.74 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001285/16.16, allocations: 1.747 MB / 6 GB, free: 43.99 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.004476/16.16, allocations: 0.7839 MB / 6 GB, free: 43.96 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001558/16.17, allocations: 1.01 MB / 6.001 GB, free: 43.95 MB / 1.057 GB Notification: Performance of SimCode: time 2.735e-06/16.17, allocations: 0 / 6.001 GB, free: 43.95 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2182/16.38, allocations: 151.1 MB / 6.149 GB, free: 37.49 MB / 1.057 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001671/16.38, allocations: 265.5 kB / 6.149 GB, free: 37.14 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.916/24.3, allocations: 0 / 6.149 GB, free: 37.14 MB / 1.057 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)