Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.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.EightPortHeatMassExchanger,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",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.372/1.372, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001123/0.001123, allocations: 178.1 kB / 326.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.805/1.805, allocations: 205.4 MB / 0.5775 GB, free: 20.57 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.0008833/0.0008834, allocations: 95.95 kB / 0.6821 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003378/0.0003378, allocations: 8.969 kB / 0.7963 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2148/0.2151, allocations: 106.3 MB / 0.9002 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7918/1.007, allocations: 405.6 MB / 1.296 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002722/1.007, allocations: 100.6 kB / 1.296 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.897/3.904, allocations: 0.774 GB / 2.07 GB, free: 118.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.665e-06/3.904, allocations: 0 / 2.07 GB, free: 118.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002644/3.904, allocations: 61.42 kB / 2.07 GB, free: 118.1 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.007236/3.911, allocations: 2.56 MB / 2.073 GB, free: 117.4 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/3.911, allocations: 10.41 kB / 2.073 GB, free: 117.4 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004622/3.912, allocations: 201.6 kB / 2.073 GB, free: 117.4 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008287/3.913, allocations: 265.2 kB / 2.073 GB, free: 117.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05631/3.969, allocations: 23.65 MB / 2.097 GB, free: 116.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001492/3.969, allocations: 102.6 kB / 2.097 GB, free: 116.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005863/3.97, allocations: 155.4 kB / 2.097 GB, free: 116.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003893/3.974, allocations: 1.466 MB / 2.098 GB, free: 115.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.186e-05/3.974, allocations: 2.531 kB / 2.098 GB, free: 115.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002332/3.974, allocations: 59.62 kB / 2.098 GB, free: 115.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001072/3.974, allocations: 38.44 kB / 2.098 GB, free: 115.9 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002476/3.977, allocations: 1.113 MB / 2.099 GB, free: 115.9 MB / 0.8855 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.009062/3.986, allocations: 7.533 MB / 2.107 GB, free: 111.8 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/3.987, allocations: 0.5151 MB / 2.107 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007401/3.988, allocations: 1.165 MB / 2.108 GB, free: 110.4 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.454e-05/3.988, allocations: 45.53 kB / 2.108 GB, free: 110.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=59): time 3.537e-06/3.988, allocations: 0 / 2.108 GB, free: 110.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=59): time 0.002315/3.99, allocations: 1.038 MB / 2.109 GB, free: 110.2 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/3.99, allocations: 55.66 kB / 2.11 GB, free: 110.2 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002246/3.992, allocations: 1.532 MB / 2.111 GB, free: 109.9 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001601/3.992, allocations: 44.52 kB / 2.111 GB, free: 109.9 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007373/3.993, allocations: 0.9377 MB / 2.112 GB, free: 109.7 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002616/3.994, allocations: 216.8 kB / 2.112 GB, free: 109.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.712e-05/3.994, allocations: 20.31 kB / 2.112 GB, free: 109.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.95e-05/3.994, allocations: 342.3 kB / 2.113 GB, free: 109.3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006312/3.994, allocations: 303.1 kB / 2.113 GB, free: 109.3 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007723/3.995, allocations: 0.6835 MB / 2.113 GB, free: 108.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006648/3.996, allocations: 421.2 kB / 2.114 GB, free: 108.8 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.345e-06/3.996, allocations: 3.219 kB / 2.114 GB, free: 108.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002066/3.998, allocations: 1.129 MB / 2.115 GB, free: 108.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/3.998, allocations: 13.11 kB / 2.115 GB, free: 108.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/3.998, allocations: 10.67 kB / 2.115 GB, free: 108.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.048e-05/3.998, allocations: 18.38 kB / 2.115 GB, free: 108.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007465/3.999, allocations: 235.3 kB / 2.115 GB, free: 108.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.23e-05/3.999, allocations: 24.84 kB / 2.115 GB, free: 108.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001933/4.001, allocations: 225.5 kB / 2.115 GB, free: 108.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.994e-05/4.001, allocations: 49.98 kB / 2.116 GB, free: 108.6 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 initialization (111): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009347/4.002, allocations: 437.2 kB / 2.116 GB, free: 108.5 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003334/4.002, allocations: 192 kB / 2.116 GB, free: 108.4 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001735/4.004, allocations: 0.9278 MB / 2.117 GB, free: 108.3 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.468e-05/4.004, allocations: 6.281 kB / 2.117 GB, free: 108.3 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/4.004, allocations: 0 / 2.117 GB, free: 108.3 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001127/4.005, allocations: 0.8509 MB / 2.118 GB, free: 108.1 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004296/4.009, allocations: 2.493 MB / 2.12 GB, free: 107.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/4.009, allocations: 3.281 kB / 2.12 GB, free: 107.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006948/4.01, allocations: 183.4 kB / 2.12 GB, free: 107.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.528e-06/4.01, allocations: 3.688 kB / 2.12 GB, free: 107.6 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.525e-05/4.01, allocations: 19.83 kB / 2.121 GB, free: 107.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.234e-06/4.01, allocations: 3.906 kB / 2.121 GB, free: 107.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/4.01, allocations: 5.531 kB / 2.121 GB, free: 107.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002298/4.012, allocations: 1.59 MB / 2.122 GB, free: 107.1 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009558/4.013, allocations: 393.4 kB / 2.122 GB, free: 106.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002409/4.014, allocations: 18.45 kB / 2.122 GB, free: 106.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001149/4.015, allocations: 135.2 kB / 2.123 GB, free: 106.9 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/4.015, allocations: 54.52 kB / 2.123 GB, free: 106.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.895e-05/4.015, allocations: 32.17 kB / 2.123 GB, free: 106.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001623/4.017, allocations: 1.219 MB / 2.124 GB, free: 106.8 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.61e-07/4.017, allocations: 0 / 2.124 GB, free: 106.8 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002069/4.019, allocations: 0.6862 MB / 2.125 GB, free: 106.7 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (eigPor.vol1.dynBal.U,eigPor.vol2.dynBal.U,eigPor.vol3.dynBal.U,eigPor.vol4.dynBal.U) * 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 (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00474/4.023, allocations: 3.488 MB / 2.128 GB, free: 105 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001502/4.025, allocations: 0.7956 MB / 2.129 GB, free: 105 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/4.025, allocations: 0 / 2.129 GB, free: 105 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0006256/4.026, allocations: 392.6 kB / 2.129 GB, free: 105 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005758/4.031, allocations: 1.245 MB / 2.13 GB, free: 105 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01952/4.051, allocations: 17.71 MB / 2.148 GB, free: 93.71 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007908/4.052, allocations: 1.444 MB / 2.149 GB, free: 92.98 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001786/4.054, allocations: 384.1 kB / 2.149 GB, free: 92.96 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008262/4.054, allocations: 0.7509 MB / 2.15 GB, free: 92.96 MB / 0.8855 GB Notification: Performance of SimCode: time 8.72e-07/4.054, allocations: 7.094 kB / 2.15 GB, free: 92.96 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09282/4.147, allocations: 62.92 MB / 2.212 GB, free: 90.15 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001401/4.147, allocations: 236.5 kB / 2.212 GB, free: 89.91 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.035/8.183, allocations: 0 / 2.212 GB, free: 89.91 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)