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.639/1.639, allocations: 289.9 MB / 297.4 MB, free: 6.371 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.0011/0.0011, allocations: 180.9 kB / 366.7 MB, free: 1.652 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.846/1.846, allocations: 205.2 MB / 0.626 GB, free: 7.164 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.0009316/0.0009317, allocations: 93.2 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.908e-05/1.9e-05, allocations: 4 kB / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7798/0.7798, allocations: 116.3 MB / 0.9732 GB, free: 76.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.132/1.912, allocations: 413.5 MB / 1.377 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002309/1.912, allocations: 99.28 kB / 1.377 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.79/4.701, allocations: 0.7892 GB / 2.166 GB, free: 150.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.443e-06/4.701, allocations: 0 / 2.166 GB, free: 150.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001958/4.702, allocations: 61.59 kB / 2.166 GB, free: 150.8 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.00415/4.706, allocations: 2.162 MB / 2.169 GB, free: 149.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/4.706, allocations: 10.62 kB / 2.169 GB, free: 149.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007709/4.707, allocations: 260.9 kB / 2.169 GB, free: 149.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04558/4.752, allocations: 24.15 MB / 2.192 GB, free: 138.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.983e-05/4.752, allocations: 46.33 kB / 2.192 GB, free: 138.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002068/4.753, allocations: 83.84 kB / 2.192 GB, free: 138.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001716/4.754, allocations: 0.8687 MB / 2.193 GB, free: 138.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001931/4.756, allocations: 1.196 MB / 2.194 GB, free: 137.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.531e-05/4.756, allocations: 3.281 kB / 2.194 GB, free: 137.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.85e-05/4.756, allocations: 8.203 kB / 2.194 GB, free: 137.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.331e-05/4.756, allocations: 38.44 kB / 2.195 GB, free: 137.4 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.007333/4.764, allocations: 7.261 MB / 2.202 GB, free: 131 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006307/4.764, allocations: 432 kB / 2.202 GB, free: 130.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002934/4.765, allocations: 272.1 kB / 2.202 GB, free: 130.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006835/4.765, allocations: 1.155 MB / 2.203 GB, free: 129.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/4.765, allocations: 46.17 kB / 2.203 GB, free: 129.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=59): time 2.816e-06/4.765, allocations: 0 / 2.203 GB, free: 129.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=59): time 0.001236/4.767, allocations: 0.6178 MB / 2.204 GB, free: 128.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.245e-05/4.767, allocations: 63.78 kB / 2.204 GB, free: 128.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001306/4.768, allocations: 1.191 MB / 2.205 GB, free: 128.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.616e-05/4.768, allocations: 25.7 kB / 2.205 GB, free: 128.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005201/4.769, allocations: 0.9391 MB / 2.206 GB, free: 127.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001362/4.769, allocations: 212.6 kB / 2.206 GB, free: 127.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.863e-05/4.769, allocations: 0 / 2.206 GB, free: 127.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.126e-05/4.769, allocations: 341.8 kB / 2.207 GB, free: 126.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002766/4.769, allocations: 215 kB / 2.207 GB, free: 126.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004191/4.77, allocations: 0.5763 MB / 2.208 GB, free: 126.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006099/4.77, allocations: 355 kB / 2.208 GB, free: 126 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/4.77, allocations: 0 / 2.208 GB, free: 126 MB / 0.948 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001301/4.772, allocations: 0.8995 MB / 2.209 GB, free: 125.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/4.772, allocations: 8.281 kB / 2.209 GB, free: 125.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/4.772, allocations: 13.88 kB / 2.209 GB, free: 125.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.711e-05/4.772, allocations: 18.8 kB / 2.209 GB, free: 125.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006974/4.772, allocations: 231.3 kB / 2.209 GB, free: 125.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.041e-05/4.772, allocations: 20.31 kB / 2.209 GB, free: 125.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001312/4.774, allocations: 167 kB / 2.209 GB, free: 125.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.537e-05/4.774, allocations: 51.92 kB / 2.209 GB, free: 125.4 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 () * 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.0001479/4.774, allocations: 130.2 kB / 2.209 GB, free: 125.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001767/4.774, allocations: 163.1 kB / 2.21 GB, free: 125.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001217/4.775, allocations: 0.7321 MB / 2.21 GB, free: 124.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.798e-06/4.775, allocations: 7.406 kB / 2.21 GB, free: 124.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/4.775, allocations: 3.953 kB / 2.21 GB, free: 124.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008038/4.776, allocations: 0.6867 MB / 2.211 GB, free: 124.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003078/4.779, allocations: 2.155 MB / 2.213 GB, free: 122.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/4.779, allocations: 2.656 kB / 2.213 GB, free: 122.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006646/4.78, allocations: 181.4 kB / 2.213 GB, free: 122.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.426e-06/4.78, allocations: 3.5 kB / 2.213 GB, free: 122.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.588e-05/4.78, allocations: 12.86 kB / 2.213 GB, free: 122.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/4.78, allocations: 6.062 kB / 2.213 GB, free: 122.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/4.78, allocations: 3.906 kB / 2.213 GB, free: 122.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001448/4.782, allocations: 1.289 MB / 2.214 GB, free: 121.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005565/4.782, allocations: 375.4 kB / 2.215 GB, free: 121.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001711/4.782, allocations: 3.125 kB / 2.215 GB, free: 121.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001006/4.783, allocations: 111.8 kB / 2.215 GB, free: 121.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.957e-05/4.783, allocations: 53.58 kB / 2.215 GB, free: 121.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.026e-05/4.783, allocations: 38.59 kB / 2.215 GB, free: 121.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001048/4.785, allocations: 0.8937 MB / 2.216 GB, free: 121.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/4.785, allocations: 2.25 kB / 2.216 GB, free: 121.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002111/4.787, allocations: 0.704 MB / 2.217 GB, free: 120.9 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 () * 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.001353/4.788, allocations: 0.962 MB / 2.218 GB, free: 120.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0008899/4.789, allocations: 0.602 MB / 2.218 GB, free: 120.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/4.789, allocations: 0 / 2.218 GB, free: 120.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003545/4.789, allocations: 300.7 kB / 2.218 GB, free: 120.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004221/4.794, allocations: 0.9453 MB / 2.219 GB, free: 119.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003561/4.797, allocations: 2.316 MB / 2.222 GB, free: 118.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000696/4.798, allocations: 1.441 MB / 2.223 GB, free: 117.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001298/4.799, allocations: 338.3 kB / 2.223 GB, free: 117.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002544/4.799, allocations: 131.7 kB / 2.223 GB, free: 117.2 MB / 0.948 GB Notification: Performance of SimCode: time 7.62e-07/4.799, allocations: 3.938 kB / 2.223 GB, free: 117.2 MB / 0.948 GB Notification: Performance of Templates: time 0.05028/4.85, allocations: 32.8 MB / 2.255 GB, free: 89.25 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)