Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.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.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.437/2.437, allocations: 253.2 MB / 260.6 MB, free: 7.469 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.001385/0.001385, allocations: 177.8 kB / 319.9 MB, free: 3.094 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.035/2.035, allocations: 205.6 MB / 0.5708 GB, free: 15.27 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.001143/0.001142, allocations: 97.14 kB / 0.6751 GB, free: 4.617 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.134e-05/2.128e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.209, allocations: 106.3 MB / 0.8887 GB, free: 11.85 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.423/7.632, allocations: 2.246 GB / 3.135 GB, free: 119.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002831/7.633, allocations: 89.55 kB / 3.135 GB, free: 119.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.454/11.09, allocations: 0.6298 GB / 3.765 GB, free: 151.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.595e-06/11.09, allocations: 0 / 3.765 GB, free: 151.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001942/11.09, allocations: 30.58 kB / 3.765 GB, free: 151.9 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.00642/11.09, allocations: 1.323 MB / 3.766 GB, free: 150.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.622e-05/11.09, allocations: 10.77 kB / 3.766 GB, free: 150.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004162/11.1, allocations: 251.5 kB / 3.766 GB, free: 150.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006724/11.1, allocations: 1.102 MB / 3.767 GB, free: 149.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.851e-05/11.1, allocations: 28 kB / 3.767 GB, free: 149.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003768/11.11, allocations: 56 kB / 3.767 GB, free: 149.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00227/11.11, allocations: 0.7614 MB / 3.768 GB, free: 148.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002483/11.11, allocations: 0.9823 MB / 3.769 GB, free: 147.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.795e-05/11.11, allocations: 11.88 kB / 3.769 GB, free: 147.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001205/11.11, allocations: 0 / 3.769 GB, free: 147.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.804e-05/11.11, allocations: 34 kB / 3.769 GB, free: 147.2 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.008476/11.12, allocations: 5.497 MB / 3.774 GB, free: 141.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001106/11.12, allocations: 0.5049 MB / 3.775 GB, free: 140.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005453/11.12, allocations: 286.6 kB / 3.775 GB, free: 140.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007445/11.12, allocations: 311.6 kB / 3.776 GB, free: 140.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/11.12, allocations: 39 kB / 3.776 GB, free: 140.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=49): time 3.677e-06/11.12, allocations: 4 kB / 3.776 GB, free: 140.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=49): time 0.00202/11.12, allocations: 0.5693 MB / 3.776 GB, free: 139.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/11.12, allocations: 55.84 kB / 3.776 GB, free: 139.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009426/11.12, allocations: 0.5075 MB / 3.777 GB, free: 139 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001519/11.12, allocations: 29.09 kB / 3.777 GB, free: 139 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003778/11.13, allocations: 0.502 MB / 3.777 GB, free: 138.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002282/11.13, allocations: 177.4 kB / 3.777 GB, free: 138.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.186e-05/11.13, allocations: 4 kB / 3.777 GB, free: 138.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001369/11.13, allocations: 378.8 kB / 3.778 GB, free: 137.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004827/11.13, allocations: 221.5 kB / 3.778 GB, free: 137.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006533/11.13, allocations: 0.5291 MB / 3.778 GB, free: 137 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009424/11.13, allocations: 348.5 kB / 3.779 GB, free: 136.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-05/11.13, allocations: 4 kB / 3.779 GB, free: 136.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001946/11.13, allocations: 0.7648 MB / 3.78 GB, free: 135.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.003e-05/11.13, allocations: 12 kB / 3.78 GB, free: 135.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/11.13, allocations: 8 kB / 3.78 GB, free: 135.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.46e-05/11.13, allocations: 12 kB / 3.78 GB, free: 135.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/11.13, allocations: 155.8 kB / 3.78 GB, free: 135.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.804e-05/11.13, allocations: 19.92 kB / 3.78 GB, free: 135.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001647/11.13, allocations: 107.5 kB / 3.78 GB, free: 135.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001234/11.13, allocations: 35.98 kB / 3.78 GB, free: 135.6 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * 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.000225/11.13, allocations: 132.7 kB / 3.78 GB, free: 135.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001883/11.13, allocations: 75.11 kB / 3.78 GB, free: 135.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001524/11.13, allocations: 0.5815 MB / 3.781 GB, free: 134.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/11.13, allocations: 8 kB / 3.781 GB, free: 134.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/11.13, allocations: 0 / 3.781 GB, free: 134.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001068/11.14, allocations: 0.4938 MB / 3.781 GB, free: 134.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003826/11.14, allocations: 1.528 MB / 3.783 GB, free: 132.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.747e-06/11.14, allocations: 4 kB / 3.783 GB, free: 132.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001011/11.14, allocations: 111.9 kB / 3.783 GB, free: 132.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.411e-05/11.14, allocations: 4 kB / 3.783 GB, free: 132.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.73e-05/11.14, allocations: 8.219 kB / 3.783 GB, free: 132.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.769e-06/11.14, allocations: 11.94 kB / 3.783 GB, free: 132.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/11.14, allocations: 3.984 kB / 3.783 GB, free: 132.5 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002102/11.14, allocations: 1.093 MB / 3.784 GB, free: 131.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007623/11.14, allocations: 212 kB / 3.784 GB, free: 131.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001568/11.14, allocations: 4 kB / 3.784 GB, free: 131.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001047/11.15, allocations: 63.72 kB / 3.784 GB, free: 131.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.257e-05/11.15, allocations: 35.91 kB / 3.784 GB, free: 131 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.665e-05/11.15, allocations: 23.98 kB / 3.784 GB, free: 131 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0006689/11.15, allocations: 395.1 kB / 3.785 GB, free: 130.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6.31e-07/11.15, allocations: 0 / 3.785 GB, free: 130.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001915/11.15, allocations: 410.6 kB / 3.785 GB, free: 130.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 49 * 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 Backend phase and start with SimCode phase: time 0.003538/11.15, allocations: 2.12 MB / 3.787 GB, free: 128.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001446/11.15, allocations: 0.5445 MB / 3.788 GB, free: 127.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/11.15, allocations: 0 / 3.788 GB, free: 127.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000494/11.15, allocations: 252.5 kB / 3.788 GB, free: 127.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003261/11.16, allocations: 364.7 kB / 3.788 GB, free: 127.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003641/11.16, allocations: 1.496 MB / 3.79 GB, free: 125.7 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007221/11.16, allocations: 1.137 MB / 3.791 GB, free: 124.5 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001499/11.16, allocations: 245.8 kB / 3.791 GB, free: 124.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002896/11.16, allocations: 67.42 kB / 3.791 GB, free: 124.2 MB / 0.8698 GB Notification: Performance of SimCode: time 1.733e-06/11.16, allocations: 0 / 3.791 GB, free: 124.2 MB / 0.8698 GB Notification: Performance of Templates: time 0.05789/11.22, allocations: 23.05 MB / 3.813 GB, free: 101.4 MB / 0.8698 GB