Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.248/2.248, allocations: 251.1 MB / 266.7 MB, free: 11.54 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.001371/0.00137, allocations: 178.9 kB / 326.2 MB, free: 2.852 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.253/2.253, allocations: 205.4 MB / 0.5772 GB, free: 20.73 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.001173/0.001173, allocations: 94.28 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004807/0.0004809, allocations: 11.88 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.2216, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.232/1.454, allocations: 405.5 MB / 1.295 GB, free: 13.05 MB / 0.8074 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003895/1.454, allocations: 102.6 kB / 1.296 GB, free: 13 MB / 0.8074 GB Notification: Performance of FrontEnd - DAE generated: time 3.931/5.386, allocations: 0.7692 GB / 2.065 GB, free: 23.12 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.496e-06/5.386, allocations: 3.984 kB / 2.065 GB, free: 23.12 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003454/5.386, allocations: 64.08 kB / 2.065 GB, free: 23.05 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.00894/5.395, allocations: 2.552 MB / 2.067 GB, free: 20.43 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/5.395, allocations: 12.03 kB / 2.067 GB, free: 20.42 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001498/5.397, allocations: 262 kB / 2.068 GB, free: 20.16 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7797/6.177, allocations: 22.04 MB / 2.089 GB, free: 116.4 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001245/6.177, allocations: 111.3 kB / 2.089 GB, free: 116.4 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003796/6.177, allocations: 143.1 kB / 2.089 GB, free: 116.4 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004747/6.182, allocations: 1.477 MB / 2.091 GB, free: 116.1 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.338e-05/6.182, allocations: 9.75 kB / 2.091 GB, free: 116.1 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002473/6.182, allocations: 58.69 kB / 2.091 GB, free: 116.1 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.823e-05/6.182, allocations: 44.75 kB / 2.091 GB, free: 116.1 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00435/6.187, allocations: 1.112 MB / 2.092 GB, free: 116.1 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.01465/6.201, allocations: 7.512 MB / 2.099 GB, free: 112.1 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002089/6.204, allocations: 0.5146 MB / 2.1 GB, free: 112 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001295/6.205, allocations: 358.2 kB / 2.1 GB, free: 112 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001/6.206, allocations: 1.161 MB / 2.101 GB, free: 110.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.924e-05/6.206, allocations: 42.28 kB / 2.101 GB, free: 110.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=59): time 4.499e-06/6.206, allocations: 0 / 2.101 GB, free: 110.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=59): time 0.004492/6.211, allocations: 1.036 MB / 2.102 GB, free: 110.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/6.211, allocations: 60.28 kB / 2.102 GB, free: 110.5 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005179/6.216, allocations: 1.705 MB / 2.104 GB, free: 110.3 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002561/6.216, allocations: 40.36 kB / 2.104 GB, free: 110.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001266/6.217, allocations: 0.9407 MB / 2.105 GB, free: 110 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004065/6.218, allocations: 212.1 kB / 2.105 GB, free: 109.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.841e-05/6.218, allocations: 17.78 kB / 2.105 GB, free: 109.9 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001261/6.218, allocations: 344.8 kB / 2.106 GB, free: 109.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001254/6.219, allocations: 309.4 kB / 2.106 GB, free: 109.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001577/6.221, allocations: 0.6847 MB / 2.106 GB, free: 109.1 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00277/6.224, allocations: 414 kB / 2.107 GB, free: 109.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.736e-05/6.224, allocations: 5.594 kB / 2.107 GB, free: 109.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.004448/6.228, allocations: 1.129 MB / 2.108 GB, free: 109 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.921e-05/6.228, allocations: 12.52 kB / 2.108 GB, free: 109 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.596e-05/6.228, allocations: 13.12 kB / 2.108 GB, free: 109 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.223e-05/6.229, allocations: 14.88 kB / 2.108 GB, free: 109 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001667/6.23, allocations: 230.3 kB / 2.108 GB, free: 109 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.281e-05/6.23, allocations: 17.91 kB / 2.108 GB, free: 109 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003176/6.233, allocations: 240.5 kB / 2.108 GB, free: 108.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002913/6.234, allocations: 56.67 kB / 2.109 GB, free: 108.9 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.001562/6.235, allocations: 428.4 kB / 2.109 GB, free: 108.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007095/6.236, allocations: 190.6 kB / 2.109 GB, free: 108.7 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003338/6.239, allocations: 0.923 MB / 2.11 GB, free: 108.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.229e-05/6.24, allocations: 7.125 kB / 2.11 GB, free: 108.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/6.24, allocations: 0 / 2.11 GB, free: 108.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002254/6.242, allocations: 0.8582 MB / 2.111 GB, free: 108.4 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007178/6.249, allocations: 2.485 MB / 2.113 GB, free: 108 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/6.249, allocations: 1.938 kB / 2.113 GB, free: 108 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001356/6.25, allocations: 182 kB / 2.113 GB, free: 108 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.027e-05/6.25, allocations: 3.438 kB / 2.113 GB, free: 108 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.983e-05/6.251, allocations: 19.84 kB / 2.113 GB, free: 108 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.137e-06/6.251, allocations: 3.812 kB / 2.113 GB, free: 108 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/6.251, allocations: 3.344 kB / 2.114 GB, free: 108 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003963/6.255, allocations: 1.445 MB / 2.115 GB, free: 107.6 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001158/6.256, allocations: 393.4 kB / 2.115 GB, free: 107.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003907/6.256, allocations: 13.89 kB / 2.115 GB, free: 107.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002165/6.258, allocations: 129.1 kB / 2.115 GB, free: 107.4 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001611/6.259, allocations: 50 kB / 2.115 GB, free: 107.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000102/6.259, allocations: 31.23 kB / 2.116 GB, free: 107.4 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002532/6.261, allocations: 1.188 MB / 2.117 GB, free: 107.3 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.21e-07/6.261, allocations: 0 / 2.117 GB, free: 107.3 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003096/6.264, allocations: 0.6775 MB / 2.117 GB, free: 107.3 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.002212/6.267, allocations: 0.938 MB / 2.118 GB, free: 107.1 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002616/6.269, allocations: 0.7931 MB / 2.119 GB, free: 107.1 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/6.269, allocations: 3.656 kB / 2.119 GB, free: 107.1 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001284/6.271, allocations: 389.4 kB / 2.119 GB, free: 107.1 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01123/6.282, allocations: 1.259 MB / 2.121 GB, free: 107.1 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006976/6.289, allocations: 3.695 MB / 2.124 GB, free: 105.4 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001021/6.29, allocations: 1.399 MB / 2.126 GB, free: 104.7 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002677/6.293, allocations: 378.6 kB / 2.126 GB, free: 104.6 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005125/6.293, allocations: 153.3 kB / 2.126 GB, free: 104.6 MB / 0.8855 GB Notification: Performance of SimCode: time 2.405e-06/6.293, allocations: 0 / 2.126 GB, free: 104.6 MB / 0.8855 GB Notification: Performance of Templates: time 0.109/6.402, allocations: 42.97 MB / 2.168 GB, free: 102.9 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)