Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.667/1.667, allocations: 293 MB / 309 MB, free: 4.844 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.001036/0.001036, allocations: 180.5 kB / 378.7 MB, free: 1.043 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.485/1.485, allocations: 205.4 MB / 0.6383 GB, free: 8.234 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.000933/0.000933, allocations: 97.77 kB / 0.7527 GB, free: 62.61 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004848/0.0004852, allocations: 16 kB / 0.8768 GB, free: 10.46 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.2638, allocations: 116.4 MB / 0.9904 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.372/1.636, allocations: 414.4 MB / 1.395 GB, free: 278.6 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002665/1.636, allocations: 97.53 kB / 1.395 GB, free: 278.6 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.541/4.178, allocations: 0.7913 GB / 2.186 GB, free: 122.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.605e-06/4.178, allocations: 1.688 kB / 2.186 GB, free: 122.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003868/4.178, allocations: 55.89 kB / 2.187 GB, free: 122.6 MB / 0.948 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.009024/4.187, allocations: 2.553 MB / 2.189 GB, free: 121.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/4.187, allocations: 9 kB / 2.189 GB, free: 121.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001429/4.189, allocations: 264.2 kB / 2.189 GB, free: 121.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04704/4.236, allocations: 22.79 MB / 2.212 GB, free: 120.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001635/4.236, allocations: 111.3 kB / 2.212 GB, free: 120.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005119/4.236, allocations: 147.2 kB / 2.212 GB, free: 120.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003651/4.24, allocations: 1.49 MB / 2.213 GB, free: 120.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.568e-05/4.24, allocations: 9.188 kB / 2.213 GB, free: 120.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001939/4.24, allocations: 58.72 kB / 2.213 GB, free: 120.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.82e-05/4.24, allocations: 39.98 kB / 2.213 GB, free: 120.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002477/4.243, allocations: 1.111 MB / 2.214 GB, free: 120.1 MB / 0.948 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.00842/4.251, allocations: 7.535 MB / 2.222 GB, free: 115.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009796/4.252, allocations: 0.5094 MB / 2.222 GB, free: 115.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005925/4.253, allocations: 358.8 kB / 2.223 GB, free: 115.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006368/4.254, allocations: 1.162 MB / 2.224 GB, free: 114.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/4.254, allocations: 40.84 kB / 2.224 GB, free: 114.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=59): time 3.937e-06/4.254, allocations: 2.469 kB / 2.224 GB, free: 114.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=59): time 0.002335/4.256, allocations: 1.039 MB / 2.225 GB, free: 114.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/4.256, allocations: 66.91 kB / 2.225 GB, free: 114.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002369/4.258, allocations: 1.706 MB / 2.227 GB, free: 114.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001301/4.259, allocations: 38.92 kB / 2.227 GB, free: 114.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006171/4.259, allocations: 0.9427 MB / 2.228 GB, free: 113.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001741/4.259, allocations: 212 kB / 2.228 GB, free: 113.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.342e-05/4.259, allocations: 19.97 kB / 2.228 GB, free: 113.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.605e-05/4.259, allocations: 336 kB / 2.228 GB, free: 113.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005521/4.26, allocations: 314.9 kB / 2.228 GB, free: 113.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006689/4.261, allocations: 0.6836 MB / 2.229 GB, free: 112.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00128/4.262, allocations: 0.9788 MB / 2.23 GB, free: 112.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.722e-06/4.262, allocations: 3.625 kB / 2.23 GB, free: 112.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001958/4.264, allocations: 1.131 MB / 2.231 GB, free: 112.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/4.264, allocations: 11.56 kB / 2.231 GB, free: 112.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/4.264, allocations: 9.688 kB / 2.231 GB, free: 112.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.506e-05/4.264, allocations: 14.69 kB / 2.231 GB, free: 112.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000699/4.265, allocations: 228.9 kB / 2.231 GB, free: 112.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.658e-05/4.265, allocations: 23.12 kB / 2.231 GB, free: 112.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001863/4.267, allocations: 238.3 kB / 2.232 GB, free: 112.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.913e-05/4.267, allocations: 52.34 kB / 2.232 GB, free: 112.3 MB / 0.948 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.0009789/4.268, allocations: 428.8 kB / 2.232 GB, free: 112.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003674/4.268, allocations: 191.6 kB / 2.232 GB, free: 112.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00182/4.27, allocations: 0.9209 MB / 2.233 GB, free: 112 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-05/4.27, allocations: 15.62 kB / 2.233 GB, free: 112 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/4.27, allocations: 7.062 kB / 2.233 GB, free: 112 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00115/4.271, allocations: 0.8458 MB / 2.234 GB, free: 111.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004423/4.276, allocations: 2.498 MB / 2.236 GB, free: 111.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/4.276, allocations: 6.156 kB / 2.236 GB, free: 111.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006545/4.276, allocations: 179.8 kB / 2.237 GB, free: 111.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.847e-06/4.276, allocations: 3.875 kB / 2.237 GB, free: 111.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.91e-05/4.276, allocations: 18.38 kB / 2.237 GB, free: 111.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.238e-06/4.276, allocations: 11.72 kB / 2.237 GB, free: 111.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/4.276, allocations: 3.5 kB / 2.237 GB, free: 111.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002244/4.279, allocations: 1.442 MB / 2.238 GB, free: 110.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001129/4.28, allocations: 394.8 kB / 2.238 GB, free: 110.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002793/4.28, allocations: 13.44 kB / 2.238 GB, free: 110.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001122/4.281, allocations: 130.7 kB / 2.239 GB, free: 110.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/4.281, allocations: 53.27 kB / 2.239 GB, free: 110.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.061e-05/4.281, allocations: 31.77 kB / 2.239 GB, free: 110.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001657/4.283, allocations: 1.19 MB / 2.24 GB, free: 110.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 2e-07/4.283, allocations: 5.594 kB / 2.24 GB, free: 110.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00224/4.285, allocations: 0.6708 MB / 2.24 GB, free: 110.5 MB / 0.948 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.001533/4.287, allocations: 0.9473 MB / 2.241 GB, free: 110.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001509/4.288, allocations: 0.7881 MB / 2.242 GB, free: 110.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/4.288, allocations: 4 kB / 2.242 GB, free: 110.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000597/4.289, allocations: 385.7 kB / 2.243 GB, free: 110.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006788/4.296, allocations: 1.255 MB / 2.244 GB, free: 110.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004687/4.3, allocations: 3.695 MB / 2.247 GB, free: 108.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007226/4.301, allocations: 1.413 MB / 2.249 GB, free: 107.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001815/4.303, allocations: 382.1 kB / 2.249 GB, free: 107.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002963/4.303, allocations: 153 kB / 2.249 GB, free: 107.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.302e-06/4.303, allocations: 4.75 kB / 2.249 GB, free: 107.8 MB / 0.948 GB Notification: Performance of Templates: time 0.06522/4.369, allocations: 44.35 MB / 2.293 GB, free: 105 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)