Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.098/5.098, allocations: 0.5623 GB / 0.5775 GB, free: 3.328 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002526/0.002526, allocations: 356.2 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.367/4.367, allocations: 410.7 MB / 1.113 GB, free: 5.938 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.004592/0.004592, allocations: 199.2 kB / 1.226 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.000703/0.0007033, allocations: 12 kB / 1.349 GB, free: 8.273 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8321/0.8328, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.936/7.769, allocations: 2.128 GB / 3.589 GB, free: 260.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004429/7.769, allocations: 107 kB / 3.589 GB, free: 260.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.699/11.47, allocations: 0.6547 GB / 4.244 GB, free: 196.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.647e-06/11.47, allocations: 3.75 kB / 4.244 GB, free: 196.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001323/11.47, allocations: 33 kB / 4.244 GB, free: 196.6 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.005577/11.47, allocations: 1.464 MB / 4.245 GB, free: 196.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/11.47, allocations: 11.53 kB / 4.245 GB, free: 196.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002452/11.48, allocations: 245.1 kB / 4.246 GB, free: 196.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003213/11.48, allocations: 0.8873 MB / 4.246 GB, free: 195.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.419e-05/11.48, allocations: 72.28 kB / 4.247 GB, free: 195.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002952/11.48, allocations: 102.9 kB / 4.247 GB, free: 195.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002874/11.48, allocations: 1.124 MB / 4.248 GB, free: 195.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.255e-05/11.48, allocations: 1.875 kB / 4.248 GB, free: 195.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001418/11.48, allocations: 42.22 kB / 4.248 GB, free: 195.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.473e-05/11.48, allocations: 30.25 kB / 4.248 GB, free: 195.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002333/11.49, allocations: 0.847 MB / 4.249 GB, free: 195.6 MB / 0.948 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.008964/11.49, allocations: 5.693 MB / 4.254 GB, free: 191.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001312/11.5, allocations: 0.5333 MB / 4.255 GB, free: 191.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006553/11.5, allocations: 306 kB / 4.255 GB, free: 191.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007434/11.5, allocations: 313.2 kB / 4.255 GB, free: 191.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.108e-05/11.5, allocations: 41.22 kB / 4.255 GB, free: 191.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=49): time 3.928e-06/11.5, allocations: 0 / 4.255 GB, free: 191.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=49): time 0.002485/11.5, allocations: 0.7764 MB / 4.256 GB, free: 191.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/11.5, allocations: 58.97 kB / 4.256 GB, free: 191.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00144/11.5, allocations: 0.7338 MB / 4.257 GB, free: 191.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001949/11.5, allocations: 42.23 kB / 4.257 GB, free: 191.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004329/11.5, allocations: 0.5034 MB / 4.257 GB, free: 191.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002553/11.5, allocations: 177.9 kB / 4.258 GB, free: 191 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.98e-05/11.5, allocations: 17.03 kB / 4.258 GB, free: 191 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.927e-05/11.5, allocations: 336.9 kB / 4.258 GB, free: 190.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005925/11.5, allocations: 243.6 kB / 4.258 GB, free: 190.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008638/11.5, allocations: 0.5811 MB / 4.259 GB, free: 190.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007985/11.5, allocations: 351 kB / 4.259 GB, free: 190.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/11.5, allocations: 2.656 kB / 4.259 GB, free: 190.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002077/11.51, allocations: 0.834 MB / 4.26 GB, free: 190.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.355e-05/11.51, allocations: 14.78 kB / 4.26 GB, free: 190.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.74e-05/11.51, allocations: 14.75 kB / 4.26 GB, free: 190.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.417e-05/11.51, allocations: 9.875 kB / 4.26 GB, free: 190.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/11.51, allocations: 154.8 kB / 4.26 GB, free: 190.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.997e-05/11.51, allocations: 20.12 kB / 4.26 GB, free: 190.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001794/11.51, allocations: 135.2 kB / 4.26 GB, free: 190.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001614/11.51, allocations: 37.19 kB / 4.26 GB, free: 190.2 MB / 0.948 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 () * Number of clocked 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.0008408/11.51, allocations: 345.5 kB / 4.261 GB, free: 190 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002991/11.51, allocations: 83.5 kB / 4.261 GB, free: 190 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001701/11.51, allocations: 0.6061 MB / 4.261 GB, free: 189.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.487e-06/11.51, allocations: 3.75 kB / 4.261 GB, free: 189.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.495e-06/11.51, allocations: 0 / 4.261 GB, free: 189.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001112/11.51, allocations: 0.5015 MB / 4.262 GB, free: 189.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004149/11.52, allocations: 1.659 MB / 4.263 GB, free: 189.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/11.52, allocations: 0 / 4.263 GB, free: 189.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001016/11.52, allocations: 110.1 kB / 4.263 GB, free: 189.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-05/11.52, allocations: 3.906 kB / 4.263 GB, free: 189.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.259e-05/11.52, allocations: 19.8 kB / 4.263 GB, free: 189.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.215e-05/11.52, allocations: 13.78 kB / 4.263 GB, free: 189.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/11.52, allocations: 6.766 kB / 4.263 GB, free: 189.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002132/11.52, allocations: 1.028 MB / 4.264 GB, free: 189.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006634/11.52, allocations: 222.7 kB / 4.265 GB, free: 189.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001791/11.52, allocations: 11.22 kB / 4.265 GB, free: 189.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001083/11.52, allocations: 72.88 kB / 4.265 GB, free: 189.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.929e-05/11.52, allocations: 30.56 kB / 4.265 GB, free: 189.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.624e-05/11.52, allocations: 22.05 kB / 4.265 GB, free: 189.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001029/11.53, allocations: 0.5035 MB / 4.265 GB, free: 189 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.71e-07/11.53, allocations: 3.656 kB / 4.265 GB, free: 189 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002301/11.53, allocations: 486 kB / 4.266 GB, free: 189 MB / 0.948 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 () * Number of clocked 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.003986/11.53, allocations: 1.884 MB / 4.268 GB, free: 188.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001782/11.53, allocations: 0.5995 MB / 4.268 GB, free: 188.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/11.53, allocations: 4.531 kB / 4.268 GB, free: 188.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005995/11.53, allocations: 266.4 kB / 4.268 GB, free: 188.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004058/11.54, allocations: 436.5 kB / 4.269 GB, free: 188.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005056/11.54, allocations: 2.347 MB / 4.271 GB, free: 187.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000812/11.54, allocations: 1.136 MB / 4.272 GB, free: 186.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001646/11.55, allocations: 273.6 kB / 4.273 GB, free: 186.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003535/11.55, allocations: 72.67 kB / 4.273 GB, free: 186.7 MB / 0.948 GB Notification: Performance of SimCode: time 1.373e-06/11.55, allocations: 0 / 4.273 GB, free: 186.7 MB / 0.948 GB Notification: Performance of Templates: time 0.08659/11.63, allocations: 36.65 MB / 4.308 GB, free: 186 MB / 0.948 GB