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.7387/0.7387, 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.001138/0.001138, allocations: 176.8 kB / 176.9 MB, free: 2.262 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.464/1.464, allocations: 170.5 MB / 379.3 MB, free: 11.86 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.001658/0.001658, allocations: 108.7 kB / 450 MB, free: 5.852 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.4357/0.4358, allocations: 73.39 MB / 0.6736 GB, free: 47.67 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.351/4.786, allocations: 2.143 GB / 2.816 GB, free: 3.953 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002781/4.787, allocations: 90.52 kB / 2.816 GB, free: 3.867 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.558/6.345, allocations: 419.4 MB / 3.226 GB, free: 80.17 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.042e-06/6.345, allocations: 0 / 3.226 GB, free: 80.17 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.127e-05/6.345, allocations: 27.98 kB / 3.226 GB, free: 80.14 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.002027/6.347, allocations: 1.111 MB / 3.227 GB, free: 78.98 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/6.347, allocations: 8.031 kB / 3.227 GB, free: 78.97 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001141/6.348, allocations: 194.8 kB / 3.227 GB, free: 78.78 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/6.35, allocations: 0.661 MB / 3.228 GB, free: 78.08 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.244e-05/6.35, allocations: 49.31 kB / 3.228 GB, free: 78.04 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.089e-05/6.35, allocations: 64 kB / 3.228 GB, free: 77.97 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001225/6.351, allocations: 0.7651 MB / 3.229 GB, free: 77.19 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.111e-05/6.351, allocations: 3.938 kB / 3.229 GB, free: 77.19 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.669e-05/6.351, allocations: 32 kB / 3.229 GB, free: 77.16 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.005e-05/6.351, allocations: 21.31 kB / 3.229 GB, free: 77.13 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009634/6.352, allocations: 0.6064 MB / 3.229 GB, free: 76.52 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.002918/6.355, allocations: 2.653 MB / 3.232 GB, free: 73.67 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006514/6.356, allocations: 405.5 kB / 3.232 GB, free: 73.27 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002441/6.356, allocations: 213.4 kB / 3.232 GB, free: 73.06 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002619/6.356, allocations: 125.4 kB / 3.233 GB, free: 72.92 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/6.356, allocations: 38.89 kB / 3.233 GB, free: 72.87 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=40): time 2.384e-06/6.356, allocations: 0 / 3.233 GB, free: 72.87 MB / 0.6198 GB Notification: Performance of matching and sorting (n=40): time 0.001046/6.357, allocations: 0.4914 MB / 3.233 GB, free: 72.38 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.513e-05/6.357, allocations: 59.34 kB / 3.233 GB, free: 72.3 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005016/6.358, allocations: 0.5306 MB / 3.234 GB, free: 71.77 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.749e-05/6.358, allocations: 37.7 kB / 3.234 GB, free: 71.72 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001701/6.358, allocations: 360.5 kB / 3.234 GB, free: 71.37 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.684e-05/6.358, allocations: 141.9 kB / 3.234 GB, free: 71.23 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.696e-05/6.358, allocations: 12 kB / 3.234 GB, free: 71.21 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000102/6.358, allocations: 378.8 kB / 3.235 GB, free: 70.84 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002559/6.359, allocations: 185.1 kB / 3.235 GB, free: 70.65 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003066/6.359, allocations: 319.7 kB / 3.235 GB, free: 70.3 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003287/6.359, allocations: 288.9 kB / 3.235 GB, free: 70.01 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/6.359, allocations: 4 kB / 3.235 GB, free: 70 MB / 0.6198 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0008319/6.36, allocations: 0.6663 MB / 3.236 GB, free: 69.32 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002424/6.36, allocations: 1.107 MB / 3.237 GB, free: 68.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/6.36, allocations: 4 kB / 3.237 GB, free: 68.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.468e-05/6.36, allocations: 12.03 kB / 3.237 GB, free: 68.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001567/6.362, allocations: 319.6 kB / 3.237 GB, free: 67.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005768/6.363, allocations: 0.668 MB / 3.238 GB, free: 67.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007732/6.363, allocations: 103.3 kB / 3.238 GB, free: 67 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.44e-05/6.363, allocations: 23.98 kB / 3.238 GB, free: 66.97 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.508e-06/6.363, allocations: 4 kB / 3.238 GB, free: 66.97 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007319/6.364, allocations: 0.5873 MB / 3.239 GB, free: 66.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.371e-06/6.364, allocations: 7.953 kB / 3.239 GB, free: 66.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.861e-06/6.364, allocations: 4 kB / 3.239 GB, free: 66.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003983/6.365, allocations: 111.8 kB / 3.239 GB, free: 66.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/6.365, allocations: 8 kB / 3.239 GB, free: 66.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005591/6.365, allocations: 83.83 kB / 3.239 GB, free: 66.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.671e-05/6.365, allocations: 20 kB / 3.239 GB, free: 66.14 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.0001508/6.365, allocations: 144.8 kB / 3.239 GB, free: 65.99 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.987e-05/6.365, allocations: 75.09 kB / 3.239 GB, free: 65.91 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007139/6.366, allocations: 0.4888 MB / 3.24 GB, free: 65.41 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/6.366, allocations: 4 kB / 3.24 GB, free: 65.41 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/6.366, allocations: 3.938 kB / 3.24 GB, free: 65.41 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005163/6.367, allocations: 0.6871 MB / 3.24 GB, free: 64.63 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001763/6.368, allocations: 1.326 MB / 3.242 GB, free: 63.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/6.368, allocations: 0 / 3.242 GB, free: 63.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001514/6.37, allocations: 311.8 kB / 3.242 GB, free: 62.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.702e-06/6.37, allocations: 4 kB / 3.242 GB, free: 62.92 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.204e-05/6.37, allocations: 12 kB / 3.242 GB, free: 62.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001417/6.371, allocations: 1.462 MB / 3.243 GB, free: 61.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/6.372, allocations: 4.031 kB / 3.243 GB, free: 61.31 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008738/6.372, allocations: 0.8593 MB / 3.244 GB, free: 60.38 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002828/6.373, allocations: 216.2 kB / 3.244 GB, free: 60.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.53e-05/6.373, allocations: 12 kB / 3.244 GB, free: 60.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006296/6.373, allocations: 63.84 kB / 3.244 GB, free: 60.08 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.484e-05/6.373, allocations: 27.91 kB / 3.245 GB, free: 60.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.934e-05/6.374, allocations: 27.94 kB / 3.245 GB, free: 60.02 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004459/6.374, allocations: 427.1 kB / 3.245 GB, free: 59.61 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.51e-07/6.374, allocations: 4 kB / 3.245 GB, free: 59.61 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001645/6.376, allocations: 0.5382 MB / 3.245 GB, free: 59.07 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.002282/6.378, allocations: 1.389 MB / 3.247 GB, free: 57.64 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002372/6.38, allocations: 1.142 MB / 3.248 GB, free: 56.45 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/6.38, allocations: 0 / 3.248 GB, free: 56.45 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.002284/6.383, allocations: 0.5512 MB / 3.248 GB, free: 55.9 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00204/6.385, allocations: 428.6 kB / 3.249 GB, free: 55.48 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002371/6.387, allocations: 1.21 MB / 3.25 GB, free: 54.22 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000561/6.388, allocations: 0.9939 MB / 3.251 GB, free: 53.2 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001216/6.389, allocations: 277.5 kB / 3.251 GB, free: 52.93 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00015/6.389, allocations: 51.42 kB / 3.251 GB, free: 52.88 MB / 0.6198 GB Notification: Performance of SimCode: time 5.1e-07/6.389, allocations: 0 / 3.251 GB, free: 52.88 MB / 0.6198 GB Notification: Performance of Templates: time 0.04378/6.433, allocations: 36.02 MB / 3.287 GB, free: 16.92 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)