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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.681/1.681, allocations: 293 MB / 309 MB, free: 4.648 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.001243/0.001243, allocations: 180.4 kB / 378.7 MB, free: 0.8516 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.936/1.936, allocations: 205.4 MB / 0.6383 GB, free: 8.219 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.001112/0.001112, allocations: 89.72 kB / 0.7527 GB, free: 62.76 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004761/0.0004762, allocations: 12 kB / 0.8768 GB, free: 10.44 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.3141, allocations: 116.4 MB / 0.9904 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.102/6.416, allocations: 2.129 GB / 3.119 GB, free: 86.05 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003022/6.417, allocations: 91.95 kB / 3.12 GB, free: 85.96 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.669/9.086, allocations: 0.6553 GB / 3.775 GB, free: 145.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.285e-06/9.086, allocations: 3.812 kB / 3.775 GB, free: 145.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001336/9.086, allocations: 27.52 kB / 3.775 GB, free: 145.7 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.005296/9.091, allocations: 1.449 MB / 3.776 GB, free: 144.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/9.091, allocations: 12.62 kB / 3.776 GB, free: 144.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002028/9.093, allocations: 243.3 kB / 3.776 GB, free: 144.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003056/9.096, allocations: 0.9818 MB / 3.777 GB, free: 143.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.714e-05/9.096, allocations: 82.69 kB / 3.778 GB, free: 143.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000373/9.097, allocations: 92.88 kB / 3.778 GB, free: 143.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002678/9.099, allocations: 1.13 MB / 3.779 GB, free: 142.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.877e-05/9.099, allocations: 0 / 3.779 GB, free: 142.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001325/9.1, allocations: 43.39 kB / 3.779 GB, free: 142.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.38e-05/9.1, allocations: 34.5 kB / 3.779 GB, free: 142.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00165/9.101, allocations: 0.858 MB / 3.78 GB, free: 142.5 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.006173/9.107, allocations: 5.697 MB / 3.785 GB, free: 137.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007522/9.108, allocations: 0.5718 MB / 3.786 GB, free: 137 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003919/9.109, allocations: 322 kB / 3.786 GB, free: 136.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004764/9.109, allocations: 316.2 kB / 3.786 GB, free: 136.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/9.109, allocations: 38.53 kB / 3.786 GB, free: 136.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=51): time 3.666e-06/9.109, allocations: 0 / 3.786 GB, free: 136.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=51): time 0.001584/9.111, allocations: 0.8086 MB / 3.787 GB, free: 136 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.247e-05/9.111, allocations: 85.02 kB / 3.787 GB, free: 135.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009972/9.112, allocations: 0.7488 MB / 3.788 GB, free: 135.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.508e-05/9.112, allocations: 37.61 kB / 3.788 GB, free: 135.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003066/9.112, allocations: 0.4945 MB / 3.789 GB, free: 135 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001711/9.112, allocations: 184.5 kB / 3.789 GB, free: 134.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.283e-05/9.113, allocations: 15.81 kB / 3.789 GB, free: 134.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.378e-05/9.113, allocations: 333.6 kB / 3.789 GB, free: 134.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003835/9.113, allocations: 254.4 kB / 3.789 GB, free: 134.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005634/9.114, allocations: 0.5847 MB / 3.79 GB, free: 133.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008764/9.114, allocations: 0.7884 MB / 3.791 GB, free: 133.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/9.115, allocations: 3.406 kB / 3.791 GB, free: 133.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001397/9.116, allocations: 0.8576 MB / 3.791 GB, free: 132.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/9.116, allocations: 7 kB / 3.791 GB, free: 132.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.626e-05/9.116, allocations: 7.531 kB / 3.791 GB, free: 132.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.78e-05/9.116, allocations: 15.53 kB / 3.791 GB, free: 132.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005605/9.117, allocations: 159.4 kB / 3.792 GB, free: 132.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.134e-05/9.117, allocations: 15.66 kB / 3.792 GB, free: 132.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/9.118, allocations: 141.4 kB / 3.792 GB, free: 132.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.153e-05/9.118, allocations: 34.28 kB / 3.792 GB, free: 132.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (89): * Single equations (assignments): 89 * 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.0006292/9.118, allocations: 337.4 kB / 3.792 GB, free: 132.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002099/9.119, allocations: 86.81 kB / 3.792 GB, free: 132.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001046/9.12, allocations: 0.6348 MB / 3.793 GB, free: 132 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/9.12, allocations: 11.41 kB / 3.793 GB, free: 132 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/9.12, allocations: 0 / 3.793 GB, free: 132 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006227/9.12, allocations: 0.5152 MB / 3.793 GB, free: 131.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002835/9.123, allocations: 1.762 MB / 3.795 GB, free: 129.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/9.123, allocations: 0 / 3.795 GB, free: 129.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005312/9.124, allocations: 115.9 kB / 3.795 GB, free: 129.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.144e-05/9.124, allocations: 4 kB / 3.795 GB, free: 129.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.793e-05/9.124, allocations: 16 kB / 3.795 GB, free: 129.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.478e-06/9.124, allocations: 7.938 kB / 3.795 GB, free: 129.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/9.124, allocations: 256 / 3.795 GB, free: 129.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001395/9.125, allocations: 1.068 MB / 3.796 GB, free: 128.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005231/9.126, allocations: 228 kB / 3.796 GB, free: 128.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001765/9.126, allocations: 15.92 kB / 3.796 GB, free: 128.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007101/9.127, allocations: 63.8 kB / 3.797 GB, free: 128.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.568e-05/9.127, allocations: 43.89 kB / 3.797 GB, free: 128.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.824e-05/9.127, allocations: 19.98 kB / 3.797 GB, free: 128.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007168/9.128, allocations: 0.5029 MB / 3.797 GB, free: 127.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/9.128, allocations: 0 / 3.797 GB, free: 127.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002061/9.13, allocations: 479.3 kB / 3.798 GB, free: 127.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (51): * Single equations (assignments): 51 * 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.003706/9.133, allocations: 1.903 MB / 3.799 GB, free: 125.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00138/9.135, allocations: 0.6159 MB / 3.8 GB, free: 124.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/9.135, allocations: 0 / 3.8 GB, free: 124.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003787/9.135, allocations: 268.2 kB / 3.8 GB, free: 124.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002848/9.138, allocations: 433.8 kB / 3.801 GB, free: 123.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004042/9.142, allocations: 2.399 MB / 3.803 GB, free: 121.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008928/9.143, allocations: 1.122 MB / 3.804 GB, free: 120.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001226/9.144, allocations: 283.2 kB / 3.804 GB, free: 120 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002816/9.145, allocations: 79.42 kB / 3.804 GB, free: 119.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.032e-06/9.145, allocations: 0 / 3.804 GB, free: 119.9 MB / 0.948 GB Notification: Performance of Templates: time 0.05312/9.198, allocations: 37.36 MB / 3.841 GB, free: 82.7 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)