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.6839/0.6839, allocations: 132.3 MB / 144.9 MB, free: 10.54 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.001016/0.001016, allocations: 175.3 kB / 176.9 MB, free: 2.246 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.144/1.144, allocations: 170.5 MB / 379.3 MB, free: 11.91 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.001547/0.001547, allocations: 113.8 kB / 450 MB, free: 5.848 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.3835/0.3836, allocations: 73.39 MB / 0.6736 GB, free: 47.67 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.787/5.17, allocations: 2.142 GB / 2.815 GB, free: 171.6 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002644/5.171, allocations: 85.52 kB / 2.815 GB, free: 171.6 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.02/7.191, allocations: 0.5924 GB / 3.408 GB, free: 69.79 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.994e-06/7.191, allocations: 4 kB / 3.408 GB, free: 69.79 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.061e-05/7.191, allocations: 32 kB / 3.408 GB, free: 69.76 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.00323/7.194, allocations: 1.478 MB / 3.409 GB, free: 68.23 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/7.194, allocations: 8.031 kB / 3.409 GB, free: 68.22 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001276/7.196, allocations: 254.2 kB / 3.41 GB, free: 67.97 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001552/7.197, allocations: 0.8432 MB / 3.41 GB, free: 67.08 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.609e-05/7.197, allocations: 86.12 kB / 3.41 GB, free: 67 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001443/7.197, allocations: 104 kB / 3.411 GB, free: 66.89 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001858/7.199, allocations: 1.311 MB / 3.412 GB, free: 65.49 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.873e-05/7.199, allocations: 7.953 kB / 3.412 GB, free: 65.48 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001037/7.199, allocations: 44 kB / 3.412 GB, free: 65.44 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.94e-05/7.199, allocations: 38 kB / 3.412 GB, free: 65.4 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001318/7.201, allocations: 1.015 MB / 3.413 GB, free: 64.39 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.005409/7.206, allocations: 6.048 MB / 3.419 GB, free: 57.89 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006994/7.207, allocations: 0.5824 MB / 3.419 GB, free: 57.3 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003288/7.207, allocations: 294.5 kB / 3.42 GB, free: 57.01 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002782/7.207, allocations: 125.5 kB / 3.42 GB, free: 56.87 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/7.207, allocations: 50.92 kB / 3.42 GB, free: 56.81 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=52): time 3.016e-06/7.208, allocations: 0 / 3.42 GB, free: 56.81 MB / 0.6198 GB Notification: Performance of matching and sorting (n=52): time 0.0009951/7.209, allocations: 0.5692 MB / 3.42 GB, free: 56.23 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.624e-05/7.209, allocations: 111.2 kB / 3.42 GB, free: 56.1 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007734/7.209, allocations: 0.7625 MB / 3.421 GB, free: 55.34 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.935e-05/7.209, allocations: 37.7 kB / 3.421 GB, free: 55.29 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002755/7.21, allocations: 0.5646 MB / 3.422 GB, free: 54.72 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/7.21, allocations: 201.3 kB / 3.422 GB, free: 54.52 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.419e-05/7.21, allocations: 16 kB / 3.422 GB, free: 54.5 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.148e-05/7.21, allocations: 341.9 kB / 3.422 GB, free: 54.16 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003523/7.21, allocations: 277.9 kB / 3.423 GB, free: 53.89 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005166/7.211, allocations: 0.6249 MB / 3.423 GB, free: 53.11 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004866/7.211, allocations: 431.1 kB / 3.424 GB, free: 52.68 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/7.211, allocations: 0 / 3.424 GB, free: 52.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001166/7.213, allocations: 0.9877 MB / 3.425 GB, free: 51.68 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.252e-05/7.213, allocations: 41.7 kB / 3.425 GB, free: 51.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/7.213, allocations: 8 kB / 3.425 GB, free: 51.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.581e-05/7.213, allocations: 16 kB / 3.425 GB, free: 51.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005883/7.213, allocations: 187.7 kB / 3.425 GB, free: 51.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.814e-05/7.213, allocations: 19.94 kB / 3.425 GB, free: 51.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00113/7.214, allocations: 167.3 kB / 3.425 GB, free: 51.24 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.03e-05/7.214, allocations: 44.03 kB / 3.425 GB, free: 51.2 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 (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.0001543/7.215, allocations: 165.2 kB / 3.425 GB, free: 51.03 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000165/7.215, allocations: 102.8 kB / 3.425 GB, free: 50.93 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008619/7.216, allocations: 0.5951 MB / 3.426 GB, free: 50.32 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/7.216, allocations: 8 kB / 3.426 GB, free: 50.31 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/7.216, allocations: 0 / 3.426 GB, free: 50.31 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000548/7.216, allocations: 0.4938 MB / 3.426 GB, free: 49.8 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002206/7.218, allocations: 1.666 MB / 3.428 GB, free: 48.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/7.218, allocations: 4 kB / 3.428 GB, free: 48.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004978/7.219, allocations: 119.8 kB / 3.428 GB, free: 47.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.683e-06/7.219, allocations: 0 / 3.428 GB, free: 47.95 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.507e-05/7.219, allocations: 16 kB / 3.428 GB, free: 47.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/7.219, allocations: 4 kB / 3.428 GB, free: 47.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/7.219, allocations: 0 / 3.428 GB, free: 47.93 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/7.22, allocations: 1.137 MB / 3.429 GB, free: 46.75 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004413/7.221, allocations: 267.8 kB / 3.429 GB, free: 46.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/7.221, allocations: 8 kB / 3.429 GB, free: 46.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007128/7.221, allocations: 71.84 kB / 3.43 GB, free: 46.39 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.146e-05/7.222, allocations: 32.39 kB / 3.43 GB, free: 46.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.577e-05/7.222, allocations: 27.98 kB / 3.43 GB, free: 46.33 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0006173/7.222, allocations: 0.5811 MB / 3.43 GB, free: 45.75 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3e-07/7.222, allocations: 0 / 3.43 GB, free: 45.75 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001825/7.224, allocations: 0.5227 MB / 3.431 GB, free: 45.23 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.002621/7.227, allocations: 1.911 MB / 3.433 GB, free: 43.26 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001088/7.228, allocations: 0.7059 MB / 3.433 GB, free: 42.55 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 7.393e-06/7.228, allocations: 12.2 kB / 3.433 GB, free: 42.54 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002779/7.228, allocations: 270.3 kB / 3.434 GB, free: 42.27 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002357/7.23, allocations: 0.4911 MB / 3.434 GB, free: 41.79 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00256/7.233, allocations: 1.637 MB / 3.436 GB, free: 40.11 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005292/7.234, allocations: 1.193 MB / 3.437 GB, free: 38.88 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0009108/7.234, allocations: 288.1 kB / 3.437 GB, free: 38.6 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001597/7.235, allocations: 79.42 kB / 3.437 GB, free: 38.52 MB / 0.6198 GB Notification: Performance of SimCode: time 9.72e-07/7.235, allocations: 0 / 3.437 GB, free: 38.52 MB / 0.6198 GB Notification: Performance of Templates: time 0.05503/7.29, allocations: 44.49 MB / 3.481 GB, free: 10.11 MB / 0.6355 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)