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 1.817/1.817, allocations: 292.6 MB / 307.5 MB, free: 5.152 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.00108/0.00108, allocations: 185 kB / 377.1 MB, free: 1.516 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.734/1.734, allocations: 205.4 MB / 0.6366 GB, free: 8.621 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.000981/0.0009806, allocations: 99.64 kB / 0.7509 GB, free: 62.95 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003568/0.0003568, allocations: 8 kB / 0.8749 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.2819, allocations: 116.3 MB / 0.9884 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.924/6.206, allocations: 2.096 GB / 3.084 GB, free: 86.31 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002798/6.206, allocations: 102 kB / 3.084 GB, free: 86.26 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 12.43/18.64, allocations: 2.817 GB / 5.901 GB, free: 84.51 MB / 1.057 GB Notification: Performance of FrontEnd: time 3.056e-06/18.64, allocations: 2 kB / 5.901 GB, free: 84.51 MB / 1.057 GB Notification: Performance of Transformations before backend: time 0.0004891/18.64, allocations: 74.08 kB / 5.901 GB, free: 84.51 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.01628/18.66, allocations: 3.915 MB / 5.905 GB, free: 83.12 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/18.66, allocations: 9.75 kB / 5.905 GB, free: 83.12 MB / 1.057 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001671/18.66, allocations: 299 kB / 5.905 GB, free: 83.07 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01131/18.67, allocations: 1.2 MB / 5.906 GB, free: 82.91 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01187/18.68, allocations: 2.593 MB / 5.909 GB, free: 82.5 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001636/18.68, allocations: 436 kB / 5.909 GB, free: 82.5 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001345/18.69, allocations: 224.3 kB / 5.909 GB, free: 82.5 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01147/18.7, allocations: 3.126 MB / 5.912 GB, free: 82.09 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001837/18.7, allocations: 4.625 kB / 5.912 GB, free: 82.09 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001185/18.7, allocations: 92.34 kB / 5.912 GB, free: 82.09 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002412/18.7, allocations: 90.59 kB / 5.913 GB, free: 82.08 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01079/18.71, allocations: 3.231 MB / 5.916 GB, free: 82.05 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.0346/18.74, allocations: 14.07 MB / 5.929 GB, free: 74.66 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005055/18.75, allocations: 1.715 MB / 5.931 GB, free: 74.61 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007543/18.75, allocations: 327.5 kB / 5.931 GB, free: 74.33 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.913e-05/18.75, allocations: 49.34 kB / 5.931 GB, free: 74.29 MB / 1.057 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002789/18.75, allocations: 218.1 kB / 5.932 GB, free: 74.25 MB / 1.057 GB Notification: Performance of pre-optimization done (n=110): time 1.641e-05/18.75, allocations: 0 / 5.932 GB, free: 74.25 MB / 1.057 GB Notification: Performance of matching and sorting (n=110): time 0.008857/18.76, allocations: 2.393 MB / 5.934 GB, free: 74.06 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.428e-05/18.76, allocations: 65.23 kB / 5.934 GB, free: 74 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00782/18.77, allocations: 2.244 MB / 5.936 GB, free: 73.77 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.0005795/18.77, allocations: 63.45 kB / 5.936 GB, free: 73.74 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.001975/18.77, allocations: 1.277 MB / 5.938 GB, free: 73.29 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006736/18.77, allocations: 387 kB / 5.938 GB, free: 73.05 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000329/18.77, allocations: 35.75 kB / 5.938 GB, free: 73.05 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0002209/18.77, allocations: 370.9 kB / 5.938 GB, free: 72.74 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003614/18.78, allocations: 0.9945 MB / 5.939 GB, free: 72.74 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004422/18.78, allocations: 1.67 MB / 5.941 GB, free: 71.97 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004286/18.79, allocations: 1.218 MB / 5.942 GB, free: 71.88 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.866e-05/18.79, allocations: 3.531 kB / 5.942 GB, free: 71.88 MB / 1.057 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.01134/18.8, allocations: 2.885 MB / 5.945 GB, free: 71.63 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.001743/18.8, allocations: 5.775 MB / 5.951 GB, free: 65.54 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-05/18.8, allocations: 14.59 kB / 5.951 GB, free: 65.54 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.194e-05/18.8, allocations: 22.75 kB / 5.951 GB, free: 65.54 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004745/18.8, allocations: 0.5659 MB / 5.951 GB, free: 65.54 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001486/18.81, allocations: 2.397 MB / 5.954 GB, free: 63.19 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007538/18.81, allocations: 466.6 kB / 5.954 GB, free: 63.16 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008101/18.81, allocations: 91.47 kB / 5.954 GB, free: 63.16 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/18.81, allocations: 4.406 kB / 5.954 GB, free: 63.16 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01073/18.82, allocations: 2.646 MB / 5.957 GB, free: 63.07 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.716e-05/18.83, allocations: 14.81 kB / 5.957 GB, free: 63.07 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.13e-05/18.83, allocations: 22.75 kB / 5.957 GB, free: 63.07 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003056/18.83, allocations: 0.5384 MB / 5.957 GB, free: 63.07 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-05/18.83, allocations: 29.22 kB / 5.957 GB, free: 63.07 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005025/18.83, allocations: 396.3 kB / 5.958 GB, free: 63.04 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005494/18.83, allocations: 100.5 kB / 5.958 GB, free: 63.04 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.002985/18.84, allocations: 0.636 MB / 5.958 GB, free: 62.84 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001196/18.84, allocations: 259.6 kB / 5.959 GB, free: 62.7 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005952/18.84, allocations: 1.875 MB / 5.96 GB, free: 62.61 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/18.84, allocations: 10.38 kB / 5.96 GB, free: 62.61 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/18.84, allocations: 3.844 kB / 5.96 GB, free: 62.61 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.534e-05/18.84, allocations: 3.562 kB / 5.96 GB, free: 62.61 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01272/18.86, allocations: 4.498 MB / 5.965 GB, free: 62.04 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.969e-05/18.86, allocations: 7.594 kB / 5.965 GB, free: 62.04 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001837/18.86, allocations: 308.1 kB / 5.965 GB, free: 62.04 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.038e-05/18.86, allocations: 12.72 kB / 5.965 GB, free: 62.04 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001383/18.86, allocations: 28.8 kB / 5.965 GB, free: 62.04 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009619/18.86, allocations: 2.374 MB / 5.967 GB, free: 59.7 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.025e-06/18.86, allocations: 7.406 kB / 5.967 GB, free: 59.7 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004843/18.86, allocations: 2.497 MB / 5.97 GB, free: 58.5 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002613/18.87, allocations: 0.5421 MB / 5.97 GB, free: 58.28 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001246/18.87, allocations: 31.14 kB / 5.97 GB, free: 58.28 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003732/18.87, allocations: 287 kB / 5.971 GB, free: 58.26 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001726/18.87, allocations: 83.75 kB / 5.971 GB, free: 58.25 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002651/18.87, allocations: 60.97 kB / 5.971 GB, free: 58.25 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.004417/18.88, allocations: 1.748 MB / 5.973 GB, free: 58.11 MB / 1.057 GB Notification: Performance of sort global known variables: time 3.11e-07/18.88, allocations: 0 / 5.973 GB, free: 58.11 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.009766/18.89, allocations: 1.928 MB / 5.974 GB, free: 57.98 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.01749/18.9, allocations: 12.02 MB / 5.986 GB, free: 50.81 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.009984/18.91, allocations: 3.665 MB / 5.99 GB, free: 50.54 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-05/18.91, allocations: 3.094 kB / 5.99 GB, free: 50.54 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.002133/18.92, allocations: 0.818 MB / 5.991 GB, free: 50.53 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007286/18.92, allocations: 1.196 MB / 5.992 GB, free: 50.49 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01875/18.94, allocations: 16.39 MB / 6.008 GB, free: 37.12 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002166/18.95, allocations: 1.752 MB / 6.009 GB, free: 36.37 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.005721/18.95, allocations: 0.7858 MB / 6.01 GB, free: 36.34 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002516/18.95, allocations: 1.01 MB / 6.011 GB, free: 36.33 MB / 1.057 GB Notification: Performance of SimCode: time 1.463e-06/18.95, allocations: 1.75 kB / 6.011 GB, free: 36.33 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2423/19.2, allocations: 151 MB / 6.159 GB, free: 12.5 MB / 1.057 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002021/19.2, allocations: 250.9 kB / 6.159 GB, free: 12.17 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.407/26.6, allocations: 0 / 6.159 GB, free: 12.17 MB / 1.057 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)