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.267/2.267, allocations: 252.6 MB / 265.2 MB, free: 5.68 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.00145/0.00145, allocations: 183.9 kB / 324.5 MB, free: 14.43 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.192/2.192, allocations: 205.4 MB / 0.5754 GB, free: 10.51 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.00111/0.00111, allocations: 98.39 kB / 0.6797 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.622e-05/3.638e-05, allocations: 4 kB / 0.7911 GB, free: 96.64 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.2117, allocations: 106.2 MB / 0.8949 GB, free: 6.293 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.259/7.47, allocations: 2.246 GB / 3.141 GB, free: 84.05 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002844/7.471, allocations: 90.95 kB / 3.141 GB, free: 84.01 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.424/10.9, allocations: 0.6373 GB / 3.778 GB, free: 103.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.464e-06/10.9, allocations: 0 / 3.778 GB, free: 103.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.926e-05/10.9, allocations: 31.98 kB / 3.778 GB, free: 103.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.003639/10.9, allocations: 1.324 MB / 3.779 GB, free: 102.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/10.9, allocations: 8.031 kB / 3.779 GB, free: 102.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001956/10.9, allocations: 255.5 kB / 3.78 GB, free: 102.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003667/10.9, allocations: 1.1 MB / 3.781 GB, free: 101.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.364e-05/10.9, allocations: 78 kB / 3.781 GB, free: 101 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001879/10.9, allocations: 92 kB / 3.781 GB, free: 100.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002397/10.91, allocations: 1.104 MB / 3.782 GB, free: 99.76 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.823e-05/10.91, allocations: 11.88 kB / 3.782 GB, free: 99.75 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000123/10.91, allocations: 36 kB / 3.782 GB, free: 99.71 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.931e-05/10.91, allocations: 41.98 kB / 3.782 GB, free: 99.67 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001934/10.91, allocations: 0.8315 MB / 3.783 GB, free: 98.84 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.007558/10.92, allocations: 5.69 MB / 3.788 GB, free: 92.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001137/10.92, allocations: 0.5296 MB / 3.789 GB, free: 92.16 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005999/10.92, allocations: 298.6 kB / 3.789 GB, free: 91.87 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007421/10.92, allocations: 315.7 kB / 3.79 GB, free: 91.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.934e-05/10.92, allocations: 42.94 kB / 3.79 GB, free: 91.45 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=49): time 3.667e-06/10.92, allocations: 0 / 3.79 GB, free: 91.45 MB / 0.8698 GB Notification: Performance of matching and sorting (n=49): time 0.001827/10.92, allocations: 0.5654 MB / 3.79 GB, free: 90.88 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.389e-05/10.92, allocations: 55.84 kB / 3.79 GB, free: 90.81 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001146/10.92, allocations: 0.6408 MB / 3.791 GB, free: 90.16 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 9.109e-05/10.92, allocations: 37.7 kB / 3.791 GB, free: 90.12 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003626/10.92, allocations: 0.4987 MB / 3.791 GB, free: 89.61 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001942/10.92, allocations: 181.5 kB / 3.792 GB, free: 89.43 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.681e-05/10.92, allocations: 8 kB / 3.792 GB, free: 89.43 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001491/10.92, allocations: 398.7 kB / 3.792 GB, free: 89.03 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005357/10.92, allocations: 229.5 kB / 3.792 GB, free: 88.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007956/10.92, allocations: 0.5529 MB / 3.793 GB, free: 88.11 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007413/10.93, allocations: 340.4 kB / 3.793 GB, free: 87.78 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.957e-06/10.93, allocations: 4 kB / 3.793 GB, free: 87.77 MB / 0.8698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001905/10.93, allocations: 0.8116 MB / 3.794 GB, free: 86.96 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.75e-05/10.93, allocations: 12.19 kB / 3.794 GB, free: 86.95 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/10.93, allocations: 8 kB / 3.794 GB, free: 86.94 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.58e-05/10.93, allocations: 12 kB / 3.794 GB, free: 86.93 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00108/10.93, allocations: 155.7 kB / 3.794 GB, free: 86.77 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.798e-05/10.93, allocations: 15.94 kB / 3.794 GB, free: 86.76 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001723/10.93, allocations: 139 kB / 3.794 GB, free: 86.62 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/10.93, allocations: 36 kB / 3.794 GB, free: 86.59 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.0002398/10.93, allocations: 164.2 kB / 3.794 GB, free: 86.42 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000201/10.93, allocations: 82.97 kB / 3.794 GB, free: 86.34 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001487/10.93, allocations: 0.5903 MB / 3.795 GB, free: 85.74 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.275e-06/10.93, allocations: 4 kB / 3.795 GB, free: 85.73 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/10.93, allocations: 4 kB / 3.795 GB, free: 85.73 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001066/10.93, allocations: 0.5016 MB / 3.795 GB, free: 85.21 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003849/10.94, allocations: 1.639 MB / 3.797 GB, free: 83.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/10.94, allocations: 4.219 kB / 3.797 GB, free: 83.49 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001011/10.94, allocations: 115.8 kB / 3.797 GB, free: 83.38 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.324e-05/10.94, allocations: 4 kB / 3.797 GB, free: 83.38 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.513e-05/10.94, allocations: 23.92 kB / 3.797 GB, free: 83.35 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.734e-06/10.94, allocations: 4 kB / 3.797 GB, free: 83.35 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/10.94, allocations: 0 / 3.797 GB, free: 83.35 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002032/10.94, allocations: 1.097 MB / 3.798 GB, free: 82.17 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006313/10.94, allocations: 224 kB / 3.798 GB, free: 81.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000164/10.94, allocations: 15.98 kB / 3.799 GB, free: 81.91 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00106/10.94, allocations: 71.73 kB / 3.799 GB, free: 81.84 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.738e-05/10.94, allocations: 31.97 kB / 3.799 GB, free: 81.81 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-05/10.94, allocations: 23.98 kB / 3.799 GB, free: 81.79 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0008768/10.94, allocations: 0.4913 MB / 3.799 GB, free: 81.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.463e-06/10.94, allocations: 0 / 3.799 GB, free: 81.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002053/10.95, allocations: 483.3 kB / 3.8 GB, free: 80.83 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.003234/10.95, allocations: 1.901 MB / 3.801 GB, free: 78.86 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001513/10.95, allocations: 0.5804 MB / 3.802 GB, free: 78.27 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/10.95, allocations: 0 / 3.802 GB, free: 78.27 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005179/10.95, allocations: 267.7 kB / 3.802 GB, free: 78.01 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003563/10.96, allocations: 432.8 kB / 3.803 GB, free: 77.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003412/10.96, allocations: 1.534 MB / 3.804 GB, free: 76.02 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006835/10.96, allocations: 1.134 MB / 3.805 GB, free: 74.86 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001462/10.96, allocations: 267.1 kB / 3.806 GB, free: 74.59 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003233/10.96, allocations: 71.42 kB / 3.806 GB, free: 74.52 MB / 0.8698 GB Notification: Performance of SimCode: time 1.392e-06/10.96, allocations: 0 / 3.806 GB, free: 74.52 MB / 0.8698 GB Notification: Performance of Templates: time 0.08841/11.05, allocations: 41.35 MB / 3.846 GB, free: 33.32 MB / 0.8698 GB