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.671/1.671, allocations: 288.4 MB / 304.3 MB, free: 8.07 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.0009896/0.0009895, allocations: 180.5 kB / 372.9 MB, free: 10.14 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.829/1.829, allocations: 205.4 MB / 0.6317 GB, free: 9.895 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.0008632/0.0008632, allocations: 96.19 kB / 0.745 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000389/0.0003891, allocations: 17.05 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.2549, allocations: 115.3 MB / 0.9807 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.462/5.717, allocations: 2.128 GB / 3.109 GB, free: 181.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003086/5.717, allocations: 91.95 kB / 3.109 GB, free: 181.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.578/8.296, allocations: 0.6553 GB / 3.764 GB, free: 204.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.244e-06/8.296, allocations: 0 / 3.764 GB, free: 204.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000126/8.296, allocations: 33.56 kB / 3.764 GB, free: 204.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.005123/8.301, allocations: 1.454 MB / 3.766 GB, free: 203.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/8.301, allocations: 15.53 kB / 3.766 GB, free: 203.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002152/8.303, allocations: 244 kB / 3.766 GB, free: 203.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002769/8.306, allocations: 0.9807 MB / 3.767 GB, free: 203.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.981e-05/8.306, allocations: 73.09 kB / 3.767 GB, free: 203.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003427/8.306, allocations: 100.9 kB / 3.767 GB, free: 203.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002169/8.309, allocations: 1.131 MB / 3.768 GB, free: 203.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.261e-05/8.309, allocations: 6.906 kB / 3.768 GB, free: 203.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.693e-05/8.309, allocations: 37.62 kB / 3.768 GB, free: 203.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-05/8.309, allocations: 35.62 kB / 3.768 GB, free: 203.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001448/8.31, allocations: 0.846 MB / 3.769 GB, free: 203.3 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.005891/8.316, allocations: 5.712 MB / 3.774 GB, free: 199.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007696/8.317, allocations: 0.566 MB / 3.775 GB, free: 199.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004046/8.317, allocations: 327.2 kB / 3.775 GB, free: 199.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005184/8.318, allocations: 310.2 kB / 3.776 GB, free: 199.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.59e-05/8.318, allocations: 42.56 kB / 3.776 GB, free: 199.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=51): time 3.015e-06/8.318, allocations: 0 / 3.776 GB, free: 199.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=51): time 0.001591/8.32, allocations: 0.8073 MB / 3.776 GB, free: 199.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.787e-05/8.32, allocations: 86.64 kB / 3.777 GB, free: 199 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009387/8.321, allocations: 0.7391 MB / 3.777 GB, free: 198.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.924e-05/8.321, allocations: 39.36 kB / 3.777 GB, free: 198.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003025/8.321, allocations: 0.498 MB / 3.778 GB, free: 198.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001581/8.321, allocations: 187.5 kB / 3.778 GB, free: 198.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.095e-05/8.321, allocations: 16.72 kB / 3.778 GB, free: 198.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.413e-05/8.321, allocations: 332.8 kB / 3.778 GB, free: 198.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003538/8.322, allocations: 250.2 kB / 3.779 GB, free: 198.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005458/8.322, allocations: 0.5834 MB / 3.779 GB, free: 197.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009249/8.323, allocations: 0.7963 MB / 3.78 GB, free: 197.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.205e-06/8.323, allocations: 3.938 kB / 3.78 GB, free: 197.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001278/8.324, allocations: 0.8467 MB / 3.781 GB, free: 197.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/8.324, allocations: 10.39 kB / 3.781 GB, free: 197.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/8.324, allocations: 11.03 kB / 3.781 GB, free: 197.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.842e-05/8.324, allocations: 15.66 kB / 3.781 GB, free: 197.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005713/8.325, allocations: 162.8 kB / 3.781 GB, free: 197.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.287e-05/8.325, allocations: 18.8 kB / 3.781 GB, free: 197.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00108/8.326, allocations: 136.5 kB / 3.781 GB, free: 197.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.668e-05/8.326, allocations: 32.78 kB / 3.781 GB, free: 197.3 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.0005257/8.327, allocations: 341.3 kB / 3.781 GB, free: 197.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002112/8.327, allocations: 84.66 kB / 3.781 GB, free: 197.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009213/8.328, allocations: 0.6183 MB / 3.782 GB, free: 197.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/8.328, allocations: 7.594 kB / 3.782 GB, free: 197.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/8.328, allocations: 3.812 kB / 3.782 GB, free: 197.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006367/8.329, allocations: 0.5198 MB / 3.783 GB, free: 197 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002538/8.331, allocations: 1.763 MB / 3.784 GB, free: 196.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/8.331, allocations: 3.875 kB / 3.784 GB, free: 196.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005364/8.332, allocations: 116.6 kB / 3.784 GB, free: 196.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.377e-06/8.332, allocations: 3.469 kB / 3.784 GB, free: 196.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.583e-05/8.332, allocations: 17.95 kB / 3.784 GB, free: 196.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/8.332, allocations: 5.859 kB / 3.784 GB, free: 196.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.594e-06/8.332, allocations: 7.125 kB / 3.784 GB, free: 196.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001318/8.333, allocations: 1.068 MB / 3.786 GB, free: 196.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004297/8.334, allocations: 226.9 kB / 3.786 GB, free: 195.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/8.334, allocations: 11.62 kB / 3.786 GB, free: 195.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005574/8.334, allocations: 66.92 kB / 3.786 GB, free: 195.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.075e-05/8.334, allocations: 44.56 kB / 3.786 GB, free: 195.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.658e-05/8.334, allocations: 22.61 kB / 3.786 GB, free: 195.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0006268/8.335, allocations: 0.5005 MB / 3.786 GB, free: 195.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.6e-07/8.335, allocations: 0 / 3.786 GB, free: 195.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001776/8.337, allocations: 483.4 kB / 3.787 GB, free: 195.5 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.002966/8.34, allocations: 1.903 MB / 3.789 GB, free: 194.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001059/8.341, allocations: 0.606 MB / 3.789 GB, free: 194.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/8.341, allocations: 0 / 3.789 GB, free: 194.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003243/8.341, allocations: 283.7 kB / 3.79 GB, free: 194.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002435/8.344, allocations: 438 kB / 3.79 GB, free: 194.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003497/8.347, allocations: 2.389 MB / 3.792 GB, free: 193.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005203/8.348, allocations: 1.12 MB / 3.793 GB, free: 192.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.000973/8.349, allocations: 284.5 kB / 3.794 GB, free: 192.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001949/8.349, allocations: 81.97 kB / 3.794 GB, free: 192.5 MB / 0.948 GB Notification: Performance of SimCode: time 6.01e-07/8.349, allocations: 0 / 3.794 GB, free: 192.5 MB / 0.948 GB Notification: Performance of Templates: time 0.05328/8.402, allocations: 37.38 MB / 3.83 GB, free: 177.2 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)