Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.17/2.17, allocations: 253.2 MB / 260.6 MB, free: 7.379 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001512/0.001512, allocations: 176.9 kB / 319.9 MB, free: 3.027 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.055/2.055, allocations: 205.6 MB / 0.5708 GB, free: 15.25 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.001113/0.001113, allocations: 103.9 kB / 0.6751 GB, free: 4.594 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.876e-05/1.876e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1954/0.1955, allocations: 106.2 MB / 0.8887 GB, free: 11.83 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.859/2.055, allocations: 399.7 MB / 1.279 GB, free: 258.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003116/2.055, allocations: 91.56 kB / 1.279 GB, free: 258.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.915/3.97, allocations: 419.4 MB / 1.689 GB, free: 197.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.893e-06/3.97, allocations: 7 kB / 1.689 GB, free: 197.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001202/3.97, allocations: 28.72 kB / 1.689 GB, free: 197.3 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.00304/3.973, allocations: 1.249 MB / 1.69 GB, free: 196.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/3.973, allocations: 10.69 kB / 1.69 GB, free: 196.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006697/3.974, allocations: 136 kB / 1.69 GB, free: 196.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03738/4.012, allocations: 12.3 MB / 1.702 GB, free: 196 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.289e-05/4.012, allocations: 24.78 kB / 1.702 GB, free: 196 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001475/4.012, allocations: 40.47 kB / 1.702 GB, free: 196 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001271/4.013, allocations: 454.2 kB / 1.703 GB, free: 195.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001428/4.015, allocations: 0.623 MB / 1.703 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.884e-05/4.015, allocations: 3.656 kB / 1.703 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.338e-05/4.015, allocations: 3.875 kB / 1.703 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-05/4.015, allocations: 20.41 kB / 1.703 GB, free: 195.8 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.005857/4.021, allocations: 3.372 MB / 1.707 GB, free: 194.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006999/4.021, allocations: 321.2 kB / 1.707 GB, free: 193.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002954/4.022, allocations: 150.3 kB / 1.707 GB, free: 193.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005284/4.022, allocations: 0.6587 MB / 1.708 GB, free: 193.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/4.022, allocations: 34.56 kB / 1.708 GB, free: 193 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=31): time 3.176e-06/4.022, allocations: 6.688 kB / 1.708 GB, free: 193 MB / 0.8698 GB Notification: Performance of matching and sorting (n=31): time 0.00122/4.024, allocations: 348.3 kB / 1.708 GB, free: 192.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/4.024, allocations: 59.23 kB / 1.708 GB, free: 192.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001226/4.025, allocations: 0.6342 MB / 1.709 GB, free: 192.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001222/4.025, allocations: 28.77 kB / 1.709 GB, free: 192.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004245/4.025, allocations: 0.5043 MB / 1.709 GB, free: 192.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001487/4.026, allocations: 108.5 kB / 1.709 GB, free: 192 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.728e-05/4.026, allocations: 0 / 1.709 GB, free: 192 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.719e-05/4.026, allocations: 325.3 kB / 1.71 GB, free: 191.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000289/4.026, allocations: 113.2 kB / 1.71 GB, free: 191.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004067/4.026, allocations: 334.8 kB / 1.71 GB, free: 191.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006197/4.027, allocations: 188.5 kB / 1.71 GB, free: 191.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/4.027, allocations: 4.531 kB / 1.71 GB, free: 191.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001399/4.028, allocations: 486.2 kB / 1.711 GB, free: 191.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.741e-05/4.029, allocations: 9.344 kB / 1.711 GB, free: 191.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/4.029, allocations: 13.77 kB / 1.711 GB, free: 191.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.314e-05/4.029, allocations: 7 kB / 1.711 GB, free: 191.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000754/4.029, allocations: 121.2 kB / 1.711 GB, free: 191.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/4.029, allocations: 10.16 kB / 1.711 GB, free: 191.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/4.031, allocations: 79.12 kB / 1.711 GB, free: 191.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.909e-05/4.031, allocations: 25.91 kB / 1.711 GB, free: 191.1 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 57 * 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.0001634/4.031, allocations: 129.2 kB / 1.711 GB, free: 191 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001853/4.031, allocations: 86.78 kB / 1.711 GB, free: 190.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001286/4.032, allocations: 413.8 kB / 1.712 GB, free: 190.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/4.032, allocations: 3.312 kB / 1.712 GB, free: 190.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/4.032, allocations: 7.609 kB / 1.712 GB, free: 190.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007754/4.033, allocations: 406 kB / 1.712 GB, free: 190.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003011/4.036, allocations: 1.265 MB / 1.713 GB, free: 189.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/4.036, allocations: 0 / 1.713 GB, free: 189.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006379/4.037, allocations: 87.64 kB / 1.713 GB, free: 189.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.917e-06/4.037, allocations: 0 / 1.713 GB, free: 189.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.43e-05/4.037, allocations: 3.875 kB / 1.713 GB, free: 189.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-06/4.037, allocations: 6 kB / 1.713 GB, free: 189.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/4.037, allocations: 1.219 kB / 1.713 GB, free: 189.8 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001569/4.039, allocations: 0.7438 MB / 1.714 GB, free: 189.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005748/4.039, allocations: 229.3 kB / 1.714 GB, free: 189.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001572/4.039, allocations: 0 / 1.714 GB, free: 189.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009425/4.04, allocations: 49.78 kB / 1.714 GB, free: 189.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/4.041, allocations: 32.22 kB / 1.714 GB, free: 189.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.289e-05/4.041, allocations: 15.38 kB / 1.714 GB, free: 189.2 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0009097/4.042, allocations: 498.9 kB / 1.715 GB, free: 188.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.51e-07/4.042, allocations: 3.609 kB / 1.715 GB, free: 188.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001811/4.043, allocations: 364.8 kB / 1.715 GB, free: 188.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.001366/4.045, allocations: 0.5618 MB / 1.716 GB, free: 188.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0008907/4.046, allocations: 322.1 kB / 1.716 GB, free: 188.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/4.046, allocations: 0 / 1.716 GB, free: 188.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003545/4.046, allocations: 160.4 kB / 1.716 GB, free: 188.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004104/4.05, allocations: 489 kB / 1.717 GB, free: 188.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002999/4.053, allocations: 1.16 MB / 1.718 GB, free: 187.9 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005886/4.054, allocations: 1.059 MB / 1.719 GB, free: 187.2 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001234/4.055, allocations: 182 kB / 1.719 GB, free: 187.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002535/4.055, allocations: 75.67 kB / 1.719 GB, free: 187.2 MB / 0.8698 GB Notification: Performance of SimCode: time 1.152e-06/4.055, allocations: 2.625 kB / 1.719 GB, free: 187.2 MB / 0.8698 GB Notification: Performance of Templates: time 0.0436/4.099, allocations: 16.89 MB / 1.736 GB, free: 184.2 MB / 0.8698 GB