Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.464/2.464, allocations: 251.1 MB / 266.1 MB, free: 11.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002696/0.002696, allocations: 174.5 kB / 325.6 MB, free: 2.836 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.554/2.554, allocations: 205.4 MB / 0.5766 GB, free: 20.82 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001175/0.001175, allocations: 103.8 kB / 0.6811 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006563/0.0006563, allocations: 15.5 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.2207, allocations: 106.3 MB / 0.8989 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07983/0.3006, allocations: 64.42 MB / 0.9618 GB, free: 0.9023 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.03534/0.336, allocations: 16.05 MB / 0.9775 GB, free: 0.8242 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003823/0.3399, allocations: 87.31 kB / 0.9775 GB, free: 0.7383 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.005888/0.3458, allocations: 1.174 MB / 0.9787 GB, free: 15.56 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.01558/0.3614, allocations: 3.452 MB / 0.9821 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.01023/0.3717, allocations: 2.166 MB / 0.9842 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.01002/0.3817, allocations: 3.835 MB / 0.9879 GB, free: 6.129 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003964/0.3857, allocations: 1.453 MB / 0.9893 GB, free: 4.648 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008306/0.3941, allocations: 1.635 MB / 0.9909 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004237/0.3984, allocations: 1.069 MB / 0.992 GB, free: 1.934 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.000669/0.3991, allocations: 72 kB / 0.9921 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005743/0.4049, allocations: 1.018 MB / 0.993 GB, free: 0.8438 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001046/0.406, allocations: 374.5 kB / 0.9934 GB, free: 488 kB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001254/0.4073, allocations: 488.6 kB / 0.9939 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.006321/0.4136, allocations: 2.615 MB / 0.9964 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.4137, allocations: 0 / 0.9964 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.166e-06/0.4137, allocations: 0 / 0.9964 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.375e-05/0.4138, allocations: 3.938 kB / 0.9964 GB, free: 13.37 MB / 0.6511 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.006922/0.4207, allocations: 2.306 MB / 0.9987 GB, free: 11 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.4208, allocations: 12.03 kB / 0.9987 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001251/0.422, allocations: 261.1 kB / 0.9989 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005289/0.4273, allocations: 1.743 MB / 1.001 GB, free: 8.934 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001355/0.4275, allocations: 106.7 kB / 1.001 GB, free: 8.828 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003386/0.4279, allocations: 147.9 kB / 1.001 GB, free: 8.684 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004871/0.4328, allocations: 1.501 MB / 1.002 GB, free: 7.105 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.975e-05/0.4329, allocations: 15.98 kB / 1.002 GB, free: 7.09 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002098/0.4331, allocations: 59.94 kB / 1.002 GB, free: 7.031 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.749e-05/0.4332, allocations: 43.98 kB / 1.002 GB, free: 6.988 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004634/0.4379, allocations: 1.158 MB / 1.004 GB, free: 5.824 MB / 0.6511 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.01539/0.4533, allocations: 7.614 MB / 1.011 GB, free: 13.63 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001837/0.4552, allocations: 493.2 kB / 1.012 GB, free: 13.14 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001266/0.4565, allocations: 1.156 MB / 1.013 GB, free: 11.73 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.212e-05/0.4566, allocations: 39.12 kB / 1.013 GB, free: 11.68 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=59): time 3.677e-06/0.4566, allocations: 0 / 1.013 GB, free: 11.68 MB / 0.6667 GB Notification: Performance of matching and sorting (n=59): time 0.004214/0.4608, allocations: 1.02 MB / 1.014 GB, free: 10.66 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.934e-05/0.4609, allocations: 59.97 kB / 1.014 GB, free: 10.59 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004179/0.4651, allocations: 1.805 MB / 1.015 GB, free: 8.742 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002012/0.4654, allocations: 41.7 kB / 1.016 GB, free: 8.695 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.00132/0.4667, allocations: 0.9315 MB / 1.016 GB, free: 7.754 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004111/0.4671, allocations: 220.9 kB / 1.017 GB, free: 7.535 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.179e-05/0.4672, allocations: 20 kB / 1.017 GB, free: 7.516 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000194/0.4674, allocations: 357.8 kB / 1.017 GB, free: 7.16 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001351/0.4688, allocations: 346.4 kB / 1.017 GB, free: 6.82 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001765/0.4706, allocations: 0.7016 MB / 1.018 GB, free: 5.965 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001601/0.4722, allocations: 462.7 kB / 1.018 GB, free: 5.516 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.285e-05/0.4723, allocations: 0 / 1.018 GB, free: 5.516 MB / 0.6667 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.004391/0.4767, allocations: 1.249 MB / 1.02 GB, free: 4.258 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.697e-05/0.4768, allocations: 11.98 kB / 1.02 GB, free: 4.246 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.663e-05/0.4768, allocations: 16.09 kB / 1.02 GB, free: 4.23 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.097e-05/0.4768, allocations: 16 kB / 1.02 GB, free: 4.215 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002196/0.4791, allocations: 319.5 kB / 1.02 GB, free: 3.902 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.944e-05/0.4791, allocations: 19.94 kB / 1.02 GB, free: 3.883 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002865/0.482, allocations: 254.3 kB / 1.02 GB, free: 3.633 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002343/0.4823, allocations: 55.98 kB / 1.02 GB, free: 3.578 MB / 0.6667 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.001251/0.4835, allocations: 441.3 kB / 1.021 GB, free: 3.137 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006022/0.4842, allocations: 185.8 kB / 1.021 GB, free: 2.953 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003289/0.4875, allocations: 0.9052 MB / 1.022 GB, free: 2.035 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.423e-05/0.4875, allocations: 8 kB / 1.022 GB, free: 2.027 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.4876, allocations: 0 / 1.022 GB, free: 2.027 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00258/0.4901, allocations: 0.8308 MB / 1.023 GB, free: 1.148 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007543/0.4977, allocations: 2.505 MB / 1.025 GB, free: 14.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.23e-05/0.4978, allocations: 7.938 kB / 1.025 GB, free: 14.54 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001619/0.4994, allocations: 204 kB / 1.025 GB, free: 14.34 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.387e-05/0.4995, allocations: 8 kB / 1.025 GB, free: 14.33 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.579e-05/0.4996, allocations: 19.98 kB / 1.025 GB, free: 14.31 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.477e-05/0.4996, allocations: 11.94 kB / 1.025 GB, free: 14.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/0.4996, allocations: 3.938 kB / 1.025 GB, free: 14.29 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00463/0.5043, allocations: 1.543 MB / 1.027 GB, free: 12.65 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001418/0.5057, allocations: 418.3 kB / 1.027 GB, free: 12.22 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005122/0.5063, allocations: 12 kB / 1.027 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002347/0.5086, allocations: 125.4 kB / 1.027 GB, free: 12.09 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002238/0.5089, allocations: 48.5 kB / 1.027 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001206/0.509, allocations: 31.97 kB / 1.027 GB, free: 12.01 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.003129/0.5122, allocations: 1.262 MB / 1.029 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.61e-07/0.5122, allocations: 0 / 1.029 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003062/0.5153, allocations: 0.659 MB / 1.029 GB, free: 10.07 MB / 0.6823 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.001799/0.5172, allocations: 0.6119 MB / 1.03 GB, free: 9.469 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003232/0.5204, allocations: 0.8469 MB / 1.031 GB, free: 8.629 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.695e-06/0.5205, allocations: 0 / 1.031 GB, free: 8.629 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001453/0.522, allocations: 380.4 kB / 1.031 GB, free: 8.254 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01047/0.5325, allocations: 1.198 MB / 1.032 GB, free: 7.07 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00911/0.5416, allocations: 3.668 MB / 1.036 GB, free: 3.348 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001505/0.5432, allocations: 1.447 MB / 1.037 GB, free: 1.867 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002633/0.5458, allocations: 375.4 kB / 1.038 GB, free: 1.508 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006072/0.5465, allocations: 143.4 kB / 1.038 GB, free: 1.367 MB / 0.6823 GB Notification: Performance of SimCode: time 1.232e-06/0.5465, allocations: 0 / 1.038 GB, free: 1.367 MB / 0.6823 GB Notification: Performance of Templates: time 0.7043/1.251, allocations: 39.81 MB / 1.077 GB, free: 138.6 MB / 0.698 GB