Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances") translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.737/0.737, allocations: 132.4 MB / 139.9 MB, free: 15.42 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009928/0.0009929, allocations: 167.6 kB / 171.8 MB, free: 2.055 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.312/1.312, allocations: 170.6 MB / 374.2 MB, free: 15.78 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001541/0.001541, allocations: 111.8 kB / 444.8 MB, free: 9.305 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.4097/0.4097, allocations: 73.4 MB / 0.6666 GB, free: 47.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.572/4.981, allocations: 2.141 GB / 2.808 GB, free: 36.18 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002655/4.982, allocations: 89.2 kB / 2.808 GB, free: 36.1 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Fluid/Sensors/PPM.mo:5:26-5:49:writable] Warning: Non-array modification '"MassFraction"' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Fluid/Sensors/PPM.mo:6:26-6:34:writable] Warning: Non-array modification '"1"' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Fluid/Sensors/PPM.mo:7:20-7:25:writable] Warning: Non-array modification '0' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Fluid/Sensors/PPM.mo:8:20-8:25:writable] Warning: Non-array modification '1' for array component, possibly due to missing 'each'. Notification: Performance of FrontEnd - DAE generated: time 2.611/7.593, allocations: 0.5853 GB / 3.393 GB, free: 85.61 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.424e-06/7.593, allocations: 0 / 3.393 GB, free: 85.61 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0002016/7.593, allocations: 33.94 kB / 3.393 GB, free: 85.6 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 270 * Number of variables: 270 Notification: Performance of Generate backend data structure: time 0.005644/7.599, allocations: 1.475 MB / 3.395 GB, free: 84.91 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/7.599, allocations: 8.812 kB / 3.395 GB, free: 84.91 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002266/7.601, allocations: 252.6 kB / 3.395 GB, free: 84.84 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002896/7.604, allocations: 0.846 MB / 3.396 GB, free: 84.59 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.069e-05/7.604, allocations: 33.44 kB / 3.396 GB, free: 84.59 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004025/7.605, allocations: 65.62 kB / 3.396 GB, free: 84.59 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00252/7.607, allocations: 0.9295 MB / 3.397 GB, free: 84.58 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00283/7.61, allocations: 1.145 MB / 3.398 GB, free: 84.34 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.9e-05/7.61, allocations: 3.531 kB / 3.398 GB, free: 84.34 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001794/7.61, allocations: 3.75 kB / 3.398 GB, free: 84.34 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.806e-05/7.611, allocations: 41.88 kB / 3.398 GB, free: 84.34 MB / 0.6198 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.007953/7.618, allocations: 5.825 MB / 3.403 GB, free: 80.77 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007262/7.619, allocations: 0.539 MB / 3.404 GB, free: 80.72 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003589/7.62, allocations: 286.4 kB / 3.404 GB, free: 80.7 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002989/7.62, allocations: 124.8 kB / 3.404 GB, free: 80.61 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.64e-05/7.62, allocations: 44.59 kB / 3.404 GB, free: 80.57 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=52): time 3.136e-06/7.62, allocations: 2.625 kB / 3.404 GB, free: 80.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=52): time 0.001296/7.621, allocations: 0.5612 MB / 3.405 GB, free: 80.48 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/7.621, allocations: 114.5 kB / 3.405 GB, free: 80.36 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008531/7.622, allocations: 0.5801 MB / 3.406 GB, free: 80.23 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001164/7.622, allocations: 33.05 kB / 3.406 GB, free: 80.2 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003808/7.623, allocations: 0.5783 MB / 3.406 GB, free: 79.96 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001769/7.623, allocations: 182.3 kB / 3.406 GB, free: 79.87 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.536e-05/7.623, allocations: 3.75 kB / 3.406 GB, free: 79.87 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001234/7.623, allocations: 384.2 kB / 3.407 GB, free: 79.55 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003751/7.623, allocations: 258.4 kB / 3.407 GB, free: 79.55 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005177/7.624, allocations: 0.5933 MB / 3.408 GB, free: 79.14 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006473/7.625, allocations: 399.8 kB / 3.408 GB, free: 79.14 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.128e-05/7.625, allocations: 5.125 kB / 3.408 GB, free: 79.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001486/7.626, allocations: 0.8786 MB / 3.409 GB, free: 79.06 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.836e-05/7.626, allocations: 45.19 kB / 3.409 GB, free: 79.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/7.626, allocations: 14.23 kB / 3.409 GB, free: 79.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.079e-05/7.626, allocations: 15.28 kB / 3.409 GB, free: 79.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000642/7.627, allocations: 181 kB / 3.409 GB, free: 79.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.165e-05/7.627, allocations: 20.08 kB / 3.409 GB, free: 79.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001312/7.628, allocations: 137 kB / 3.409 GB, free: 78.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-05/7.628, allocations: 40.53 kB / 3.409 GB, free: 78.98 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (103): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 1 * 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.0001994/7.629, allocations: 132.5 kB / 3.409 GB, free: 78.87 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002312/7.629, allocations: 86.09 kB / 3.409 GB, free: 78.83 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009842/7.63, allocations: 0.5758 MB / 3.41 GB, free: 78.77 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/7.63, allocations: 10.28 kB / 3.41 GB, free: 78.77 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/7.63, allocations: 2.719 kB / 3.41 GB, free: 78.77 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006649/7.631, allocations: 0.4885 MB / 3.411 GB, free: 78.7 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002698/7.633, allocations: 1.526 MB / 3.412 GB, free: 78.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.012e-06/7.633, allocations: 3.844 kB / 3.412 GB, free: 78.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005349/7.634, allocations: 120.1 kB / 3.412 GB, free: 78.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.124e-05/7.634, allocations: 7.25 kB / 3.412 GB, free: 78.38 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.978e-05/7.634, allocations: 10.48 kB / 3.412 GB, free: 78.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/7.634, allocations: 3.969 kB / 3.412 GB, free: 78.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/7.634, allocations: 0 / 3.412 GB, free: 78.38 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001296/7.635, allocations: 1.111 MB / 3.413 GB, free: 78.02 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005468/7.636, allocations: 249.2 kB / 3.413 GB, free: 77.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002039/7.636, allocations: 7.031 kB / 3.413 GB, free: 77.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009026/7.637, allocations: 58.39 kB / 3.414 GB, free: 77.88 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.85e-05/7.637, allocations: 41.23 kB / 3.414 GB, free: 77.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-05/7.637, allocations: 25.52 kB / 3.414 GB, free: 77.88 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005338/7.638, allocations: 443.3 kB / 3.414 GB, free: 77.78 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.2e-07/7.638, allocations: 0 / 3.414 GB, free: 77.78 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001786/7.639, allocations: 469.8 kB / 3.414 GB, free: 77.72 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (52): * Single equations (assignments): 52 * 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.00313/7.643, allocations: 2.109 MB / 3.417 GB, free: 77.16 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001133/7.644, allocations: 0.667 MB / 3.417 GB, free: 77.08 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/7.644, allocations: 3.438 kB / 3.417 GB, free: 77.08 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003388/7.644, allocations: 251.7 kB / 3.417 GB, free: 77.08 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002219/7.646, allocations: 391.8 kB / 3.418 GB, free: 77.07 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003595/7.65, allocations: 1.598 MB / 3.419 GB, free: 76.64 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008815/7.651, allocations: 1.19 MB / 3.421 GB, free: 75.94 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.00118/7.652, allocations: 265.8 kB / 3.421 GB, free: 75.93 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002222/7.652, allocations: 69.3 kB / 3.421 GB, free: 75.92 MB / 0.6198 GB Notification: Performance of SimCode: time 1.152e-06/7.652, allocations: 3.875 kB / 3.421 GB, free: 75.92 MB / 0.6198 GB Notification: Performance of Templates: time 0.04165/7.694, allocations: 24.98 MB / 3.445 GB, free: 74.27 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)