Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances") translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.525/2.525, allocations: 287.5 MB / 303.2 MB, free: 8.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001344/0.001344, allocations: 174.4 kB / 371.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.232/2.232, allocations: 205.4 MB / 0.6305 GB, free: 10.56 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009242/0.0009234, allocations: 91.36 kB / 0.7438 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004819/0.0004821, allocations: 16.5 kB / 0.8667 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.225/0.2255, allocations: 115.3 MB / 0.9793 GB, free: 28.24 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.764/6.989, allocations: 2.128 GB / 3.107 GB, free: 186.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003299/6.99, allocations: 95.95 kB / 3.107 GB, free: 186.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.625/10.61, allocations: 0.6551 GB / 3.762 GB, free: 202.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.575e-06/10.62, allocations: 0 / 3.762 GB, free: 202.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.773e-05/10.62, allocations: 25.03 kB / 3.762 GB, free: 202.3 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.004544/10.62, allocations: 1.456 MB / 3.764 GB, free: 201.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/10.62, allocations: 10.22 kB / 3.764 GB, free: 201.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002127/10.62, allocations: 242.8 kB / 3.764 GB, free: 201.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002907/10.62, allocations: 0.9253 MB / 3.765 GB, free: 201.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.912e-05/10.62, allocations: 71.25 kB / 3.765 GB, free: 201.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002064/10.63, allocations: 99.44 kB / 3.765 GB, free: 201.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002441/10.63, allocations: 1.128 MB / 3.766 GB, free: 201 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.182e-05/10.63, allocations: 7.094 kB / 3.766 GB, free: 201 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001447/10.63, allocations: 37.94 kB / 3.766 GB, free: 201 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.271e-05/10.63, allocations: 36.09 kB / 3.766 GB, free: 201 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002085/10.63, allocations: 0.8416 MB / 3.767 GB, free: 201 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.007582/10.64, allocations: 5.689 MB / 3.773 GB, free: 197.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001175/10.64, allocations: 0.5411 MB / 3.773 GB, free: 197.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006048/10.64, allocations: 310.7 kB / 3.773 GB, free: 197.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007131/10.64, allocations: 307.5 kB / 3.774 GB, free: 197 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/10.64, allocations: 38.56 kB / 3.774 GB, free: 196.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=49): time 2.966e-06/10.64, allocations: 6.5 kB / 3.774 GB, free: 196.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=49): time 0.002238/10.64, allocations: 0.7793 MB / 3.775 GB, free: 196.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/10.64, allocations: 62.94 kB / 3.775 GB, free: 196.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001271/10.64, allocations: 0.735 MB / 3.775 GB, free: 196.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000109/10.64, allocations: 39.98 kB / 3.775 GB, free: 196.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003855/10.64, allocations: 0.5046 MB / 3.776 GB, free: 196.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001964/10.64, allocations: 177.4 kB / 3.776 GB, free: 196.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.873e-05/10.64, allocations: 14.81 kB / 3.776 GB, free: 196.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.334e-05/10.64, allocations: 330.7 kB / 3.776 GB, free: 195.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005557/10.65, allocations: 245.2 kB / 3.777 GB, free: 195.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007859/10.65, allocations: 0.5825 MB / 3.777 GB, free: 195.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001353/10.65, allocations: 0.7885 MB / 3.778 GB, free: 195.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/10.65, allocations: 0 / 3.778 GB, free: 195.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00194/10.65, allocations: 0.8309 MB / 3.779 GB, free: 195.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.767e-05/10.65, allocations: 18.83 kB / 3.779 GB, free: 195.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/10.65, allocations: 11.31 kB / 3.779 GB, free: 195.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.309e-05/10.65, allocations: 11.12 kB / 3.779 GB, free: 195.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/10.65, allocations: 156.4 kB / 3.779 GB, free: 195.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.256e-05/10.65, allocations: 18.12 kB / 3.779 GB, free: 195.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001607/10.65, allocations: 132.5 kB / 3.779 GB, free: 195.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.504e-05/10.65, allocations: 38.47 kB / 3.779 GB, free: 195.1 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.0007228/10.65, allocations: 340.4 kB / 3.779 GB, free: 195 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002064/10.65, allocations: 87.34 kB / 3.779 GB, free: 194.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001455/10.65, allocations: 0.6106 MB / 3.78 GB, free: 194.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/10.65, allocations: 3.906 kB / 3.78 GB, free: 194.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/10.65, allocations: 0 / 3.78 GB, free: 194.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001045/10.66, allocations: 0.504 MB / 3.781 GB, free: 194.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003841/10.66, allocations: 1.649 MB / 3.782 GB, free: 194.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/10.66, allocations: 7.125 kB / 3.782 GB, free: 194.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009867/10.66, allocations: 118.2 kB / 3.782 GB, free: 194.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.023e-05/10.66, allocations: 3.812 kB / 3.782 GB, free: 194.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.234e-05/10.66, allocations: 12.31 kB / 3.782 GB, free: 194.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.895e-06/10.66, allocations: 3.812 kB / 3.782 GB, free: 194.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/10.66, allocations: 3.844 kB / 3.782 GB, free: 194.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00197/10.66, allocations: 1.032 MB / 3.783 GB, free: 194.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005752/10.66, allocations: 222.7 kB / 3.784 GB, free: 194 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001707/10.66, allocations: 16.19 kB / 3.784 GB, free: 194 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001025/10.66, allocations: 68.36 kB / 3.784 GB, free: 194 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.961e-05/10.66, allocations: 38.34 kB / 3.784 GB, free: 194 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.416e-05/10.66, allocations: 21.78 kB / 3.784 GB, free: 194 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0009049/10.67, allocations: 0.5008 MB / 3.784 GB, free: 193.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.11e-07/10.67, allocations: 0 / 3.784 GB, free: 193.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003406/10.67, allocations: 483.1 kB / 3.785 GB, free: 193.9 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.005486/10.67, allocations: 1.9 MB / 3.786 GB, free: 193.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002204/10.68, allocations: 0.6002 MB / 3.787 GB, free: 193.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/10.68, allocations: 0 / 3.787 GB, free: 193.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008144/10.68, allocations: 265.1 kB / 3.787 GB, free: 193.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004484/10.68, allocations: 429.6 kB / 3.788 GB, free: 193.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004258/10.69, allocations: 2.339 MB / 3.79 GB, free: 192.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007032/10.69, allocations: 1.118 MB / 3.791 GB, free: 191.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001567/10.69, allocations: 269.4 kB / 3.791 GB, free: 191.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002895/10.69, allocations: 75.16 kB / 3.791 GB, free: 191.6 MB / 0.948 GB Notification: Performance of SimCode: time 1.283e-06/10.69, allocations: 0 / 3.791 GB, free: 191.6 MB / 0.948 GB Notification: Performance of Templates: time 0.08102/10.77, allocations: 36.68 MB / 3.827 GB, free: 183.1 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)