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.526/1.526, allocations: 289.9 MB / 297.4 MB, free: 6.391 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.001006/0.001006, allocations: 180.8 kB / 366.7 MB, free: 1.648 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.423/1.423, allocations: 205.2 MB / 0.626 GB, free: 7.184 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.0008619/0.0008619, allocations: 90.78 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.026e-05/2.03e-05, allocations: 8 kB / 0.8597 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6749/0.6749, allocations: 116.3 MB / 0.9733 GB, free: 76.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.429/6.104, allocations: 2.128 GB / 3.101 GB, free: 347.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002735/6.104, allocations: 90.62 kB / 3.101 GB, free: 347.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.92/8.025, allocations: 0.6484 GB / 3.75 GB, free: 68.34 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.833e-06/8.025, allocations: 0 / 3.75 GB, free: 68.34 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001496/8.025, allocations: 28 kB / 3.75 GB, free: 68.32 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.00452/8.029, allocations: 1.328 MB / 3.751 GB, free: 66.93 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/8.03, allocations: 8.031 kB / 3.751 GB, free: 66.93 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002022/8.032, allocations: 247.2 kB / 3.751 GB, free: 66.68 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003542/8.035, allocations: 1.113 MB / 3.753 GB, free: 65.53 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.905e-05/8.035, allocations: 28 kB / 3.753 GB, free: 65.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003437/8.036, allocations: 56 kB / 3.753 GB, free: 65.45 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001746/8.037, allocations: 0.7614 MB / 3.753 GB, free: 64.69 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001878/8.039, allocations: 0.9783 MB / 3.754 GB, free: 63.64 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.057e-05/8.039, allocations: 0 / 3.754 GB, free: 63.64 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.42e-05/8.039, allocations: 4 kB / 3.754 GB, free: 63.64 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-05/8.039, allocations: 30 kB / 3.754 GB, free: 63.61 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.005862/8.045, allocations: 5.509 MB / 3.76 GB, free: 57.66 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006379/8.046, allocations: 0.5043 MB / 3.76 GB, free: 57.14 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003176/8.046, allocations: 286.6 kB / 3.76 GB, free: 56.86 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004843/8.047, allocations: 311.8 kB / 3.761 GB, free: 56.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/8.047, allocations: 39 kB / 3.761 GB, free: 56.45 MB / 0.948 GB Notification: Performance of pre-optimization done (n=49): time 2.815e-06/8.047, allocations: 0 / 3.761 GB, free: 56.45 MB / 0.948 GB Notification: Performance of matching and sorting (n=49): time 0.001254/8.048, allocations: 0.5771 MB / 3.761 GB, free: 55.87 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.338e-05/8.048, allocations: 55.84 kB / 3.761 GB, free: 55.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005498/8.049, allocations: 0.5192 MB / 3.762 GB, free: 55.28 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.476e-05/8.049, allocations: 25.7 kB / 3.762 GB, free: 55.25 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002246/8.049, allocations: 0.5063 MB / 3.762 GB, free: 54.73 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/8.049, allocations: 169.5 kB / 3.763 GB, free: 54.56 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.662e-05/8.049, allocations: 4 kB / 3.763 GB, free: 54.56 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.717e-05/8.049, allocations: 382.8 kB / 3.763 GB, free: 54.18 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002526/8.049, allocations: 221.5 kB / 3.763 GB, free: 53.96 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003999/8.05, allocations: 0.5433 MB / 3.764 GB, free: 53.26 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004725/8.05, allocations: 360.5 kB / 3.764 GB, free: 52.91 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.463e-06/8.05, allocations: 3.953 kB / 3.764 GB, free: 52.91 MB / 0.948 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009939/8.051, allocations: 0.7762 MB / 3.765 GB, free: 52.12 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/8.051, allocations: 8 kB / 3.765 GB, free: 52.12 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/8.051, allocations: 8 kB / 3.765 GB, free: 52.11 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.542e-05/8.051, allocations: 12 kB / 3.765 GB, free: 52.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005298/8.052, allocations: 155.8 kB / 3.765 GB, free: 51.95 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.412e-05/8.052, allocations: 20.48 kB / 3.765 GB, free: 51.93 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008577/8.053, allocations: 111.2 kB / 3.765 GB, free: 51.82 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.148e-05/8.053, allocations: 36 kB / 3.765 GB, free: 51.78 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.0001171/8.053, allocations: 130.4 kB / 3.765 GB, free: 51.65 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.599e-05/8.053, allocations: 83.02 kB / 3.765 GB, free: 51.57 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008452/8.054, allocations: 0.5778 MB / 3.766 GB, free: 50.98 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/8.054, allocations: 4 kB / 3.766 GB, free: 50.97 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/8.054, allocations: 0 / 3.766 GB, free: 50.97 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005698/8.055, allocations: 0.5055 MB / 3.766 GB, free: 50.46 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002023/8.057, allocations: 1.528 MB / 3.768 GB, free: 48.86 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/8.057, allocations: 4 kB / 3.768 GB, free: 48.86 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004966/8.057, allocations: 116 kB / 3.768 GB, free: 48.75 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.844e-06/8.057, allocations: 8 kB / 3.768 GB, free: 48.74 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.186e-05/8.057, allocations: 4 kB / 3.768 GB, free: 48.73 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/8.057, allocations: 8 kB / 3.768 GB, free: 48.73 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/8.057, allocations: 4 kB / 3.768 GB, free: 48.72 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/8.058, allocations: 1.099 MB / 3.769 GB, free: 47.54 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002816/8.059, allocations: 212.1 kB / 3.769 GB, free: 47.31 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.269e-05/8.059, allocations: 7.984 kB / 3.769 GB, free: 47.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000556/8.059, allocations: 47.89 kB / 3.769 GB, free: 47.26 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.447e-05/8.059, allocations: 43.84 kB / 3.769 GB, free: 47.21 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.603e-05/8.059, allocations: 23.98 kB / 3.769 GB, free: 47.19 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003859/8.06, allocations: 395.1 kB / 3.77 GB, free: 46.81 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.8e-07/8.06, allocations: 0 / 3.77 GB, free: 46.81 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001292/8.061, allocations: 415.1 kB / 3.77 GB, free: 46.4 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.002604/8.064, allocations: 2.123 MB / 3.772 GB, free: 44.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0008156/8.065, allocations: 0.5413 MB / 3.773 GB, free: 43.66 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/8.065, allocations: 4 kB / 3.773 GB, free: 43.66 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002495/8.065, allocations: 263.9 kB / 3.773 GB, free: 43.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001667/8.067, allocations: 353.9 kB / 3.773 GB, free: 43.06 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002278/8.069, allocations: 1.487 MB / 3.775 GB, free: 41.53 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004971/8.069, allocations: 1.141 MB / 3.776 GB, free: 40.36 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0007979/8.07, allocations: 262.4 kB / 3.776 GB, free: 40.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001501/8.07, allocations: 71.42 kB / 3.776 GB, free: 40.03 MB / 0.948 GB Notification: Performance of SimCode: time 6.01e-07/8.07, allocations: 0 / 3.776 GB, free: 40.03 MB / 0.948 GB Notification: Performance of Templates: time 0.03341/8.104, allocations: 23.12 MB / 3.799 GB, free: 17.06 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)