Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8439/0.8439, allocations: 143.4 MB / 158.3 MB, free: 5.773 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 175.5 kB / 191.5 MB, free: 5.766 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.643/1.643, allocations: 223.2 MB / 447.7 MB, free: 6.453 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009478/0.0009477, allocations: 100.3 kB / 0.5188 GB, free: 2.801 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001825/0.001825, allocations: 278.2 kB / 0.6005 GB, free: 48.98 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004824/0.0004828, allocations: 12 kB / 0.6929 GB, free: 2.316 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4604/0.4608, allocations: 82.78 MB / 0.7737 GB, free: 26.23 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9427/1.404, allocations: 385.7 MB / 1.15 GB, free: 2.297 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003018/1.404, allocations: 99.7 kB / 1.151 GB, free: 2.246 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.195/4.599, allocations: 0.8115 GB / 1.962 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.665e-06/4.599, allocations: 0 / 1.962 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0004074/4.599, allocations: 55.98 kB / 1.962 GB, free: 15.85 MB / 0.7292 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.009973/4.609, allocations: 2.558 MB / 1.965 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/4.609, allocations: 12.03 kB / 1.965 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001755/4.611, allocations: 265 kB / 1.965 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6427/5.254, allocations: 24.81 MB / 1.989 GB, free: 83.54 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.57e-05/5.254, allocations: 103.1 kB / 1.989 GB, free: 83.53 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002648/5.254, allocations: 148.9 kB / 1.989 GB, free: 83.53 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002864/5.257, allocations: 1.475 MB / 1.991 GB, free: 83.3 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.921e-05/5.257, allocations: 10.31 kB / 1.991 GB, free: 83.3 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001349/5.257, allocations: 60.95 kB / 1.991 GB, free: 83.3 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.819e-05/5.257, allocations: 39.69 kB / 1.991 GB, free: 83.3 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002327/5.26, allocations: 1.107 MB / 1.992 GB, free: 83.29 MB / 0.7292 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.009463/5.269, allocations: 7.563 MB / 1.999 GB, free: 79.24 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009733/5.27, allocations: 0.511 MB / 2 GB, free: 79.21 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007128/5.271, allocations: 1.162 MB / 2.001 GB, free: 77.9 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/5.271, allocations: 44 kB / 2.001 GB, free: 77.86 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=59): time 2.204e-06/5.271, allocations: 0 / 2.001 GB, free: 77.86 MB / 0.7292 GB Notification: Performance of matching and sorting (n=59): time 0.002321/5.273, allocations: 1.04 MB / 2.002 GB, free: 77.73 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/5.273, allocations: 59.59 kB / 2.002 GB, free: 77.66 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001895/5.275, allocations: 1.526 MB / 2.004 GB, free: 77.46 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001248/5.275, allocations: 46.23 kB / 2.004 GB, free: 77.43 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006292/5.276, allocations: 0.938 MB / 2.005 GB, free: 77.18 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001915/5.276, allocations: 212 kB / 2.005 GB, free: 77.08 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.339e-05/5.276, allocations: 16.78 kB / 2.005 GB, free: 77.08 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.628e-05/5.276, allocations: 349.1 kB / 2.005 GB, free: 76.77 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005713/5.277, allocations: 306.4 kB / 2.005 GB, free: 76.77 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007635/5.278, allocations: 0.6781 MB / 2.006 GB, free: 76.33 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006728/5.278, allocations: 422.7 kB / 2.006 GB, free: 76.33 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/5.278, allocations: 3.781 kB / 2.006 GB, free: 76.33 MB / 0.7292 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001952/5.28, allocations: 1.129 MB / 2.008 GB, free: 76.19 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/5.28, allocations: 7.625 kB / 2.008 GB, free: 76.19 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/5.28, allocations: 11.56 kB / 2.008 GB, free: 76.19 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.176e-05/5.28, allocations: 16.88 kB / 2.008 GB, free: 76.19 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007082/5.281, allocations: 228.5 kB / 2.008 GB, free: 76.19 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.743e-05/5.281, allocations: 17.72 kB / 2.008 GB, free: 76.19 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001711/5.283, allocations: 243.6 kB / 2.008 GB, free: 76.15 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-05/5.283, allocations: 49.41 kB / 2.008 GB, free: 76.15 MB / 0.7292 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.000926/5.284, allocations: 438.5 kB / 2.009 GB, free: 76.03 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000247/5.284, allocations: 195.7 kB / 2.009 GB, free: 75.93 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001596/5.286, allocations: 0.9248 MB / 2.01 GB, free: 75.86 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.344e-05/5.286, allocations: 6.844 kB / 2.01 GB, free: 75.86 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/5.286, allocations: 0 / 2.01 GB, free: 75.86 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001117/5.287, allocations: 0.8468 MB / 2.01 GB, free: 75.59 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003902/5.291, allocations: 2.516 MB / 2.013 GB, free: 75.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/5.291, allocations: 0 / 2.013 GB, free: 75.16 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006728/5.291, allocations: 183.6 kB / 2.013 GB, free: 75.16 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.19e-05/5.291, allocations: 9.578 kB / 2.013 GB, free: 75.16 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.045e-05/5.291, allocations: 16.94 kB / 2.013 GB, free: 75.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.111e-06/5.292, allocations: 10.47 kB / 2.013 GB, free: 75.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/5.292, allocations: 3.188 kB / 2.013 GB, free: 75.16 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002104/5.294, allocations: 1.587 MB / 2.015 GB, free: 74.64 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008762/5.295, allocations: 399.4 kB / 2.015 GB, free: 74.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000205/5.295, allocations: 16.81 kB / 2.015 GB, free: 74.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/5.296, allocations: 137.1 kB / 2.015 GB, free: 74.44 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/5.296, allocations: 55.62 kB / 2.015 GB, free: 74.43 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.035e-05/5.296, allocations: 33.81 kB / 2.015 GB, free: 74.43 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001659/5.298, allocations: 1.22 MB / 2.016 GB, free: 74.29 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.91e-07/5.298, allocations: 2.219 kB / 2.016 GB, free: 74.29 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002178/5.3, allocations: 0.6873 MB / 2.017 GB, free: 74.27 MB / 0.7292 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.001637/5.302, allocations: 0.9651 MB / 2.018 GB, free: 74.12 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001549/5.303, allocations: 0.7927 MB / 2.019 GB, free: 74.11 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/5.303, allocations: 10.56 kB / 2.019 GB, free: 74.11 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0006275/5.304, allocations: 379.2 kB / 2.019 GB, free: 74.1 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005834/5.31, allocations: 1.246 MB / 2.02 GB, free: 74.09 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005169/5.315, allocations: 3.686 MB / 2.024 GB, free: 72.4 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000792/5.316, allocations: 1.444 MB / 2.025 GB, free: 71.67 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001943/5.318, allocations: 389.7 kB / 2.026 GB, free: 71.65 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003152/5.318, allocations: 154.5 kB / 2.026 GB, free: 71.65 MB / 0.7292 GB Notification: Performance of SimCode: time 1.212e-06/5.318, allocations: 0 / 2.026 GB, free: 71.65 MB / 0.7292 GB Notification: Performance of Templates: time 0.07085/5.389, allocations: 43.76 MB / 2.069 GB, free: 69.47 MB / 0.7292 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)