Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.669/1.669, allocations: 288.4 MB / 303.4 MB, free: 8.117 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.0009078/0.0009078, allocations: 187.3 kB / 372 MB, free: 10.26 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.416/1.416, allocations: 205.4 MB / 0.6307 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007212/0.0007211, allocations: 84.97 kB / 0.7441 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004081/0.0004083, allocations: 16.98 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2186/0.219, allocations: 115.3 MB / 0.9796 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.06133/0.2804, allocations: 71.13 MB / 1.049 GB, free: 4.34 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.02482/0.3052, allocations: 17.56 MB / 1.066 GB, free: 2.75 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003584/0.3089, allocations: 91.38 kB / 1.066 GB, free: 2.66 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.003371/0.3123, allocations: 0.8772 MB / 1.067 GB, free: 1.777 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.4913/0.8036, allocations: 2.814 MB / 1.07 GB, free: 13.87 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00538/0.809, allocations: 1.514 MB / 1.071 GB, free: 13.86 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01231/0.8214, allocations: 7.565 MB / 1.079 GB, free: 13.84 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003526/0.8249, allocations: 1.448 MB / 1.08 GB, free: 13.67 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005743/0.8307, allocations: 1.863 MB / 1.082 GB, free: 13.67 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004559/0.8353, allocations: 1.598 MB / 1.084 GB, free: 13.66 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0009968/0.8363, allocations: 74.78 kB / 1.084 GB, free: 13.66 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00548/0.8418, allocations: 0.8972 MB / 1.085 GB, free: 13.66 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001469/0.8433, allocations: 392.8 kB / 1.085 GB, free: 13.66 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.002844/0.8462, allocations: 498.7 kB / 1.085 GB, free: 29.62 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.005863/0.8521, allocations: 2.671 MB / 1.088 GB, free: 29.48 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.8521, allocations: 0.6562 kB / 1.088 GB, free: 29.48 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.443e-06/0.8521, allocations: 0.9688 kB / 1.088 GB, free: 29.48 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001658/0.8523, allocations: 0 / 1.088 GB, free: 29.48 MB / 0.698 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.007734/0.86, allocations: 2.308 MB / 1.09 GB, free: 28.27 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.8601, allocations: 9.625 kB / 1.09 GB, free: 28.27 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00138/0.8615, allocations: 262.1 kB / 1.09 GB, free: 28.14 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004657/0.8661, allocations: 1.874 MB / 1.092 GB, free: 27.73 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001458/0.8663, allocations: 110.3 kB / 1.092 GB, free: 27.73 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004941/0.8668, allocations: 150.3 kB / 1.093 GB, free: 27.73 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004477/0.8713, allocations: 1.523 MB / 1.094 GB, free: 27.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.804e-05/0.8714, allocations: 10.91 kB / 1.094 GB, free: 27.49 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002935/0.8717, allocations: 59.45 kB / 1.094 GB, free: 27.49 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.672e-05/0.8719, allocations: 39.66 kB / 1.094 GB, free: 27.49 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003347/0.8752, allocations: 1.157 MB / 1.095 GB, free: 27.47 MB / 0.698 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.01166/0.8869, allocations: 7.574 MB / 1.103 GB, free: 23.22 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001103/0.888, allocations: 494 kB / 1.103 GB, free: 23.19 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007279/0.8888, allocations: 354 kB / 1.103 GB, free: 23.18 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008891/0.8897, allocations: 1.156 MB / 1.105 GB, free: 21.86 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.199e-05/0.8897, allocations: 43 kB / 1.105 GB, free: 21.82 MB / 0.698 GB Notification: Performance of pre-optimization done (n=59): time 2.845e-06/0.8897, allocations: 0 / 1.105 GB, free: 21.82 MB / 0.698 GB Notification: Performance of matching and sorting (n=59): time 0.002577/0.8923, allocations: 1.031 MB / 1.106 GB, free: 21.66 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.8924, allocations: 56.91 kB / 1.106 GB, free: 21.59 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002142/0.8945, allocations: 1.726 MB / 1.107 GB, free: 21.36 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001379/0.8947, allocations: 41.98 kB / 1.107 GB, free: 21.33 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006781/0.8953, allocations: 0.9261 MB / 1.108 GB, free: 21.01 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002238/0.8956, allocations: 209.8 kB / 1.109 GB, free: 20.88 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.91e-05/0.8956, allocations: 23.06 kB / 1.109 GB, free: 20.88 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.8958, allocations: 348.9 kB / 1.109 GB, free: 20.57 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006622/0.8964, allocations: 346.5 kB / 1.109 GB, free: 20.57 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008503/0.8973, allocations: 0.7109 MB / 1.11 GB, free: 20.15 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007827/0.8981, allocations: 464.7 kB / 1.11 GB, free: 20.12 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.8981, allocations: 5.375 kB / 1.11 GB, free: 20.12 MB / 0.698 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002243/0.9004, allocations: 1.245 MB / 1.112 GB, free: 19.98 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.837e-05/0.9004, allocations: 18.55 kB / 1.112 GB, free: 19.98 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.811e-05/0.9004, allocations: 10.03 kB / 1.112 GB, free: 19.98 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.09e-05/0.9005, allocations: 22.89 kB / 1.112 GB, free: 19.97 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/0.9015, allocations: 316.9 kB / 1.112 GB, free: 19.97 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.488e-05/0.9015, allocations: 19.94 kB / 1.112 GB, free: 19.97 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001859/0.9034, allocations: 252.7 kB / 1.112 GB, free: 19.88 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.813e-05/0.9035, allocations: 51.53 kB / 1.112 GB, free: 19.88 MB / 0.698 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 (135): * Single equations (assignments): 135 * 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.0009077/0.9044, allocations: 436.4 kB / 1.113 GB, free: 19.76 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002901/0.9047, allocations: 191.9 kB / 1.113 GB, free: 19.66 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001787/0.9065, allocations: 0.9044 MB / 1.114 GB, free: 19.57 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-05/0.9065, allocations: 13.75 kB / 1.114 GB, free: 19.56 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.9066, allocations: 0 / 1.114 GB, free: 19.56 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001472/0.908, allocations: 0.8328 MB / 1.115 GB, free: 19.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004489/0.9125, allocations: 2.472 MB / 1.117 GB, free: 18.84 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.834e-06/0.9126, allocations: 9.734 kB / 1.117 GB, free: 18.84 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008777/0.9135, allocations: 206.8 kB / 1.117 GB, free: 18.83 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.425e-05/0.9135, allocations: 3.5 kB / 1.117 GB, free: 18.83 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.466e-05/0.9135, allocations: 17.44 kB / 1.117 GB, free: 18.83 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.41e-05/0.9136, allocations: 7.969 kB / 1.117 GB, free: 18.83 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.9136, allocations: 3.125 kB / 1.117 GB, free: 18.83 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003048/0.9166, allocations: 1.397 MB / 1.119 GB, free: 18.48 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009316/0.9176, allocations: 398.8 kB / 1.119 GB, free: 18.28 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002216/0.9178, allocations: 15.88 kB / 1.119 GB, free: 18.28 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00114/0.919, allocations: 126.1 kB / 1.119 GB, free: 18.26 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/0.9191, allocations: 52.06 kB / 1.119 GB, free: 18.26 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.867e-05/0.9192, allocations: 39.3 kB / 1.119 GB, free: 18.26 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002031/0.9212, allocations: 1.185 MB / 1.12 GB, free: 18.11 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.01e-07/0.9212, allocations: 0.8438 kB / 1.12 GB, free: 18.11 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00228/0.9235, allocations: 0.6367 MB / 1.121 GB, free: 18.03 MB / 0.698 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.001154/0.9247, allocations: 0.5575 MB / 1.121 GB, free: 17.83 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001893/0.9266, allocations: 0.8487 MB / 1.122 GB, free: 17.81 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.9266, allocations: 1.062 kB / 1.122 GB, free: 17.81 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007604/0.9274, allocations: 374.4 kB / 1.123 GB, free: 17.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006441/0.9338, allocations: 1.218 MB / 1.124 GB, free: 17.68 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005733/0.9396, allocations: 3.678 MB / 1.127 GB, free: 15.58 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001042/0.9406, allocations: 1.398 MB / 1.129 GB, free: 14.59 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002127/0.9428, allocations: 376.7 kB / 1.129 GB, free: 14.41 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003516/0.9431, allocations: 148.5 kB / 1.129 GB, free: 14.39 MB / 0.698 GB Notification: Performance of SimCode: time 9.22e-07/0.9432, allocations: 5.344 kB / 1.129 GB, free: 14.39 MB / 0.698 GB Notification: Performance of Templates: time 0.06454/1.008, allocations: 38.79 MB / 1.167 GB, free: 1.988 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)