Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.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.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.MassFraction") translateModel(Buildings.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.MassFraction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8025/0.8025, allocations: 132.4 MB / 139.9 MB, free: 2.828 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00105/0.00105, allocations: 183.9 kB / 171.8 MB, free: 4.922 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.38/1.38, allocations: 170.6 MB / 374.2 MB, free: 200 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00166/0.00166, allocations: 107.4 kB / 444.8 MB, free: 14.18 MB / 314.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.1473/0.1474, allocations: 73.41 MB / 0.6666 GB, free: 15.66 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.331/5.478, allocations: 2.142 GB / 2.809 GB, free: 30.73 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003292/5.479, allocations: 84.89 kB / 2.809 GB, free: 30.65 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.711/7.19, allocations: 414.4 MB / 3.213 GB, free: 113.2 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.763e-06/7.19, allocations: 0 / 3.213 GB, free: 113.2 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001131/7.19, allocations: 20 kB / 3.213 GB, free: 113.2 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.003316/7.194, allocations: 1.119 MB / 3.214 GB, free: 112 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/7.194, allocations: 12.03 kB / 3.214 GB, free: 112 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001768/7.195, allocations: 199.1 kB / 3.215 GB, free: 111.8 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001944/7.197, allocations: 0.6548 MB / 3.215 GB, free: 111.1 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.875e-05/7.197, allocations: 20 kB / 3.215 GB, free: 111.1 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002261/7.198, allocations: 40 kB / 3.215 GB, free: 111 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00123/7.199, allocations: 0.5492 MB / 3.216 GB, free: 110.5 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001336/7.2, allocations: 0.6298 MB / 3.216 GB, free: 109.8 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.718e-05/7.2, allocations: 0 / 3.216 GB, free: 109.8 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001079/7.2, allocations: 7.984 kB / 3.216 GB, free: 109.8 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.585e-05/7.2, allocations: 33.2 kB / 3.216 GB, free: 109.8 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.004056/7.205, allocations: 2.492 MB / 3.219 GB, free: 107.2 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004901/7.205, allocations: 360.6 kB / 3.219 GB, free: 106.8 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002537/7.205, allocations: 209.3 kB / 3.219 GB, free: 106.6 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002835/7.206, allocations: 121.1 kB / 3.22 GB, free: 106.5 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.069e-05/7.206, allocations: 46.89 kB / 3.22 GB, free: 106.4 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=40): time 2.735e-06/7.206, allocations: 0 / 3.22 GB, free: 106.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=40): time 0.001181/7.207, allocations: 459 kB / 3.22 GB, free: 106 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.558e-05/7.207, allocations: 59.39 kB / 3.22 GB, free: 105.9 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004655/7.207, allocations: 385.4 kB / 3.22 GB, free: 105.5 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.225e-05/7.207, allocations: 33.7 kB / 3.221 GB, free: 105.5 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002065/7.208, allocations: 363.6 kB / 3.221 GB, free: 105.1 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/7.208, allocations: 145.9 kB / 3.221 GB, free: 105 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.891e-05/7.208, allocations: 0 / 3.221 GB, free: 105 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001252/7.208, allocations: 358.8 kB / 3.221 GB, free: 104.6 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002639/7.208, allocations: 181.1 kB / 3.222 GB, free: 104.4 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003117/7.209, allocations: 306.5 kB / 3.222 GB, free: 104.1 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004802/7.209, allocations: 256.6 kB / 3.222 GB, free: 103.8 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/7.209, allocations: 4 kB / 3.222 GB, free: 103.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0009784/7.21, allocations: 0.588 MB / 3.223 GB, free: 103.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002948/7.21, allocations: 1.103 MB / 3.224 GB, free: 102 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/7.21, allocations: 7.953 kB / 3.224 GB, free: 102 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.622e-05/7.21, allocations: 4 kB / 3.224 GB, free: 102 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001753/7.212, allocations: 339.6 kB / 3.224 GB, free: 101.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006717/7.213, allocations: 0.6719 MB / 3.225 GB, free: 101 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008692/7.214, allocations: 87.41 kB / 3.225 GB, free: 100.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.685e-05/7.214, allocations: 24 kB / 3.225 GB, free: 100.9 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/7.214, allocations: 0 / 3.225 GB, free: 100.9 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008677/7.215, allocations: 0.4981 MB / 3.225 GB, free: 100.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.443e-06/7.215, allocations: 352 / 3.225 GB, free: 100.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.716e-06/7.215, allocations: 12 kB / 3.225 GB, free: 100.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004269/7.215, allocations: 115.8 kB / 3.225 GB, free: 100.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/7.215, allocations: 7.953 kB / 3.225 GB, free: 100.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006959/7.216, allocations: 63.64 kB / 3.225 GB, free: 100.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.384e-05/7.216, allocations: 24 kB / 3.226 GB, free: 100.2 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 2 (senMasFra2.i_x,senMasFra1.i_x) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001853/7.216, allocations: 112.9 kB / 3.226 GB, free: 100.1 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001424/7.216, allocations: 59.34 kB / 3.226 GB, free: 100 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007452/7.217, allocations: 471.8 kB / 3.226 GB, free: 99.52 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/7.217, allocations: 8 kB / 3.226 GB, free: 99.52 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/7.217, allocations: 3.953 kB / 3.226 GB, free: 99.51 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005791/7.218, allocations: 0.6796 MB / 3.227 GB, free: 98.75 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001902/7.22, allocations: 1.229 MB / 3.228 GB, free: 97.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/7.22, allocations: 4 kB / 3.228 GB, free: 97.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001511/7.221, allocations: 319.8 kB / 3.228 GB, free: 97.15 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.768e-06/7.221, allocations: 0 / 3.228 GB, free: 97.15 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.58e-05/7.221, allocations: 8 kB / 3.228 GB, free: 97.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001492/7.223, allocations: 1.407 MB / 3.23 GB, free: 95.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.032e-06/7.223, allocations: 7.969 kB / 3.23 GB, free: 95.62 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009105/7.224, allocations: 0.8223 MB / 3.23 GB, free: 94.72 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002921/7.224, allocations: 200.3 kB / 3.231 GB, free: 94.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.061e-05/7.224, allocations: 4 kB / 3.231 GB, free: 94.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006202/7.225, allocations: 59.86 kB / 3.231 GB, free: 94.45 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.619e-05/7.225, allocations: 39.84 kB / 3.231 GB, free: 94.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.143e-05/7.225, allocations: 19.98 kB / 3.231 GB, free: 94.39 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002935/7.225, allocations: 306.9 kB / 3.231 GB, free: 94.09 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/7.225, allocations: 4 kB / 3.231 GB, free: 94.09 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001294/7.226, allocations: 0.491 MB / 3.232 GB, free: 93.59 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],senMasFra1.X) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00198/7.228, allocations: 1.557 MB / 3.233 GB, free: 92.21 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002293/7.231, allocations: 1.116 MB / 3.234 GB, free: 91.05 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/7.231, allocations: 0 / 3.234 GB, free: 91.05 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.002292/7.233, allocations: 0.5364 MB / 3.235 GB, free: 90.52 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001517/7.234, allocations: 345.8 kB / 3.235 GB, free: 90.19 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002036/7.237, allocations: 1.165 MB / 3.236 GB, free: 88.99 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003896/7.237, allocations: 0.9908 MB / 3.237 GB, free: 87.98 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0008553/7.238, allocations: 231.3 kB / 3.237 GB, free: 87.76 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/7.238, allocations: 47.44 kB / 3.237 GB, free: 87.71 MB / 0.6198 GB Notification: Performance of SimCode: time 4.01e-07/7.238, allocations: 0 / 3.237 GB, free: 87.71 MB / 0.6198 GB Notification: Performance of Templates: time 0.03117/7.269, allocations: 20.85 MB / 3.258 GB, free: 67.02 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.sim & ./Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)