Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances") translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.74/1.74, allocations: 292.6 MB / 307.5 MB, free: 5.211 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.001122/0.001122, allocations: 182.8 kB / 377.1 MB, free: 1.527 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.815/1.815, allocations: 205.4 MB / 0.6367 GB, free: 8.531 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009191/0.0009191, allocations: 92.5 kB / 0.751 GB, free: 63.15 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003608/0.0003608, allocations: 12 kB / 0.8748 GB, free: 11.19 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3225, allocations: 116.3 MB / 0.9884 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.759/7.082, allocations: 2.129 GB / 3.117 GB, free: 52.49 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004274/7.082, allocations: 96.7 kB / 3.117 GB, free: 52.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.093/10.18, allocations: 0.6566 GB / 3.774 GB, free: 120 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.084e-06/10.18, allocations: 0 / 3.774 GB, free: 120 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.417e-05/10.18, allocations: 36.22 kB / 3.774 GB, free: 119.9 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.003282/10.18, allocations: 1.473 MB / 3.775 GB, free: 118.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/10.18, allocations: 17.34 kB / 3.775 GB, free: 118.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001358/10.18, allocations: 242.4 kB / 3.776 GB, free: 118.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002337/10.18, allocations: 1.101 MB / 3.777 GB, free: 117 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.789e-05/10.18, allocations: 76.41 kB / 3.777 GB, free: 116.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001435/10.18, allocations: 99.91 kB / 3.777 GB, free: 116.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001549/10.18, allocations: 1.119 MB / 3.778 GB, free: 115.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.715e-05/10.18, allocations: 7.875 kB / 3.778 GB, free: 115.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.638e-05/10.18, allocations: 40 kB / 3.778 GB, free: 115.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.14e-05/10.18, allocations: 37.98 kB / 3.778 GB, free: 115.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001117/10.19, allocations: 0.8391 MB / 3.779 GB, free: 114.7 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.004811/10.19, allocations: 5.694 MB / 3.784 GB, free: 108.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006712/10.19, allocations: 0.5326 MB / 3.785 GB, free: 108 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004805/10.19, allocations: 311.8 kB / 3.785 GB, free: 107.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/10.19, allocations: 35 kB / 3.785 GB, free: 107.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=49): time 3.216e-06/10.19, allocations: 0 / 3.785 GB, free: 107.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=49): time 0.001317/10.19, allocations: 0.7869 MB / 3.786 GB, free: 106.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.145e-05/10.19, allocations: 59.84 kB / 3.786 GB, free: 106.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006746/10.19, allocations: 0.6486 MB / 3.787 GB, free: 106.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.055e-05/10.19, allocations: 45.64 kB / 3.787 GB, free: 106.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002457/10.19, allocations: 0.4948 MB / 3.787 GB, free: 105.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/10.19, allocations: 177.5 kB / 3.787 GB, free: 105.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.819e-05/10.19, allocations: 16 kB / 3.787 GB, free: 105.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.504e-05/10.19, allocations: 334 kB / 3.788 GB, free: 105 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002928/10.19, allocations: 241.9 kB / 3.788 GB, free: 104.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004666/10.2, allocations: 0.577 MB / 3.789 GB, free: 104.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004123/10.2, allocations: 346.5 kB / 3.789 GB, free: 103.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/10.2, allocations: 4 kB / 3.789 GB, free: 103.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001016/10.2, allocations: 0.8349 MB / 3.79 GB, free: 102.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/10.2, allocations: 8 kB / 3.79 GB, free: 102.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/10.2, allocations: 12.12 kB / 3.79 GB, free: 102.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.308e-05/10.2, allocations: 16 kB / 3.79 GB, free: 102.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005233/10.2, allocations: 155.7 kB / 3.79 GB, free: 102.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.553e-05/10.2, allocations: 15.94 kB / 3.79 GB, free: 102.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009543/10.2, allocations: 131.1 kB / 3.79 GB, free: 102.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.686e-05/10.2, allocations: 39.98 kB / 3.79 GB, free: 102.5 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.0005061/10.2, allocations: 329.5 kB / 3.79 GB, free: 102.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/10.2, allocations: 94.91 kB / 3.79 GB, free: 102.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008397/10.2, allocations: 0.5983 MB / 3.791 GB, free: 101.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/10.2, allocations: 4 kB / 3.791 GB, free: 101.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/10.2, allocations: 0 / 3.791 GB, free: 101.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005613/10.2, allocations: 0.5132 MB / 3.792 GB, free: 101 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002292/10.2, allocations: 1.651 MB / 3.793 GB, free: 99.23 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/10.2, allocations: 3.938 kB / 3.793 GB, free: 99.22 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005454/10.2, allocations: 116 kB / 3.793 GB, free: 99.11 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.634e-06/10.2, allocations: 4 kB / 3.793 GB, free: 99.11 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.552e-05/10.2, allocations: 16 kB / 3.793 GB, free: 99.09 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.574e-06/10.2, allocations: 4 kB / 3.793 GB, free: 99.09 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/10.2, allocations: 7.984 kB / 3.793 GB, free: 99.08 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001103/10.2, allocations: 1.128 MB / 3.794 GB, free: 97.88 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004279/10.2, allocations: 231.9 kB / 3.795 GB, free: 97.63 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.32e-05/10.2, allocations: 12 kB / 3.795 GB, free: 97.62 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00058/10.21, allocations: 59.84 kB / 3.795 GB, free: 97.56 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.957e-05/10.21, allocations: 39.7 kB / 3.795 GB, free: 97.52 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.393e-05/10.21, allocations: 23.98 kB / 3.795 GB, free: 97.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005612/10.21, allocations: 0.499 MB / 3.795 GB, free: 97 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.21e-07/10.21, allocations: 0 / 3.795 GB, free: 97 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001761/10.21, allocations: 487.2 kB / 3.796 GB, free: 96.52 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.002652/10.21, allocations: 1.899 MB / 3.798 GB, free: 94.55 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0009133/10.21, allocations: 0.5926 MB / 3.798 GB, free: 93.96 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/10.21, allocations: 0 / 3.798 GB, free: 93.96 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000274/10.21, allocations: 268 kB / 3.798 GB, free: 93.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001825/10.21, allocations: 437.8 kB / 3.799 GB, free: 93.28 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002785/10.22, allocations: 2.329 MB / 3.801 GB, free: 90.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004646/10.22, allocations: 1.134 MB / 3.802 GB, free: 89.74 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0008224/10.22, allocations: 271.1 kB / 3.802 GB, free: 89.47 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001652/10.22, allocations: 71.42 kB / 3.803 GB, free: 89.41 MB / 0.948 GB Notification: Performance of SimCode: time 7.91e-07/10.22, allocations: 0 / 3.803 GB, free: 89.41 MB / 0.948 GB Notification: Performance of Templates: time 0.04641/10.26, allocations: 36.61 MB / 3.838 GB, free: 52.94 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)