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 2.609/2.609, allocations: 287.9 MB / 302.9 MB, free: 8.316 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002484/0.002484, allocations: 183 kB / 371.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.153/2.153, allocations: 205.4 MB / 0.6301 GB, free: 10.42 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00102/0.001019, allocations: 103.1 kB / 0.7434 GB, free: 6.438 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0008373/0.0008376, allocations: 16.36 kB / 0.8662 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.194/0.1949, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.08404/0.279, allocations: 64.42 MB / 1.042 GB, free: 11.62 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.03104/0.3101, allocations: 16.08 MB / 1.057 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003688/0.3138, allocations: 87.38 kB / 1.057 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.004737/0.3186, allocations: 1.174 MB / 1.059 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01288/0.3315, allocations: 3.454 MB / 1.062 GB, free: 6.793 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.009269/0.3408, allocations: 2.324 MB / 1.064 GB, free: 4.516 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.008487/0.3493, allocations: 3.841 MB / 1.068 GB, free: 0.6641 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.5441/0.8934, allocations: 1.456 MB / 1.069 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004477/0.8979, allocations: 1.645 MB / 1.071 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00277/0.9007, allocations: 1.075 MB / 1.072 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0006799/0.9015, allocations: 77.56 kB / 1.072 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005207/0.9067, allocations: 1.01 MB / 1.073 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001076/0.9078, allocations: 377.4 kB / 1.073 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001602/0.9094, allocations: 488.9 kB / 1.074 GB, free: 29.06 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.005929/0.9154, allocations: 2.646 MB / 1.077 GB, free: 28.86 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.684e-06/0.9154, allocations: 0 / 1.077 GB, free: 28.86 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.582e-06/0.9154, allocations: 2.812 kB / 1.077 GB, free: 28.86 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.537e-05/0.9155, allocations: 0 / 1.077 GB, free: 28.86 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.006175/0.9217, allocations: 2.312 MB / 1.079 GB, free: 27.64 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.9218, allocations: 9.406 kB / 1.079 GB, free: 27.64 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001353/0.9231, allocations: 262.9 kB / 1.079 GB, free: 27.52 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007865/0.931, allocations: 1.747 MB / 1.081 GB, free: 27.12 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002446/0.9313, allocations: 105.3 kB / 1.081 GB, free: 27.12 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006257/0.932, allocations: 146 kB / 1.081 GB, free: 27.12 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007022/0.939, allocations: 1.522 MB / 1.082 GB, free: 26.89 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.731e-05/0.9391, allocations: 2.031 kB / 1.082 GB, free: 26.89 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002163/0.9394, allocations: 57.78 kB / 1.083 GB, free: 26.89 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.834e-05/0.9394, allocations: 40.61 kB / 1.083 GB, free: 26.89 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003892/0.9434, allocations: 1.162 MB / 1.084 GB, free: 26.86 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.01311/0.9565, allocations: 7.645 MB / 1.091 GB, free: 22.61 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001349/0.9579, allocations: 496 kB / 1.092 GB, free: 22.58 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001167/0.9591, allocations: 1.147 MB / 1.093 GB, free: 21.27 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.615e-05/0.9592, allocations: 45.78 kB / 1.093 GB, free: 21.23 MB / 0.698 GB Notification: Performance of pre-optimization done (n=59): time 3.856e-06/0.9592, allocations: 2.625 kB / 1.093 GB, free: 21.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=59): time 0.003266/0.9625, allocations: 1.021 MB / 1.094 GB, free: 21.07 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.446e-05/0.9625, allocations: 57.78 kB / 1.094 GB, free: 21.01 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003591/0.9661, allocations: 1.812 MB / 1.096 GB, free: 20.78 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002244/0.9664, allocations: 42.23 kB / 1.096 GB, free: 20.75 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008861/0.9673, allocations: 0.9228 MB / 1.097 GB, free: 20.43 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003217/0.9676, allocations: 220.6 kB / 1.097 GB, free: 20.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.621e-05/0.9677, allocations: 23.31 kB / 1.097 GB, free: 20.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001972/0.9679, allocations: 344 kB / 1.097 GB, free: 19.99 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001004/0.969, allocations: 354.8 kB / 1.097 GB, free: 19.98 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001182/0.9702, allocations: 0.7008 MB / 1.098 GB, free: 19.57 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/0.9713, allocations: 465.5 kB / 1.099 GB, free: 19.54 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.107e-05/0.9713, allocations: 3.438 kB / 1.099 GB, free: 19.54 MB / 0.698 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.003427/0.9748, allocations: 1.253 MB / 1.1 GB, free: 19.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.548e-05/0.9749, allocations: 9.938 kB / 1.1 GB, free: 19.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.425e-05/0.9749, allocations: 10.22 kB / 1.1 GB, free: 19.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.109e-05/0.9749, allocations: 20.33 kB / 1.1 GB, free: 19.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001431/0.9764, allocations: 325.3 kB / 1.1 GB, free: 19.39 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.596e-05/0.9764, allocations: 21.97 kB / 1.1 GB, free: 19.39 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002553/0.979, allocations: 257.5 kB / 1.1 GB, free: 19.29 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000231/0.9793, allocations: 53.44 kB / 1.1 GB, free: 19.29 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.001282/0.9806, allocations: 434.9 kB / 1.101 GB, free: 19.17 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005968/0.9812, allocations: 186.9 kB / 1.101 GB, free: 19.08 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002573/0.9838, allocations: 0.9066 MB / 1.102 GB, free: 19 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.168e-05/0.9838, allocations: 16.02 kB / 1.102 GB, free: 19 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/0.9838, allocations: 0 / 1.102 GB, free: 19 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001893/0.9858, allocations: 0.8298 MB / 1.103 GB, free: 18.72 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00669/0.9925, allocations: 2.518 MB / 1.105 GB, free: 18.27 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/0.9925, allocations: 1.281 kB / 1.105 GB, free: 18.27 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/0.9936, allocations: 206.6 kB / 1.105 GB, free: 18.26 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.265e-05/0.9936, allocations: 8.844 kB / 1.105 GB, free: 18.26 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.343e-05/0.9937, allocations: 17.42 kB / 1.105 GB, free: 18.26 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.935e-06/0.9937, allocations: 6.969 kB / 1.105 GB, free: 18.26 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.9937, allocations: 0 / 1.105 GB, free: 18.26 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003321/0.997, allocations: 1.55 MB / 1.107 GB, free: 17.72 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001398/0.9985, allocations: 415.5 kB / 1.107 GB, free: 17.52 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006566/0.9992, allocations: 18.12 kB / 1.107 GB, free: 17.52 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002045/1.001, allocations: 124.7 kB / 1.108 GB, free: 17.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001681/1.001, allocations: 49.02 kB / 1.108 GB, free: 17.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001235/1.002, allocations: 38.27 kB / 1.108 GB, free: 17.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002584/1.004, allocations: 1.261 MB / 1.109 GB, free: 17.35 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.031e-06/1.004, allocations: 4 kB / 1.109 GB, free: 17.35 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003431/1.008, allocations: 0.6621 MB / 1.11 GB, free: 17.25 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.001552/1.009, allocations: 0.5982 MB / 1.11 GB, free: 17.05 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00246/1.012, allocations: 0.8504 MB / 1.111 GB, free: 17.03 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.268e-06/1.012, allocations: 2.984 kB / 1.111 GB, free: 17.03 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00103/1.013, allocations: 378.7 kB / 1.111 GB, free: 17.02 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007081/1.02, allocations: 1.194 MB / 1.112 GB, free: 16.92 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007299/1.027, allocations: 3.666 MB / 1.116 GB, free: 15.03 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001701/1.029, allocations: 1.437 MB / 1.117 GB, free: 14.27 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00262/1.032, allocations: 385.4 kB / 1.118 GB, free: 14.18 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006207/1.032, allocations: 152.5 kB / 1.118 GB, free: 14.17 MB / 0.698 GB Notification: Performance of SimCode: time 1.978e-06/1.032, allocations: 0 / 1.118 GB, free: 14.17 MB / 0.698 GB Notification: Performance of Templates: time 0.09295/1.125, allocations: 40.07 MB / 1.157 GB, free: 8.09 MB / 0.7136 GB