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.444/2.444, allocations: 285 MB / 292.5 MB, free: 10.53 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.001683/0.001683, allocations: 192.8 kB / 360.8 MB, free: 7.227 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 1.911/1.911, allocations: 205.3 MB / 0.6192 GB, free: 12.1 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.001118/0.001117, allocations: 97.23 kB / 0.7322 GB, free: 44.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.966e-05/3.976e-05, allocations: 4 kB / 0.8509 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8738/0.8739, allocations: 115.3 MB / 0.9634 GB, free: 78.41 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.619/7.493, allocations: 2.127 GB / 3.09 GB, free: 287.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003228/7.493, allocations: 86.89 kB / 3.091 GB, free: 287.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.893/10.39, allocations: 0.6484 GB / 3.739 GB, free: 73 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.154e-06/10.39, allocations: 4 kB / 3.739 GB, free: 72.99 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001201/10.39, allocations: 28 kB / 3.739 GB, free: 72.96 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.004228/10.39, allocations: 1.322 MB / 3.74 GB, free: 71.59 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/10.39, allocations: 8.031 kB / 3.74 GB, free: 71.58 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002321/10.39, allocations: 258.3 kB / 3.741 GB, free: 71.33 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004298/10.4, allocations: 1.101 MB / 3.742 GB, free: 70.18 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.133e-05/10.4, allocations: 32 kB / 3.742 GB, free: 70.15 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002511/10.4, allocations: 56 kB / 3.742 GB, free: 70.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00213/10.4, allocations: 0.7497 MB / 3.742 GB, free: 69.35 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002321/10.4, allocations: 0.9705 MB / 3.743 GB, free: 68.31 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.26e-05/10.4, allocations: 8 kB / 3.743 GB, free: 68.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001124/10.4, allocations: 7.953 kB / 3.743 GB, free: 68.29 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.694e-05/10.4, allocations: 33.94 kB / 3.743 GB, free: 68.26 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.008393/10.41, allocations: 5.502 MB / 3.749 GB, free: 62.32 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001146/10.41, allocations: 0.5043 MB / 3.749 GB, free: 61.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005601/10.41, allocations: 283.1 kB / 3.75 GB, free: 61.53 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000738/10.41, allocations: 311.8 kB / 3.75 GB, free: 61.17 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.063e-05/10.41, allocations: 39 kB / 3.75 GB, free: 61.12 MB / 0.948 GB Notification: Performance of pre-optimization done (n=49): time 3.367e-06/10.41, allocations: 3.938 kB / 3.75 GB, free: 61.12 MB / 0.948 GB Notification: Performance of matching and sorting (n=49): time 0.002109/10.41, allocations: 0.5771 MB / 3.75 GB, free: 60.54 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/10.42, allocations: 59.84 kB / 3.751 GB, free: 60.46 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009693/10.42, allocations: 0.5154 MB / 3.751 GB, free: 59.94 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001746/10.42, allocations: 25.7 kB / 3.751 GB, free: 59.91 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004151/10.42, allocations: 0.5102 MB / 3.752 GB, free: 59.39 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002735/10.42, allocations: 165.6 kB / 3.752 GB, free: 59.23 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.21e-05/10.42, allocations: 0 / 3.752 GB, free: 59.23 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001574/10.42, allocations: 386.7 kB / 3.752 GB, free: 58.84 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004947/10.42, allocations: 221.5 kB / 3.752 GB, free: 58.62 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000696/10.42, allocations: 0.5539 MB / 3.753 GB, free: 57.91 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009716/10.42, allocations: 356.4 kB / 3.753 GB, free: 57.57 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.066e-05/10.42, allocations: 0 / 3.753 GB, free: 57.57 MB / 0.948 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002118/10.42, allocations: 0.7648 MB / 3.754 GB, free: 56.79 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.591e-05/10.42, allocations: 16.22 kB / 3.754 GB, free: 56.78 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/10.42, allocations: 8 kB / 3.754 GB, free: 56.77 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.749e-05/10.42, allocations: 15.94 kB / 3.754 GB, free: 56.75 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/10.42, allocations: 155.8 kB / 3.754 GB, free: 56.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.255e-05/10.42, allocations: 19.92 kB / 3.754 GB, free: 56.58 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001724/10.42, allocations: 111.2 kB / 3.754 GB, free: 56.47 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001581/10.42, allocations: 39.98 kB / 3.754 GB, free: 56.43 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.0002169/10.43, allocations: 136.5 kB / 3.754 GB, free: 56.29 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002235/10.43, allocations: 79.06 kB / 3.754 GB, free: 56.21 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001635/10.43, allocations: 0.5739 MB / 3.755 GB, free: 55.64 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/10.43, allocations: 7.938 kB / 3.755 GB, free: 55.63 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/10.43, allocations: 0 / 3.755 GB, free: 55.63 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001135/10.43, allocations: 0.5055 MB / 3.756 GB, free: 55.11 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004287/10.43, allocations: 1.524 MB / 3.757 GB, free: 53.52 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/10.43, allocations: 4 kB / 3.757 GB, free: 53.52 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001058/10.43, allocations: 111.9 kB / 3.757 GB, free: 53.41 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.329e-05/10.43, allocations: 4 kB / 3.757 GB, free: 53.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.32e-05/10.43, allocations: 4 kB / 3.757 GB, free: 53.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.294e-06/10.43, allocations: 7.984 kB / 3.757 GB, free: 53.39 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-06/10.43, allocations: 11.89 kB / 3.757 GB, free: 53.38 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002085/10.44, allocations: 1.083 MB / 3.758 GB, free: 52.21 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006922/10.44, allocations: 216.1 kB / 3.758 GB, free: 51.98 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001793/10.44, allocations: 0 / 3.758 GB, free: 51.98 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001132/10.44, allocations: 63.83 kB / 3.758 GB, free: 51.92 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/10.44, allocations: 31.91 kB / 3.758 GB, free: 51.89 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.077e-05/10.44, allocations: 23.98 kB / 3.759 GB, free: 51.86 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007613/10.44, allocations: 391.1 kB / 3.759 GB, free: 51.48 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.22e-07/10.44, allocations: 0 / 3.759 GB, free: 51.48 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001963/10.44, allocations: 427 kB / 3.759 GB, free: 51.07 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.003644/10.44, allocations: 2.125 MB / 3.761 GB, free: 48.86 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001505/10.45, allocations: 0.5586 MB / 3.762 GB, free: 48.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/10.45, allocations: 0 / 3.762 GB, free: 48.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000555/10.45, allocations: 254.2 kB / 3.762 GB, free: 48.06 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003183/10.45, allocations: 360.4 kB / 3.763 GB, free: 47.71 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003878/10.45, allocations: 1.476 MB / 3.764 GB, free: 46.19 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008489/10.45, allocations: 1.137 MB / 3.765 GB, free: 45.03 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001576/10.46, allocations: 250.5 kB / 3.765 GB, free: 44.78 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003224/10.46, allocations: 71.36 kB / 3.765 GB, free: 44.71 MB / 0.948 GB Notification: Performance of SimCode: time 1.052e-06/10.46, allocations: 0 / 3.765 GB, free: 44.71 MB / 0.948 GB Notification: Performance of Templates: time 0.06114/10.52, allocations: 23.14 MB / 3.788 GB, free: 21.73 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)