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.079/2.079, 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.001535/0.001535, allocations: 185.8 kB / 325.6 MB, free: 2.828 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.222/2.222, 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.001167/0.001166, allocations: 106.1 kB / 0.6811 GB, free: 14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007516/0.0007513, allocations: 11.78 kB / 0.7951 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2307/0.2315, allocations: 106.3 MB / 0.8989 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.168/1.399, allocations: 399.6 MB / 1.289 GB, free: 3.742 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005193/1.4, allocations: 99.58 kB / 1.289 GB, free: 3.688 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.436/3.836, allocations: 423.2 MB / 1.702 GB, free: 48.76 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.966e-06/3.836, allocations: 4 kB / 1.702 GB, free: 48.75 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001671/3.836, allocations: 28 kB / 1.702 GB, free: 48.73 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: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.005549/3.841, allocations: 1.45 MB / 1.704 GB, free: 47.23 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.165e-05/3.841, allocations: 12.03 kB / 1.704 GB, free: 47.21 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008804/3.842, allocations: 138.4 kB / 1.704 GB, free: 47.08 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05152/3.894, allocations: 12.44 MB / 1.716 GB, free: 34.46 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.403e-05/3.894, allocations: 54 kB / 1.716 GB, free: 34.41 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002127/3.894, allocations: 76 kB / 1.716 GB, free: 34.33 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002673/3.897, allocations: 0.7631 MB / 1.717 GB, free: 33.54 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.977e-05/3.897, allocations: 4 kB / 1.717 GB, free: 33.53 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001346/3.897, allocations: 28 kB / 1.717 GB, free: 33.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.067e-05/3.897, allocations: 24 kB / 1.717 GB, free: 33.48 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002396/3.9, allocations: 0.5672 MB / 1.718 GB, free: 32.91 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.007763/3.907, allocations: 3.533 MB / 1.721 GB, free: 29.15 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001315/3.909, allocations: 369.2 kB / 1.721 GB, free: 28.76 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006752/3.91, allocations: 0.6649 MB / 1.722 GB, free: 27.95 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.839e-05/3.91, allocations: 38.52 kB / 1.722 GB, free: 27.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=31): time 4.528e-06/3.91, allocations: 0 / 1.722 GB, free: 27.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=31): time 0.002581/3.912, allocations: 0.5598 MB / 1.723 GB, free: 27.34 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/3.912, allocations: 59.41 kB / 1.723 GB, free: 27.27 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002172/3.914, allocations: 0.8186 MB / 1.724 GB, free: 26.43 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001344/3.915, allocations: 33.7 kB / 1.724 GB, free: 26.39 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006243/3.915, allocations: 0.4957 MB / 1.724 GB, free: 25.89 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000181/3.915, allocations: 110.5 kB / 1.724 GB, free: 25.78 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.836e-05/3.916, allocations: 8 kB / 1.724 GB, free: 25.77 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.903e-05/3.916, allocations: 322 kB / 1.724 GB, free: 25.45 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007567/3.916, allocations: 165 kB / 1.725 GB, free: 25.29 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009668/3.917, allocations: 384.9 kB / 1.725 GB, free: 24.81 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008559/3.918, allocations: 216.8 kB / 1.725 GB, free: 24.6 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.916e-06/3.918, allocations: 4 kB / 1.725 GB, free: 24.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.002331/3.921, allocations: 0.5977 MB / 1.726 GB, free: 23.99 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.255e-05/3.921, allocations: 4 kB / 1.726 GB, free: 23.99 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/3.921, allocations: 12.33 kB / 1.726 GB, free: 23.98 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.474e-05/3.921, allocations: 12 kB / 1.726 GB, free: 23.96 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009602/3.922, allocations: 119.8 kB / 1.726 GB, free: 23.85 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.525e-05/3.922, allocations: 15.92 kB / 1.726 GB, free: 23.83 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00186/3.924, allocations: 115.1 kB / 1.726 GB, free: 23.72 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.632e-05/3.924, allocations: 31.92 kB / 1.726 GB, free: 23.69 MB / 0.8855 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 () * Number of clocked 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.0008275/3.925, allocations: 269.6 kB / 1.726 GB, free: 23.41 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003049/3.925, allocations: 102.9 kB / 1.726 GB, free: 23.31 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002029/3.927, allocations: 0.5043 MB / 1.727 GB, free: 22.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.697e-05/3.927, allocations: 7.953 kB / 1.727 GB, free: 22.79 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/3.927, allocations: 0 / 1.727 GB, free: 22.79 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001475/3.929, allocations: 489.4 kB / 1.727 GB, free: 22.28 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004431/3.933, allocations: 1.447 MB / 1.729 GB, free: 20.75 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/3.933, allocations: 4 kB / 1.729 GB, free: 20.74 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007767/3.934, allocations: 79.89 kB / 1.729 GB, free: 20.66 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.145e-05/3.934, allocations: 4 kB / 1.729 GB, free: 20.66 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.061e-05/3.934, allocations: 15.92 kB / 1.729 GB, free: 20.64 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.037e-05/3.934, allocations: 8.094 kB / 1.729 GB, free: 20.64 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/3.934, allocations: 4 kB / 1.729 GB, free: 20.63 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00264/3.937, allocations: 0.8842 MB / 1.73 GB, free: 19.7 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007/3.937, allocations: 243.6 kB / 1.73 GB, free: 19.44 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002638/3.938, allocations: 16.05 kB / 1.73 GB, free: 19.43 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001351/3.939, allocations: 55.89 kB / 1.73 GB, free: 19.37 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/3.939, allocations: 27.91 kB / 1.73 GB, free: 19.34 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.928e-05/3.939, allocations: 19.98 kB / 1.73 GB, free: 19.32 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.00168/3.941, allocations: 0.6508 MB / 1.731 GB, free: 18.66 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.21e-07/3.941, allocations: 0 / 1.731 GB, free: 18.66 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002055/3.943, allocations: 363.4 kB / 1.731 GB, free: 18.31 MB / 0.8855 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 () * Number of clocked 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.001526/3.945, allocations: 0.5602 MB / 1.732 GB, free: 17.76 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001731/3.946, allocations: 416.2 kB / 1.732 GB, free: 17.35 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/3.946, allocations: 4.812 kB / 1.732 GB, free: 17.35 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007942/3.947, allocations: 204.1 kB / 1.732 GB, free: 17.15 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006384/3.954, allocations: 0.6241 MB / 1.733 GB, free: 16.54 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004872/3.958, allocations: 1.957 MB / 1.735 GB, free: 14.53 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008771/3.959, allocations: 1.063 MB / 1.736 GB, free: 13.44 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001734/3.961, allocations: 196.5 kB / 1.736 GB, free: 13.24 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003298/3.961, allocations: 83.41 kB / 1.736 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of SimCode: time 1.192e-06/3.961, allocations: 0 / 1.736 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of Templates: time 0.7131/4.675, allocations: 22.27 MB / 1.758 GB, free: 187.1 MB / 0.8855 GB