Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.921/4.921, allocations: 0.5623 GB / 0.5769 GB, free: 3.312 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00238/0.00238, allocations: 353 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.084/4.084, allocations: 410.7 MB / 1.112 GB, free: 6.027 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001746/0.001746, allocations: 167.1 kB / 1.225 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005016/0.0005019, allocations: 16 kB / 1.348 GB, free: 8.324 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6416/0.6422, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.06515/0.7074, allocations: 71.12 MB / 1.53 GB, free: 213.3 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.02357/0.731, allocations: 17.29 MB / 1.547 GB, free: 196.1 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003457/0.7345, allocations: 99.25 kB / 1.547 GB, free: 196 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.003726/0.7382, allocations: 1.075 MB / 1.548 GB, free: 194.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.01167/0.7499, allocations: 3.641 MB / 1.552 GB, free: 191.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.007853/0.7578, allocations: 2.313 MB / 1.554 GB, free: 189 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.008574/0.7664, allocations: 7.594 MB / 1.561 GB, free: 181.4 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002505/0.769, allocations: 1.453 MB / 1.563 GB, free: 180 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003702/0.7727, allocations: 1.792 MB / 1.565 GB, free: 178.2 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002627/0.7754, allocations: 1.598 MB / 1.566 GB, free: 176.6 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0003779/0.7758, allocations: 76 kB / 1.566 GB, free: 176.5 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003452/0.7792, allocations: 0.888 MB / 1.567 GB, free: 175.6 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.000527/0.7798, allocations: 390.2 kB / 1.567 GB, free: 175.3 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0007985/0.7806, allocations: 0.4888 MB / 1.568 GB, free: 174.8 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.003484/0.7841, allocations: 2.665 MB / 1.571 GB, free: 172.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.292e-06/0.7841, allocations: 0 / 1.571 GB, free: 172.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.24e-06/0.7842, allocations: 0 / 1.571 GB, free: 172.1 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.086e-05/0.7842, allocations: 0 / 1.571 GB, free: 172.1 MB / 0.8542 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.00399/0.7882, allocations: 2.318 MB / 1.573 GB, free: 169.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.7882, allocations: 15.62 kB / 1.573 GB, free: 169.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007664/0.789, allocations: 261.1 kB / 1.573 GB, free: 169.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003666/0.7927, allocations: 1.873 MB / 1.575 GB, free: 167.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.591e-05/0.7928, allocations: 110.7 kB / 1.575 GB, free: 167.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002164/0.7931, allocations: 140 kB / 1.575 GB, free: 167.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002999/0.7961, allocations: 1.532 MB / 1.577 GB, free: 165.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.747e-05/0.7962, allocations: 11.94 kB / 1.577 GB, free: 165.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001699/0.7963, allocations: 56 kB / 1.577 GB, free: 165.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.157e-05/0.7964, allocations: 43.92 kB / 1.577 GB, free: 165.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002745/0.7992, allocations: 1.158 MB / 1.578 GB, free: 164.4 MB / 0.8542 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.008717/0.8079, allocations: 7.573 MB / 1.585 GB, free: 156.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001153/0.8091, allocations: 0.4963 MB / 1.586 GB, free: 155.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007612/0.8099, allocations: 350.3 kB / 1.586 GB, free: 155.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006646/0.8106, allocations: 1.148 MB / 1.587 GB, free: 154 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.8106, allocations: 47.11 kB / 1.587 GB, free: 153.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=59): time 4.002e-06/0.8106, allocations: 0 / 1.587 GB, free: 153.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=59): time 0.00257/0.8132, allocations: 1.02 MB / 1.588 GB, free: 152.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.538e-05/0.8132, allocations: 59.91 kB / 1.588 GB, free: 152.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002503/0.8158, allocations: 1.727 MB / 1.59 GB, free: 151.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001055/0.8159, allocations: 37.7 kB / 1.59 GB, free: 151 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007005/0.8166, allocations: 0.9276 MB / 1.591 GB, free: 150.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002039/0.8168, allocations: 220.9 kB / 1.591 GB, free: 149.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.361e-05/0.8169, allocations: 20 kB / 1.591 GB, free: 149.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.666e-05/0.817, allocations: 357.9 kB / 1.592 GB, free: 149.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008521/0.8178, allocations: 342.4 kB / 1.592 GB, free: 149.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001036/0.8189, allocations: 0.7063 MB / 1.593 GB, free: 148.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009836/0.8199, allocations: 474.7 kB / 1.593 GB, free: 147.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.159e-06/0.8199, allocations: 4 kB / 1.593 GB, free: 147.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002725/0.8227, allocations: 1.249 MB / 1.594 GB, free: 146.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/0.8227, allocations: 12.12 kB / 1.594 GB, free: 146.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.717e-05/0.8227, allocations: 12 kB / 1.594 GB, free: 146.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.144e-05/0.8228, allocations: 16 kB / 1.594 GB, free: 146.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/0.824, allocations: 315.5 kB / 1.595 GB, free: 146.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.385e-05/0.824, allocations: 19.94 kB / 1.595 GB, free: 146.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001888/0.8259, allocations: 250.4 kB / 1.595 GB, free: 146 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001091/0.8261, allocations: 51.98 kB / 1.595 GB, free: 145.9 MB / 0.8542 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.000826/0.8269, allocations: 441.3 kB / 1.595 GB, free: 145.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002903/0.8272, allocations: 187.9 kB / 1.595 GB, free: 145.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002055/0.8293, allocations: 0.9125 MB / 1.596 GB, free: 144.4 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.436e-05/0.8293, allocations: 4 kB / 1.596 GB, free: 144.4 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.784e-06/0.8293, allocations: 0 / 1.596 GB, free: 144.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001531/0.8309, allocations: 0.8386 MB / 1.597 GB, free: 143.5 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004698/0.8356, allocations: 2.47 MB / 1.6 GB, free: 141 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.97e-06/0.8356, allocations: 4.25 kB / 1.6 GB, free: 141 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009649/0.8366, allocations: 215.7 kB / 1.6 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.149e-05/0.8366, allocations: 11.89 kB / 1.6 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-05/0.8367, allocations: 19.98 kB / 1.6 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.957e-06/0.8367, allocations: 4 kB / 1.6 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.956e-06/0.8367, allocations: 0 / 1.6 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002768/0.8395, allocations: 1.394 MB / 1.601 GB, free: 139.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007895/0.8403, allocations: 402.3 kB / 1.602 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002672/0.8406, allocations: 19.95 kB / 1.602 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001416/0.842, allocations: 123.7 kB / 1.602 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/0.8422, allocations: 52.44 kB / 1.602 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-05/0.8423, allocations: 35.97 kB / 1.602 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001895/0.8442, allocations: 1.192 MB / 1.603 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.35e-07/0.8442, allocations: 0 / 1.603 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001958/0.8462, allocations: 0.6317 MB / 1.604 GB, free: 136.8 MB / 0.8542 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.00101/0.8472, allocations: 0.549 MB / 1.604 GB, free: 136.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002035/0.8493, allocations: 0.8507 MB / 1.605 GB, free: 135.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.576e-06/0.8493, allocations: 4 kB / 1.605 GB, free: 135.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0008512/0.8501, allocations: 372.4 kB / 1.605 GB, free: 135.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006654/0.8568, allocations: 1.215 MB / 1.606 GB, free: 133.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005466/0.8623, allocations: 3.678 MB / 1.61 GB, free: 130.2 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009428/0.8633, allocations: 1.44 MB / 1.611 GB, free: 128.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.002095/0.8654, allocations: 388.3 kB / 1.612 GB, free: 128.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003765/0.8658, allocations: 147.4 kB / 1.612 GB, free: 128.2 MB / 0.8542 GB Notification: Performance of SimCode: time 1.84e-06/0.8658, allocations: 4 kB / 1.612 GB, free: 128.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.07828/0.9441, allocations: 38.76 MB / 1.65 GB, free: 90.07 MB / 0.8542 GB