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.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: 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.4-maint.8.1.x/package.mo): time 1.696/1.696, allocations: 292.6 MB / 307.5 MB, free: 5.211 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.001438/0.001438, allocations: 181 kB / 377.1 MB, free: 1.508 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.81/1.81, allocations: 205.4 MB / 0.6367 GB, free: 8.625 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.0009047/0.0009048, allocations: 94.06 kB / 0.751 GB, free: 63.31 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004081/0.0004081, allocations: 16 kB / 0.8748 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.325, allocations: 116.3 MB / 0.9884 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.686/2.011, allocations: 414.2 MB / 1.393 GB, free: 253.4 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003461/2.011, allocations: 92.97 kB / 1.393 GB, free: 253.4 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.715/4.726, allocations: 0.7961 GB / 2.189 GB, free: 118.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.174e-06/4.726, allocations: 0 / 2.189 GB, free: 118.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004631/4.727, allocations: 60.72 kB / 2.189 GB, free: 118.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.01082/4.737, allocations: 2.569 MB / 2.192 GB, free: 117.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.093e-05/4.737, allocations: 9 kB / 2.192 GB, free: 117.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002062/4.74, allocations: 262.6 kB / 2.192 GB, free: 117.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06096/4.801, allocations: 24.35 MB / 2.216 GB, free: 116.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001989/4.801, allocations: 106.9 kB / 2.216 GB, free: 116.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007461/4.802, allocations: 144.9 kB / 2.216 GB, free: 116.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005565/4.807, allocations: 1.483 MB / 2.217 GB, free: 116.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.808e-05/4.807, allocations: 5.938 kB / 2.217 GB, free: 116.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003023/4.808, allocations: 60.17 kB / 2.217 GB, free: 116.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.338e-05/4.808, allocations: 40.31 kB / 2.217 GB, free: 116.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003199/4.811, allocations: 1.108 MB / 2.219 GB, free: 116.2 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.0126/4.823, allocations: 7.561 MB / 2.226 GB, free: 112 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001343/4.825, allocations: 0.5123 MB / 2.226 GB, free: 111.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000858/4.826, allocations: 1.165 MB / 2.228 GB, free: 110.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/4.826, allocations: 46.41 kB / 2.228 GB, free: 110.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=59): time 2.835e-06/4.826, allocations: 0 / 2.228 GB, free: 110.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=59): time 0.003192/4.829, allocations: 1.037 MB / 2.229 GB, free: 110.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.286e-05/4.829, allocations: 59.88 kB / 2.229 GB, free: 110.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004209/4.833, allocations: 1.532 MB / 2.23 GB, free: 110.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002245/4.834, allocations: 43.86 kB / 2.23 GB, free: 110.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001016/4.835, allocations: 0.9368 MB / 2.231 GB, free: 109.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003087/4.835, allocations: 215.9 kB / 2.231 GB, free: 109.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.261e-05/4.835, allocations: 15 kB / 2.231 GB, free: 109.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001036/4.835, allocations: 343.6 kB / 2.232 GB, free: 109.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007391/4.836, allocations: 314.5 kB / 2.232 GB, free: 109.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009603/4.837, allocations: 0.6771 MB / 2.233 GB, free: 108.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009704/4.838, allocations: 416.8 kB / 2.233 GB, free: 108.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.586e-05/4.838, allocations: 3 kB / 2.233 GB, free: 108.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.003256/4.841, allocations: 1.129 MB / 2.234 GB, free: 108.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.219e-05/4.841, allocations: 11.41 kB / 2.234 GB, free: 108.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.962e-05/4.841, allocations: 14.3 kB / 2.234 GB, free: 108.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.366e-05/4.841, allocations: 17.36 kB / 2.234 GB, free: 108.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007549/4.842, allocations: 229.2 kB / 2.234 GB, free: 108.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.52e-05/4.842, allocations: 21.36 kB / 2.234 GB, free: 108.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002649/4.845, allocations: 233.6 kB / 2.235 GB, free: 108.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001583/4.845, allocations: 54.02 kB / 2.235 GB, free: 108.7 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.001262/4.846, allocations: 430.8 kB / 2.235 GB, free: 108.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006845/4.847, allocations: 196.7 kB / 2.235 GB, free: 108.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002237/4.849, allocations: 0.9294 MB / 2.236 GB, free: 108.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-05/4.849, allocations: 11.53 kB / 2.236 GB, free: 108.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/4.849, allocations: 3.953 kB / 2.236 GB, free: 108.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00124/4.85, allocations: 0.8409 MB / 2.237 GB, free: 108.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006528/4.857, allocations: 2.516 MB / 2.24 GB, free: 107.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/4.857, allocations: 0 / 2.24 GB, free: 107.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007168/4.858, allocations: 186.8 kB / 2.24 GB, free: 107.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.506e-05/4.858, allocations: 3.781 kB / 2.24 GB, free: 107.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.456e-05/4.858, allocations: 20.42 kB / 2.24 GB, free: 107.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.566e-06/4.858, allocations: 3.906 kB / 2.24 GB, free: 107.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/4.858, allocations: 3.812 kB / 2.24 GB, free: 107.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002891/4.861, allocations: 1.592 MB / 2.241 GB, free: 107.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001447/4.862, allocations: 395.6 kB / 2.242 GB, free: 107 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007881/4.863, allocations: 18.06 kB / 2.242 GB, free: 107 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001861/4.865, allocations: 129.3 kB / 2.242 GB, free: 107 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/4.865, allocations: 56.58 kB / 2.242 GB, free: 107 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001067/4.865, allocations: 40.56 kB / 2.242 GB, free: 107 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00263/4.868, allocations: 1.214 MB / 2.243 GB, free: 106.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.71e-07/4.868, allocations: 2.281 kB / 2.243 GB, free: 106.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003464/4.871, allocations: 0.6962 MB / 2.244 GB, free: 106.7 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.002257/4.873, allocations: 0.9536 MB / 2.245 GB, free: 106.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001804/4.875, allocations: 0.7938 MB / 2.245 GB, free: 106.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/4.875, allocations: 3.906 kB / 2.245 GB, free: 106.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007122/4.876, allocations: 387.7 kB / 2.246 GB, free: 106.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00654/4.883, allocations: 1.252 MB / 2.247 GB, free: 106.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006607/4.889, allocations: 3.69 MB / 2.251 GB, free: 104.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001299/4.891, allocations: 1.44 MB / 2.252 GB, free: 104 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002154/4.893, allocations: 396 kB / 2.252 GB, free: 104 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000314/4.893, allocations: 146.2 kB / 2.253 GB, free: 104 MB / 0.948 GB Notification: Performance of SimCode: time 9.92e-07/4.893, allocations: 0 / 2.253 GB, free: 104 MB / 0.948 GB Notification: Performance of Templates: time 0.07535/4.968, allocations: 43.72 MB / 2.295 GB, free: 101.1 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)