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 2.03/2.03, allocations: 289.7 MB / 302.3 MB, free: 2.172 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.001502/0.001502, allocations: 178.8 kB / 371.6 MB, free: 3.324 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.001/2.001, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.001136/0.001136, allocations: 94.22 kB / 0.745 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.884e-05/4.887e-05, allocations: 4 kB / 0.8663 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3557/0.3558, allocations: 116.3 MB / 0.9799 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.881/7.237, allocations: 2.096 GB / 3.075 GB, free: 144.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003156/7.238, allocations: 92.89 kB / 3.076 GB, free: 144.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 12.53/19.77, allocations: 2.814 GB / 5.89 GB, free: 96.11 MB / 1.073 GB Notification: Performance of FrontEnd: time 2.054e-06/19.77, allocations: 2.562 kB / 5.89 GB, free: 96.11 MB / 1.073 GB Notification: Performance of Transformations before backend: time 0.0003206/19.77, allocations: 65.94 kB / 5.89 GB, free: 96.11 MB / 1.073 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.01517/19.78, allocations: 3.5 MB / 5.893 GB, free: 95.14 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/19.78, allocations: 12.88 kB / 5.893 GB, free: 95.14 MB / 1.073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009715/19.78, allocations: 300 kB / 5.893 GB, free: 95.09 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01054/19.79, allocations: 1.196 MB / 5.895 GB, free: 94.92 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009169/19.8, allocations: 2.569 MB / 5.897 GB, free: 94.52 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001415/19.8, allocations: 438.2 kB / 5.897 GB, free: 94.51 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009301/19.8, allocations: 223 kB / 5.898 GB, free: 94.51 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005729/19.81, allocations: 2.823 MB / 5.9 GB, free: 94.1 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.138e-05/19.81, allocations: 4.891 kB / 5.9 GB, free: 94.1 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003079/19.81, allocations: 97.83 kB / 5.901 GB, free: 94.1 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.732e-05/19.81, allocations: 90.27 kB / 5.901 GB, free: 94.09 MB / 1.073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0049/19.82, allocations: 2.652 MB / 5.903 GB, free: 94.06 MB / 1.073 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.02768/19.84, allocations: 14.07 MB / 5.917 GB, free: 86.66 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003322/19.85, allocations: 1.424 MB / 5.918 GB, free: 86.62 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001197/19.85, allocations: 0.6421 MB / 5.919 GB, free: 86.61 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006826/19.85, allocations: 325.1 kB / 5.919 GB, free: 86.33 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.096e-05/19.85, allocations: 53.97 kB / 5.919 GB, free: 86.29 MB / 1.073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002595/19.85, allocations: 215 kB / 5.92 GB, free: 86.25 MB / 1.073 GB Notification: Performance of pre-optimization done (n=110): time 7.193e-06/19.85, allocations: 0 / 5.92 GB, free: 86.25 MB / 1.073 GB Notification: Performance of matching and sorting (n=110): time 0.003516/19.85, allocations: 1.437 MB / 5.921 GB, free: 86.07 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.481e-05/19.86, allocations: 63.41 kB / 5.921 GB, free: 86 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003891/19.86, allocations: 2.092 MB / 5.923 GB, free: 85.77 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.0003548/19.86, allocations: 56.8 kB / 5.923 GB, free: 85.73 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.001253/19.86, allocations: 1.272 MB / 5.924 GB, free: 85.38 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004735/19.86, allocations: 389.3 kB / 5.925 GB, free: 85.19 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001239/19.86, allocations: 36.31 kB / 5.925 GB, free: 85.19 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0001477/19.86, allocations: 373.2 kB / 5.925 GB, free: 84.88 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00132/19.86, allocations: 0.7125 MB / 5.926 GB, free: 84.88 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001775/19.86, allocations: 1.38 MB / 5.927 GB, free: 84.11 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001543/19.87, allocations: 0.9401 MB / 5.928 GB, free: 84.03 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-05/19.87, allocations: 4.531 kB / 5.928 GB, free: 84.03 MB / 1.073 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.004909/19.87, allocations: 2.32 MB / 5.93 GB, free: 83.78 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.001895/19.87, allocations: 5.784 MB / 5.936 GB, free: 77.67 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.76e-05/19.87, allocations: 16.31 kB / 5.936 GB, free: 77.67 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.894e-05/19.87, allocations: 23.22 kB / 5.936 GB, free: 77.67 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00304/19.88, allocations: 0.5596 MB / 5.937 GB, free: 77.67 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001181/19.88, allocations: 2.387 MB / 5.939 GB, free: 75.33 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004888/19.88, allocations: 468.7 kB / 5.939 GB, free: 75.31 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003229/19.88, allocations: 100.8 kB / 5.939 GB, free: 75.31 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/19.88, allocations: 2.438 kB / 5.939 GB, free: 75.31 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004073/19.89, allocations: 2.078 MB / 5.941 GB, free: 75.21 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/19.89, allocations: 13.62 kB / 5.941 GB, free: 75.21 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.277e-05/19.89, allocations: 23.62 kB / 5.942 GB, free: 75.21 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002461/19.89, allocations: 0.5372 MB / 5.942 GB, free: 75.21 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.018e-05/19.89, allocations: 31.52 kB / 5.942 GB, free: 75.21 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004293/19.89, allocations: 406.9 kB / 5.942 GB, free: 75.2 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002323/19.89, allocations: 92.77 kB / 5.943 GB, free: 75.2 MB / 1.073 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.000731/19.89, allocations: 221.9 kB / 5.943 GB, free: 75.09 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007182/19.9, allocations: 256.8 kB / 5.943 GB, free: 74.96 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003588/19.9, allocations: 1.58 MB / 5.945 GB, free: 74.86 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.649e-05/19.9, allocations: 12.22 kB / 5.945 GB, free: 74.86 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/19.9, allocations: 0 / 5.945 GB, free: 74.86 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.694e-05/19.9, allocations: 8.234 kB / 5.945 GB, free: 74.86 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008256/19.91, allocations: 4.196 MB / 5.949 GB, free: 74.31 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-05/19.91, allocations: 5.5 kB / 5.949 GB, free: 74.31 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001692/19.91, allocations: 321.1 kB / 5.949 GB, free: 74.31 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.992e-05/19.91, allocations: 11.59 kB / 5.949 GB, free: 74.31 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.755e-05/19.91, allocations: 29.72 kB / 5.949 GB, free: 74.31 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009489/19.91, allocations: 2.37 MB / 5.951 GB, free: 71.97 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.734e-06/19.91, allocations: 8.031 kB / 5.951 GB, free: 71.97 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003501/19.91, allocations: 2.19 MB / 5.953 GB, free: 70.8 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002021/19.92, allocations: 0.5427 MB / 5.954 GB, free: 70.57 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005547/19.92, allocations: 32.67 kB / 5.954 GB, free: 70.56 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00275/19.92, allocations: 285.2 kB / 5.954 GB, free: 70.56 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000181/19.92, allocations: 83.36 kB / 5.954 GB, free: 70.55 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001523/19.92, allocations: 64.55 kB / 5.954 GB, free: 70.55 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.003327/19.92, allocations: 1.592 MB / 5.956 GB, free: 70.39 MB / 1.073 GB Notification: Performance of sort global known variables: time 1.4e-07/19.92, allocations: 0 / 5.956 GB, free: 70.39 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.01089/19.93, allocations: 1.924 MB / 5.958 GB, free: 70.32 MB / 1.073 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.02062/19.95, allocations: 11.73 MB / 5.969 GB, free: 63.16 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.007993/19.96, allocations: 3.04 MB / 5.972 GB, free: 62.87 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 2.963e-05/19.96, allocations: 2.781 kB / 5.972 GB, free: 62.87 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.002055/19.96, allocations: 0.6637 MB / 5.973 GB, free: 62.87 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00905/19.97, allocations: 1.199 MB / 5.974 GB, free: 62.83 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01441/19.99, allocations: 3.755 MB / 5.978 GB, free: 61.73 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001825/19.99, allocations: 1.75 MB / 5.98 GB, free: 60.97 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.00651/20, allocations: 0.9792 MB / 5.98 GB, free: 60.95 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001885/20, allocations: 0.9653 MB / 5.981 GB, free: 60.94 MB / 1.073 GB Notification: Performance of SimCode: time 1.523e-06/20, allocations: 0.9688 kB / 5.981 GB, free: 60.94 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3421/20.34, allocations: 169.8 MB / 6.147 GB, free: 53.57 MB / 1.073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000185/20.34, allocations: 225.8 kB / 6.147 GB, free: 53.34 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.231/29.57, allocations: 7.562 kB / 6.147 GB, free: 53.34 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)