Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.585/2.585, allocations: 284.8 MB / 297.3 MB, free: 6.34 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001484/0.001484, allocations: 169 kB / 365.7 MB, free: 2.598 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.074/2.074, allocations: 205.2 MB / 0.6241 GB, free: 8.176 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00105/0.00105, allocations: 91.41 kB / 0.7372 GB, free: 40.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.152e-05/4.171e-05, allocations: 4 kB / 0.8574 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8225/0.8225, allocations: 115.2 MB / 0.97 GB, free: 78.2 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.72/7.542, allocations: 2.128 GB / 3.098 GB, free: 284.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003309/7.543, allocations: 94.72 kB / 3.098 GB, free: 284.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.053/10.6, allocations: 0.656 GB / 3.754 GB, free: 36.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.234e-06/10.6, allocations: 0 / 3.754 GB, free: 36.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001132/10.6, allocations: 28 kB / 3.754 GB, free: 36.27 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.004134/10.6, allocations: 1.329 MB / 3.755 GB, free: 34.89 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/10.6, allocations: 8.031 kB / 3.755 GB, free: 34.88 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002256/10.6, allocations: 254.3 kB / 3.755 GB, free: 34.63 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004231/10.61, allocations: 1.097 MB / 3.756 GB, free: 33.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.071e-05/10.61, allocations: 77.94 kB / 3.756 GB, free: 33.42 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002518/10.61, allocations: 92 kB / 3.756 GB, free: 33.33 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002576/10.61, allocations: 1.1 MB / 3.758 GB, free: 32.16 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.118e-05/10.61, allocations: 4 kB / 3.758 GB, free: 32.16 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001316/10.61, allocations: 43.94 kB / 3.758 GB, free: 32.11 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.007e-05/10.61, allocations: 34 kB / 3.758 GB, free: 32.08 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002259/10.61, allocations: 0.8275 MB / 3.758 GB, free: 31.25 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.008366/10.62, allocations: 5.702 MB / 3.764 GB, free: 25.09 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001186/10.62, allocations: 0.5288 MB / 3.765 GB, free: 24.55 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006193/10.62, allocations: 302.6 kB / 3.765 GB, free: 24.26 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007428/10.62, allocations: 303.7 kB / 3.765 GB, free: 23.91 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/10.62, allocations: 39 kB / 3.765 GB, free: 23.86 MB / 0.948 GB Notification: Performance of pre-optimization done (n=49): time 3.817e-06/10.62, allocations: 4 kB / 3.765 GB, free: 23.86 MB / 0.948 GB Notification: Performance of matching and sorting (n=49): time 0.001897/10.63, allocations: 0.5771 MB / 3.766 GB, free: 23.27 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.867e-05/10.63, allocations: 59.8 kB / 3.766 GB, free: 23.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001203/10.63, allocations: 0.6409 MB / 3.766 GB, free: 22.56 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001601/10.63, allocations: 37.7 kB / 3.766 GB, free: 22.52 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004177/10.63, allocations: 0.5104 MB / 3.767 GB, free: 22 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002356/10.63, allocations: 173.5 kB / 3.767 GB, free: 21.82 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.97e-05/10.63, allocations: 20 kB / 3.767 GB, free: 21.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.527e-05/10.63, allocations: 334 kB / 3.767 GB, free: 21.47 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005617/10.63, allocations: 233.5 kB / 3.768 GB, free: 21.25 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007817/10.63, allocations: 0.5672 MB / 3.768 GB, free: 20.52 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007518/10.63, allocations: 343.2 kB / 3.769 GB, free: 20.19 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.987e-06/10.63, allocations: 4 kB / 3.769 GB, free: 20.19 MB / 0.948 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001988/10.63, allocations: 0.8186 MB / 3.769 GB, free: 19.36 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.86e-05/10.63, allocations: 8.938 kB / 3.769 GB, free: 19.35 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/10.63, allocations: 8 kB / 3.769 GB, free: 19.34 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.714e-05/10.63, allocations: 12 kB / 3.769 GB, free: 19.33 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001081/10.63, allocations: 163.7 kB / 3.77 GB, free: 19.17 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.421e-05/10.63, allocations: 15.94 kB / 3.77 GB, free: 19.16 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001704/10.64, allocations: 142.9 kB / 3.77 GB, free: 19.02 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000124/10.64, allocations: 36 kB / 3.77 GB, free: 18.98 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 () * 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.0002528/10.64, allocations: 152.7 kB / 3.77 GB, free: 18.82 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002247/10.64, allocations: 82.97 kB / 3.77 GB, free: 18.74 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001523/10.64, allocations: 0.6059 MB / 3.771 GB, free: 18.12 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/10.64, allocations: 4 kB / 3.771 GB, free: 18.12 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/10.64, allocations: 0 / 3.771 GB, free: 18.12 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001033/10.64, allocations: 0.5016 MB / 3.771 GB, free: 17.61 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003994/10.64, allocations: 1.641 MB / 3.773 GB, free: 15.89 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/10.64, allocations: 3.938 kB / 3.773 GB, free: 15.89 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001045/10.64, allocations: 111.9 kB / 3.773 GB, free: 15.78 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-05/10.64, allocations: 12.17 kB / 3.773 GB, free: 15.77 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.6e-05/10.64, allocations: 19.98 kB / 3.773 GB, free: 15.75 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.545e-06/10.64, allocations: 7.984 kB / 3.773 GB, free: 15.74 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/10.64, allocations: 3.938 kB / 3.773 GB, free: 15.73 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002064/10.65, allocations: 1.117 MB / 3.774 GB, free: 14.54 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006837/10.65, allocations: 219.9 kB / 3.774 GB, free: 14.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000173/10.65, allocations: 15.98 kB / 3.774 GB, free: 14.29 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0011/10.65, allocations: 63.89 kB / 3.774 GB, free: 14.22 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.81e-05/10.65, allocations: 31.95 kB / 3.774 GB, free: 14.19 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.456e-05/10.65, allocations: 15.98 kB / 3.774 GB, free: 14.18 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0009177/10.65, allocations: 0.503 MB / 3.775 GB, free: 13.68 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.5e-07/10.65, allocations: 0 / 3.775 GB, free: 13.68 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002173/10.65, allocations: 479.2 kB / 3.775 GB, free: 13.21 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 () * 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.003404/10.65, allocations: 1.912 MB / 3.777 GB, free: 11.22 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001623/10.66, allocations: 0.5849 MB / 3.778 GB, free: 10.64 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/10.66, allocations: 3.938 kB / 3.778 GB, free: 10.64 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00055/10.66, allocations: 267.8 kB / 3.778 GB, free: 10.38 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00372/10.66, allocations: 422.6 kB / 3.778 GB, free: 9.965 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003945/10.66, allocations: 1.519 MB / 3.78 GB, free: 8.395 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007576/10.67, allocations: 1.141 MB / 3.781 GB, free: 7.227 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001611/10.67, allocations: 267.1 kB / 3.781 GB, free: 6.961 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003193/10.67, allocations: 75.42 kB / 3.781 GB, free: 6.887 MB / 0.948 GB Notification: Performance of SimCode: time 1.693e-06/10.67, allocations: 0 / 3.781 GB, free: 6.887 MB / 0.948 GB Notification: Performance of Templates: time 0.7741/11.44, allocations: 41.44 MB / 3.822 GB, free: 174.6 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)