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.541/1.541, allocations: 249.3 MB / 261.8 MB, free: 5.812 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00133/0.00133, allocations: 176.7 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.016/2.016, allocations: 205.2 MB / 0.572 GB, free: 10.61 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.00106/0.00106, allocations: 92.78 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.038e-05/4.04e-05, allocations: 4 kB / 0.788 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2571/0.2571, allocations: 106.4 MB / 0.8919 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.872/7.129, allocations: 2.213 GB / 3.105 GB, free: 156 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000421/7.13, allocations: 91.3 kB / 3.105 GB, free: 155.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 11.38/18.51, allocations: 2.724 GB / 5.829 GB, free: 79.98 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.844e-06/18.51, allocations: 0 / 5.829 GB, free: 79.98 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0002966/18.51, allocations: 73.06 kB / 5.829 GB, free: 79.97 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.01349/18.52, allocations: 3.472 MB / 5.832 GB, free: 78.58 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.985e-05/18.52, allocations: 9.812 kB / 5.832 GB, free: 78.58 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001232/18.52, allocations: 303 kB / 5.832 GB, free: 78.53 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01034/18.53, allocations: 1.197 MB / 5.834 GB, free: 78.36 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007576/18.54, allocations: 2.579 MB / 5.836 GB, free: 77.87 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001304/18.54, allocations: 435.3 kB / 5.837 GB, free: 77.86 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007888/18.54, allocations: 218.4 kB / 5.837 GB, free: 77.86 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005036/18.55, allocations: 2.854 MB / 5.84 GB, free: 77.44 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.304e-05/18.55, allocations: 8.938 kB / 5.84 GB, free: 77.44 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000271/18.55, allocations: 97.56 kB / 5.84 GB, free: 77.44 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-05/18.55, allocations: 89.31 kB / 5.84 GB, free: 77.43 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004344/18.55, allocations: 2.648 MB / 5.842 GB, free: 77.4 MB / 0.9792 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.02424/18.58, allocations: 14.06 MB / 5.856 GB, free: 69.89 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002404/18.58, allocations: 1.419 MB / 5.857 GB, free: 69.86 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008757/18.58, allocations: 0.6378 MB / 5.858 GB, free: 69.85 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005464/18.58, allocations: 329.6 kB / 5.858 GB, free: 69.56 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.301e-05/18.58, allocations: 53.67 kB / 5.858 GB, free: 69.52 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001905/18.58, allocations: 215.8 kB / 5.859 GB, free: 69.44 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=110): time 4.669e-06/18.58, allocations: 0 / 5.859 GB, free: 69.44 MB / 0.9792 GB Notification: Performance of matching and sorting (n=110): time 0.002664/18.58, allocations: 1.436 MB / 5.86 GB, free: 69.25 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/18.59, allocations: 66.38 kB / 5.86 GB, free: 69.19 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002923/18.59, allocations: 2.07 MB / 5.862 GB, free: 68.95 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0002482/18.59, allocations: 54.23 kB / 5.862 GB, free: 68.91 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008215/18.59, allocations: 1.249 MB / 5.863 GB, free: 68.45 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002697/18.59, allocations: 389.1 kB / 5.864 GB, free: 68.21 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/18.59, allocations: 37.91 kB / 5.864 GB, free: 68.21 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001166/18.59, allocations: 371.4 kB / 5.864 GB, free: 67.91 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001081/18.59, allocations: 0.7129 MB / 5.865 GB, free: 67.9 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00142/18.59, allocations: 1.316 MB / 5.866 GB, free: 67.2 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001424/18.59, allocations: 0.9198 MB / 5.867 GB, free: 67.11 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.117e-05/18.59, allocations: 4.141 kB / 5.867 GB, free: 67.11 MB / 0.9792 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.004029/18.6, allocations: 2.323 MB / 5.869 GB, free: 66.86 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.001457/18.6, allocations: 6.116 MB / 5.875 GB, free: 60.38 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.359e-05/18.6, allocations: 16.38 kB / 5.875 GB, free: 60.38 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.92e-05/18.6, allocations: 26.38 kB / 5.875 GB, free: 60.38 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002894/18.6, allocations: 0.5644 MB / 5.876 GB, free: 60.37 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009669/18.6, allocations: 2.391 MB / 5.878 GB, free: 58.03 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004297/18.61, allocations: 479 kB / 5.879 GB, free: 57.99 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000257/18.61, allocations: 94.42 kB / 5.879 GB, free: 57.99 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/18.61, allocations: 4.781 kB / 5.879 GB, free: 57.99 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003267/18.61, allocations: 2.085 MB / 5.881 GB, free: 57.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.757e-05/18.61, allocations: 18.12 kB / 5.881 GB, free: 57.9 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.694e-05/18.61, allocations: 26.94 kB / 5.881 GB, free: 57.9 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002346/18.61, allocations: 0.5382 MB / 5.881 GB, free: 57.9 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-05/18.61, allocations: 31.77 kB / 5.881 GB, free: 57.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003785/18.62, allocations: 394.5 kB / 5.882 GB, free: 57.88 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002403/18.62, allocations: 93.17 kB / 5.882 GB, free: 57.88 MB / 0.9792 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 () * 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.0007095/18.62, allocations: 222.5 kB / 5.882 GB, free: 57.75 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007512/18.62, allocations: 262.8 kB / 5.882 GB, free: 57.62 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003461/18.62, allocations: 1.567 MB / 5.884 GB, free: 57.52 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/18.62, allocations: 11.19 kB / 5.884 GB, free: 57.52 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/18.62, allocations: 3.75 kB / 5.884 GB, free: 57.52 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/18.62, allocations: 3.844 kB / 5.884 GB, free: 57.52 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009715/18.63, allocations: 4.204 MB / 5.888 GB, free: 56.95 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.341e-05/18.63, allocations: 6.625 kB / 5.888 GB, free: 56.95 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001762/18.63, allocations: 319.4 kB / 5.888 GB, free: 56.95 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.418e-05/18.63, allocations: 17.39 kB / 5.888 GB, free: 56.95 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001213/18.63, allocations: 28.17 kB / 5.888 GB, free: 56.95 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008159/18.64, allocations: 2.367 MB / 5.891 GB, free: 54.61 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/18.64, allocations: 9.688 kB / 5.891 GB, free: 54.61 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003328/18.64, allocations: 2.184 MB / 5.893 GB, free: 53.43 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00188/18.64, allocations: 0.5565 MB / 5.893 GB, free: 53.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009951/18.64, allocations: 22.88 kB / 5.893 GB, free: 53.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003373/18.64, allocations: 296.6 kB / 5.894 GB, free: 53.19 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001627/18.64, allocations: 75.58 kB / 5.894 GB, free: 53.18 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00022/18.65, allocations: 65.59 kB / 5.894 GB, free: 53.18 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.003381/18.65, allocations: 1.582 MB / 5.895 GB, free: 53.02 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.7e-07/18.65, allocations: 3.938 kB / 5.895 GB, free: 53.02 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.008698/18.66, allocations: 1.936 MB / 5.897 GB, free: 52.89 MB / 0.9792 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.01483/18.67, allocations: 11.71 MB / 5.909 GB, free: 45.7 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.006683/18.68, allocations: 3.026 MB / 5.912 GB, free: 45.41 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.56e-05/18.68, allocations: 8.469 kB / 5.912 GB, free: 45.41 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001597/18.68, allocations: 0.6634 MB / 5.912 GB, free: 45.4 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007517/18.69, allocations: 1.199 MB / 5.913 GB, free: 45.36 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01059/18.7, allocations: 3.685 MB / 5.917 GB, free: 44.28 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001637/18.7, allocations: 1.735 MB / 5.919 GB, free: 43.54 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.005362/18.71, allocations: 0.9776 MB / 5.92 GB, free: 43.52 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001355/18.71, allocations: 0.9524 MB / 5.921 GB, free: 43.51 MB / 0.9792 GB Notification: Performance of SimCode: time 9.11e-07/18.71, allocations: 0 / 5.921 GB, free: 43.51 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.022/19.73, allocations: 169.2 MB / 6.086 GB, free: 133.1 MB / 1.026 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001731/19.73, allocations: 234.8 kB / 6.086 GB, free: 132.8 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.964/28.69, allocations: 0 / 6.086 GB, free: 132.8 MB / 1.026 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)