Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances") translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.785/1.785, allocations: 288.3 MB / 303.2 MB, free: 8.262 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.001244/0.001244, allocations: 181 kB / 371.8 MB, free: 10.31 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.861/1.861, allocations: 205.4 MB / 0.6306 GB, free: 10.02 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.001143/0.001143, allocations: 93.03 kB / 0.7439 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005307/0.0005307, allocations: 12.81 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2738, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.356/6.63, allocations: 2.128 GB / 3.107 GB, free: 139.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003724/6.631, allocations: 102.1 kB / 3.107 GB, free: 139 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.045/9.676, allocations: 0.6566 GB / 3.764 GB, free: 200.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.754e-06/9.676, allocations: 0 / 3.764 GB, free: 200.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.325e-05/9.676, allocations: 29.47 kB / 3.764 GB, free: 200.4 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.003678/9.68, allocations: 1.473 MB / 3.765 GB, free: 199.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/9.68, allocations: 11.12 kB / 3.765 GB, free: 199.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001435/9.682, allocations: 247.3 kB / 3.766 GB, free: 199.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002863/9.684, allocations: 1.101 MB / 3.767 GB, free: 198.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.703e-05/9.685, allocations: 73.59 kB / 3.767 GB, free: 198.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001411/9.685, allocations: 97.59 kB / 3.767 GB, free: 198.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001724/9.686, allocations: 1.121 MB / 3.768 GB, free: 197.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.086e-05/9.686, allocations: 15.83 kB / 3.768 GB, free: 197.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-05/9.687, allocations: 35.56 kB / 3.768 GB, free: 197.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.216e-05/9.687, allocations: 33.78 kB / 3.768 GB, free: 197.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001248/9.688, allocations: 0.845 MB / 3.769 GB, free: 197.4 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.00552/9.693, allocations: 5.684 MB / 3.775 GB, free: 192.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007609/9.694, allocations: 0.532 MB / 3.775 GB, free: 192 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005709/9.695, allocations: 312.8 kB / 3.775 GB, free: 191.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/9.695, allocations: 38.98 kB / 3.775 GB, free: 191.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=49): time 3.015e-06/9.695, allocations: 0 / 3.775 GB, free: 191.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=49): time 0.001467/9.696, allocations: 0.7829 MB / 3.776 GB, free: 191.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/9.696, allocations: 62.97 kB / 3.776 GB, free: 191.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000749/9.697, allocations: 0.6486 MB / 3.777 GB, free: 190.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.658e-05/9.697, allocations: 41.39 kB / 3.777 GB, free: 190.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003716/9.698, allocations: 0.4992 MB / 3.777 GB, free: 190.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001809/9.698, allocations: 171.5 kB / 3.778 GB, free: 190.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.313e-05/9.698, allocations: 15.94 kB / 3.778 GB, free: 190.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.986e-05/9.698, allocations: 336.1 kB / 3.778 GB, free: 189.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003391/9.698, allocations: 243.3 kB / 3.778 GB, free: 189.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005563/9.699, allocations: 0.58 MB / 3.779 GB, free: 189.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004975/9.699, allocations: 353.3 kB / 3.779 GB, free: 189 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/9.699, allocations: 3.75 kB / 3.779 GB, free: 189 MB / 0.948 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001154/9.7, allocations: 0.8276 MB / 3.78 GB, free: 188.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.073e-05/9.7, allocations: 14.73 kB / 3.78 GB, free: 188.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.787e-05/9.701, allocations: 7.844 kB / 3.78 GB, free: 188.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.316e-05/9.701, allocations: 11.34 kB / 3.78 GB, free: 188.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005812/9.701, allocations: 155.2 kB / 3.78 GB, free: 188.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.119e-05/9.701, allocations: 22.33 kB / 3.78 GB, free: 188.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001048/9.702, allocations: 141.6 kB / 3.78 GB, free: 188.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.032e-05/9.702, allocations: 41.72 kB / 3.78 GB, free: 188.4 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.0004806/9.703, allocations: 332.7 kB / 3.78 GB, free: 188.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/9.703, allocations: 82.53 kB / 3.781 GB, free: 188.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009096/9.704, allocations: 0.6033 MB / 3.781 GB, free: 187.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/9.704, allocations: 3.75 kB / 3.781 GB, free: 187.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/9.704, allocations: 0 / 3.781 GB, free: 187.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005956/9.704, allocations: 0.5152 MB / 3.782 GB, free: 187.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002288/9.707, allocations: 1.653 MB / 3.783 GB, free: 186.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/9.707, allocations: 0 / 3.783 GB, free: 186.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005159/9.707, allocations: 116.4 kB / 3.783 GB, free: 186.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.513e-06/9.707, allocations: 3.844 kB / 3.783 GB, free: 186.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.875e-05/9.707, allocations: 19.52 kB / 3.783 GB, free: 186.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/9.707, allocations: 3.938 kB / 3.783 GB, free: 186.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/9.707, allocations: 7.25 kB / 3.783 GB, free: 186.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001171/9.709, allocations: 1.118 MB / 3.785 GB, free: 185.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000354/9.709, allocations: 223.1 kB / 3.785 GB, free: 185.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.762e-05/9.709, allocations: 15.44 kB / 3.785 GB, free: 185.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005913/9.71, allocations: 61.34 kB / 3.785 GB, free: 185.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.801e-05/9.71, allocations: 31.27 kB / 3.785 GB, free: 185.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-05/9.71, allocations: 25.75 kB / 3.785 GB, free: 185.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005594/9.71, allocations: 0.5027 MB / 3.785 GB, free: 185.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/9.71, allocations: 0 / 3.785 GB, free: 185.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001751/9.712, allocations: 481.4 kB / 3.786 GB, free: 184.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.002833/9.715, allocations: 1.907 MB / 3.788 GB, free: 184.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0009454/9.716, allocations: 0.5999 MB / 3.788 GB, free: 183.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/9.716, allocations: 0 / 3.788 GB, free: 183.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002992/9.716, allocations: 263.8 kB / 3.789 GB, free: 183.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001935/9.718, allocations: 438 kB / 3.789 GB, free: 183.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003162/9.721, allocations: 2.336 MB / 3.791 GB, free: 181.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006787/9.722, allocations: 1.144 MB / 3.792 GB, free: 181 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0009546/9.723, allocations: 270.1 kB / 3.793 GB, free: 180.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001798/9.723, allocations: 67.44 kB / 3.793 GB, free: 180.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.412e-06/9.723, allocations: 0 / 3.793 GB, free: 180.8 MB / 0.948 GB Notification: Performance of Templates: time 0.05066/9.774, allocations: 36.63 MB / 3.828 GB, free: 144.8 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)