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.103/2.103, allocations: 251.1 MB / 266.1 MB, free: 11.63 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.001449/0.001448, allocations: 185.4 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.248/2.248, allocations: 205.4 MB / 0.5766 GB, free: 21.12 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.001152/0.001152, allocations: 98.39 kB / 0.6811 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004586/0.0004586, allocations: 16.03 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2583/0.2587, allocations: 106.3 MB / 0.8989 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.208/1.467, allocations: 405.5 MB / 1.295 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003611/1.467, allocations: 100.3 kB / 1.295 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.309/5.777, allocations: 0.774 GB / 2.069 GB, free: 18.4 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.184e-06/5.777, allocations: 0 / 2.069 GB, free: 18.4 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003318/5.777, allocations: 59.92 kB / 2.069 GB, free: 18.34 MB / 0.8855 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.009201/5.787, allocations: 2.56 MB / 2.072 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/5.787, allocations: 8.562 kB / 2.072 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001586/5.788, allocations: 269 kB / 2.072 GB, free: 15.44 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.77/6.558, allocations: 23.66 MB / 2.095 GB, free: 115.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001634/6.559, allocations: 106.4 kB / 2.095 GB, free: 115.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004602/6.559, allocations: 147.7 kB / 2.095 GB, free: 115.8 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004777/6.564, allocations: 1.464 MB / 2.097 GB, free: 115.6 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.187e-05/6.564, allocations: 4.781 kB / 2.097 GB, free: 115.6 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002111/6.564, allocations: 56.75 kB / 2.097 GB, free: 115.6 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.492e-05/6.564, allocations: 42.97 kB / 2.097 GB, free: 115.6 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004701/6.569, allocations: 1.108 MB / 2.098 GB, free: 115.6 MB / 0.8855 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.01389/6.583, allocations: 7.547 MB / 2.105 GB, free: 111.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001858/6.585, allocations: 0.51 MB / 2.106 GB, free: 111.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009988/6.586, allocations: 1.16 MB / 2.107 GB, free: 110.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.104e-05/6.586, allocations: 50.02 kB / 2.107 GB, free: 110.2 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=59): time 5.48e-06/6.586, allocations: 2.188 kB / 2.107 GB, free: 110.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=59): time 0.00417/6.59, allocations: 1.036 MB / 2.108 GB, free: 110 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.903e-05/6.59, allocations: 57.56 kB / 2.108 GB, free: 110 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003966/6.594, allocations: 1.527 MB / 2.109 GB, free: 109.8 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002341/6.594, allocations: 44.61 kB / 2.109 GB, free: 109.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009424/6.595, allocations: 0.9464 MB / 2.11 GB, free: 109.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003117/6.596, allocations: 212.9 kB / 2.111 GB, free: 109.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.399e-05/6.596, allocations: 15.31 kB / 2.111 GB, free: 109.4 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.234e-05/6.596, allocations: 336.9 kB / 2.111 GB, free: 109.1 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001104/6.597, allocations: 308.8 kB / 2.111 GB, free: 109.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001371/6.598, allocations: 0.679 MB / 2.112 GB, free: 108.6 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001386/6.6, allocations: 426.7 kB / 2.112 GB, free: 108.6 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.17e-05/6.6, allocations: 5.469 kB / 2.112 GB, free: 108.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.003861/6.604, allocations: 1.125 MB / 2.113 GB, free: 108.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.533e-05/6.604, allocations: 10.22 kB / 2.113 GB, free: 108.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.308e-05/6.604, allocations: 10.53 kB / 2.113 GB, free: 108.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.334e-05/6.604, allocations: 20.2 kB / 2.113 GB, free: 108.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001533/6.605, allocations: 235.6 kB / 2.114 GB, free: 108.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-05/6.606, allocations: 19 kB / 2.114 GB, free: 108.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002941/6.608, allocations: 237.3 kB / 2.114 GB, free: 108.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002005/6.609, allocations: 51.02 kB / 2.114 GB, free: 108.4 MB / 0.8855 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 (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.001298/6.61, allocations: 433.8 kB / 2.114 GB, free: 108.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006377/6.611, allocations: 194.1 kB / 2.114 GB, free: 108.2 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003076/6.614, allocations: 0.9223 MB / 2.115 GB, free: 108.2 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.947e-05/6.614, allocations: 7.594 kB / 2.115 GB, free: 108.2 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.819e-06/6.614, allocations: 6.141 kB / 2.115 GB, free: 108.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002162/6.616, allocations: 0.8452 MB / 2.116 GB, free: 107.9 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007425/6.624, allocations: 2.501 MB / 2.119 GB, free: 107.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.19e-05/6.624, allocations: 0 / 2.119 GB, free: 107.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001366/6.625, allocations: 182.3 kB / 2.119 GB, free: 107.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.361e-05/6.625, allocations: 5.672 kB / 2.119 GB, free: 107.5 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.376e-05/6.625, allocations: 15.44 kB / 2.119 GB, free: 107.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.578e-06/6.625, allocations: 9.469 kB / 2.119 GB, free: 107.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/6.625, allocations: 0.8438 kB / 2.119 GB, free: 107.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004247/6.629, allocations: 1.589 MB / 2.12 GB, free: 107 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001457/6.631, allocations: 400.4 kB / 2.121 GB, free: 106.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006687/6.632, allocations: 10.28 kB / 2.121 GB, free: 106.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002647/6.634, allocations: 131.2 kB / 2.121 GB, free: 106.8 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002563/6.635, allocations: 59.45 kB / 2.121 GB, free: 106.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001214/6.635, allocations: 34.84 kB / 2.121 GB, free: 106.8 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.003013/6.638, allocations: 1.213 MB / 2.122 GB, free: 106.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 9.02e-07/6.638, allocations: 1.406 kB / 2.122 GB, free: 106.6 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003215/6.641, allocations: 0.6928 MB / 2.123 GB, free: 106.6 MB / 0.8855 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.002346/6.643, allocations: 0.9589 MB / 2.124 GB, free: 106.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002774/6.646, allocations: 0.7921 MB / 2.125 GB, free: 106.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 9.217e-06/6.646, allocations: 0 / 2.125 GB, free: 106.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001276/6.648, allocations: 389.3 kB / 2.125 GB, free: 106.4 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01089/6.658, allocations: 1.245 MB / 2.126 GB, free: 106.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007896/6.666, allocations: 3.687 MB / 2.13 GB, free: 104.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001058/6.668, allocations: 1.442 MB / 2.131 GB, free: 104 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002606/6.67, allocations: 388.6 kB / 2.132 GB, free: 104 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005661/6.671, allocations: 148.5 kB / 2.132 GB, free: 104 MB / 0.8855 GB Notification: Performance of SimCode: time 1.203e-06/6.671, allocations: 0 / 2.132 GB, free: 104 MB / 0.8855 GB Notification: Performance of Templates: time 0.105/6.776, allocations: 43.46 MB / 2.174 GB, free: 102.2 MB / 0.8855 GB