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.8003/0.8003, allocations: 133.7 MB / 148.6 MB, free: 13.68 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.001079/0.001078, allocations: 168.2 kB / 180.9 MB, free: 15.11 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.368/1.368, allocations: 170.7 MB / 383.7 MB, free: 16.14 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.001648/0.001649, allocations: 110.1 kB / 454.6 MB, free: 9.734 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.1913/0.1918, allocations: 73.41 MB / 0.6812 GB, free: 5.566 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.701/5.893, allocations: 2.142 GB / 2.823 GB, free: 63.45 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003752/5.894, allocations: 92.98 kB / 2.823 GB, free: 63.36 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.802/8.695, allocations: 0.593 GB / 3.416 GB, free: 73.36 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.486e-06/8.695, allocations: 0 / 3.416 GB, free: 73.36 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001037/8.695, allocations: 35.47 kB / 3.416 GB, free: 73.36 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.005056/8.701, allocations: 1.617 MB / 3.418 GB, free: 72.62 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 7.541e-05/8.701, allocations: 14.66 kB / 3.418 GB, free: 72.62 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001909/8.703, allocations: 246 kB / 3.418 GB, free: 72.55 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002585/8.705, allocations: 0.8511 MB / 3.419 GB, free: 72.3 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001067/8.705, allocations: 84.47 kB / 3.419 GB, free: 72.3 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002207/8.706, allocations: 114.4 kB / 3.419 GB, free: 72.3 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002824/8.708, allocations: 1.319 MB / 3.42 GB, free: 72.05 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.806e-05/8.708, allocations: 3.562 kB / 3.42 GB, free: 72.05 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001412/8.709, allocations: 49.94 kB / 3.42 GB, free: 72.05 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-05/8.709, allocations: 40.16 kB / 3.42 GB, free: 72.05 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001717/8.71, allocations: 1.026 MB / 3.421 GB, free: 72.04 MB / 0.6198 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.0085/8.719, allocations: 6.06 MB / 3.427 GB, free: 68.42 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001124/8.72, allocations: 0.5779 MB / 3.428 GB, free: 68.37 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004112/8.72, allocations: 124.8 kB / 3.428 GB, free: 68.27 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.202e-05/8.721, allocations: 43.73 kB / 3.428 GB, free: 68.23 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=52): time 3.416e-06/8.721, allocations: 0 / 3.428 GB, free: 68.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=52): time 0.001799/8.722, allocations: 0.7757 MB / 3.429 GB, free: 68.15 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.17e-05/8.722, allocations: 112.6 kB / 3.429 GB, free: 68.02 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001493/8.724, allocations: 0.77 MB / 3.43 GB, free: 67.9 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.199e-05/8.724, allocations: 42.42 kB / 3.43 GB, free: 67.87 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005839/8.725, allocations: 0.5698 MB / 3.43 GB, free: 67.64 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002379/8.725, allocations: 187.5 kB / 3.43 GB, free: 67.55 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.417e-05/8.725, allocations: 18.53 kB / 3.43 GB, free: 67.55 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001544/8.725, allocations: 340.5 kB / 3.431 GB, free: 67.24 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000608/8.726, allocations: 286.7 kB / 3.431 GB, free: 67.24 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009389/8.727, allocations: 0.6278 MB / 3.432 GB, free: 66.83 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009019/8.728, allocations: 423.7 kB / 3.432 GB, free: 66.8 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.779e-06/8.728, allocations: 3.344 kB / 3.432 GB, free: 66.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.002544/8.73, allocations: 1.008 MB / 3.433 GB, free: 66.68 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.772e-05/8.73, allocations: 41.78 kB / 3.433 GB, free: 66.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.01e-05/8.73, allocations: 9.406 kB / 3.433 GB, free: 66.65 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.894e-05/8.73, allocations: 15.06 kB / 3.433 GB, free: 66.65 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000975/8.731, allocations: 190 kB / 3.433 GB, free: 66.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.805e-05/8.731, allocations: 16.84 kB / 3.433 GB, free: 66.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00182/8.733, allocations: 176.5 kB / 3.433 GB, free: 66.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001192/8.733, allocations: 41.61 kB / 3.433 GB, free: 66.62 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 104 * 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.001281/8.735, allocations: 360.7 kB / 3.434 GB, free: 66.51 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002957/8.735, allocations: 100 kB / 3.434 GB, free: 66.46 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001499/8.736, allocations: 0.6045 MB / 3.434 GB, free: 66.39 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/8.737, allocations: 6.312 kB / 3.434 GB, free: 66.39 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/8.737, allocations: 0 / 3.434 GB, free: 66.39 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000889/8.737, allocations: 0.5016 MB / 3.435 GB, free: 66.32 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004187/8.742, allocations: 1.677 MB / 3.437 GB, free: 65.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/8.742, allocations: 1.344 kB / 3.437 GB, free: 65.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000656/8.742, allocations: 117.4 kB / 3.437 GB, free: 65.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.842e-05/8.742, allocations: 3.906 kB / 3.437 GB, free: 65.98 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.072e-05/8.742, allocations: 23.69 kB / 3.437 GB, free: 65.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.678e-06/8.742, allocations: 2.562 kB / 3.437 GB, free: 65.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.269e-06/8.742, allocations: 3.219 kB / 3.437 GB, free: 65.98 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001967/8.744, allocations: 1.137 MB / 3.438 GB, free: 65.62 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000807/8.745, allocations: 269.1 kB / 3.438 GB, free: 65.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001356/8.745, allocations: 19.05 kB / 3.438 GB, free: 65.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009071/8.746, allocations: 68.53 kB / 3.438 GB, free: 65.47 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/8.746, allocations: 35.75 kB / 3.438 GB, free: 65.47 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001143/8.747, allocations: 26.08 kB / 3.438 GB, free: 65.47 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001461/8.748, allocations: 0.59 MB / 3.439 GB, free: 65.38 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/8.748, allocations: 2.938 kB / 3.439 GB, free: 65.38 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003827/8.752, allocations: 0.5192 MB / 3.439 GB, free: 65.34 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 () * Number of clocked 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.004943/8.757, allocations: 1.898 MB / 3.441 GB, free: 64.76 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002036/8.759, allocations: 0.7276 MB / 3.442 GB, free: 64.69 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 9.829e-06/8.759, allocations: 0 / 3.442 GB, free: 64.69 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004706/8.759, allocations: 264.8 kB / 3.442 GB, free: 64.69 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003506/8.763, allocations: 0.4953 MB / 3.443 GB, free: 64.67 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007406/8.77, allocations: 2.549 MB / 3.445 GB, free: 63.61 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002151/8.773, allocations: 1.184 MB / 3.446 GB, free: 62.91 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.002273/8.775, allocations: 280.6 kB / 3.447 GB, free: 62.89 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005887/8.775, allocations: 79.39 kB / 3.447 GB, free: 62.89 MB / 0.6198 GB Notification: Performance of SimCode: time 3.356e-06/8.775, allocations: 3.094 kB / 3.447 GB, free: 62.89 MB / 0.6198 GB Notification: Performance of Templates: time 0.06861/8.844, allocations: 39.67 MB / 3.485 GB, free: 60.95 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)