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/Modelica_StateGraph2 2.0.2/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/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") [/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.142/0.1439, allocations: 80.83 MB / 0.5899 GB, free: 7.004 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.4795/0.6234, allocations: 184.2 MB / 0.7698 GB, free: 11.21 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006249/0.6296, allocations: 3.97 MB / 0.7736 GB, free: 9.414 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001206/0.6309, allocations: 24.75 kB / 0.7737 GB, free: 9.402 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001268/0.6322, allocations: 446.7 kB / 0.7741 GB, free: 9.09 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002874/0.6351, allocations: 1.121 MB / 0.7752 GB, free: 8.227 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002009/0.6371, allocations: 0.8386 MB / 0.776 GB, free: 7.621 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00263/0.6398, allocations: 2.337 MB / 0.7783 GB, free: 6.309 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008643/0.6406, allocations: 0.7092 MB / 0.779 GB, free: 5.859 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002579/0.6432, allocations: 1.204 MB / 0.7801 GB, free: 5.152 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001542/0.6448, allocations: 0.7465 MB / 0.7809 GB, free: 4.73 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001375/0.6449, allocations: 85.97 kB / 0.781 GB, free: 4.73 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002037/0.647, allocations: 1.089 MB / 0.782 GB, free: 4.152 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003737/0.6473, allocations: 373 kB / 0.7824 GB, free: 3.902 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005234/0.6479, allocations: 0.5044 MB / 0.7829 GB, free: 3.59 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002457/0.6503, allocations: 1.67 MB / 0.7845 GB, free: 2.504 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.6504, allocations: 0 / 0.7845 GB, free: 2.504 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.773e-06/0.6504, allocations: 6.469 kB / 0.7845 GB, free: 2.5 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.156e-05/0.6504, allocations: 0 / 0.7845 GB, free: 2.5 MB / 0.545 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.001991/0.6524, allocations: 1.259 MB / 0.7857 GB, free: 1.5 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.6524, allocations: 9.438 kB / 0.7857 GB, free: 1.5 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001166/0.6536, allocations: 186.4 kB / 0.7859 GB, free: 1.418 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008762/0.6545, allocations: 0.6064 MB / 0.7865 GB, free: 0.9219 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.093e-05/0.6545, allocations: 52.94 kB / 0.7866 GB, free: 0.8984 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.403e-05/0.6546, allocations: 65.5 kB / 0.7866 GB, free: 0.8789 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001457/0.6561, allocations: 0.811 MB / 0.7874 GB, free: 412 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.6561, allocations: 0 / 0.7874 GB, free: 412 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.079e-05/0.6562, allocations: 27.34 kB / 0.7874 GB, free: 392 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.279e-05/0.6563, allocations: 23.56 kB / 0.7875 GB, free: 388 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00122/0.6575, allocations: 0.6618 MB / 0.7881 GB, free: 52 kB / 0.545 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.003674/0.6612, allocations: 2.834 MB / 0.7909 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009201/0.6621, allocations: 458.2 kB / 0.7913 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003391/0.6625, allocations: 230.2 kB / 0.7915 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003386/0.6628, allocations: 127.7 kB / 0.7917 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.864e-05/0.6629, allocations: 41.52 kB / 0.7917 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=40): time 1.734e-06/0.6629, allocations: 0 / 0.7917 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of matching and sorting (n=40): time 0.001625/0.6645, allocations: 0.6697 MB / 0.7923 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.6645, allocations: 60.34 kB / 0.7924 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006383/0.6652, allocations: 0.6093 MB / 0.793 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.001e-05/0.6653, allocations: 38.86 kB / 0.793 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002247/0.6655, allocations: 352.3 kB / 0.7934 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/0.6656, allocations: 150 kB / 0.7935 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001717/0.6658, allocations: 110 kB / 0.7936 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002001/0.666, allocations: 373.7 kB / 0.794 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004046/0.6664, allocations: 215.5 kB / 0.7942 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004758/0.6669, allocations: 343.6 kB / 0.7945 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008555/0.6677, allocations: 0.5698 MB / 0.7951 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/0.6678, allocations: 1.5 kB / 0.7951 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001152/0.6689, allocations: 0.7111 MB / 0.7958 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.217e-05/0.669, allocations: 59.38 kB / 0.7958 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.669, allocations: 5.031 kB / 0.7958 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.669, allocations: 4.812 kB / 0.7958 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001684/0.6707, allocations: 272.7 kB / 0.7961 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002393/0.6731, allocations: 1.654 MB / 0.7977 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007267/0.6739, allocations: 105.6 kB / 0.7978 GB, free: 8.316 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.233e-05/0.6739, allocations: 23.98 kB / 0.7978 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000606/0.6745, allocations: 401.1 kB / 0.7982 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004148/0.675, allocations: 327.6 kB / 0.7985 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007495/0.6757, allocations: 0.5472 MB / 0.7991 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.058e-06/0.6757, allocations: 4 kB / 0.7991 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.00103/0.6768, allocations: 0.6781 MB / 0.7997 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.229e-05/0.6768, allocations: 59.41 kB / 0.7998 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.6768, allocations: 4 kB / 0.7998 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.089e-06/0.6768, allocations: 4.344 kB / 0.7998 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004442/0.6773, allocations: 121.6 kB / 0.7999 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.6773, allocations: 11.94 kB / 0.7999 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006161/0.6779, allocations: 75.55 kB / 0.8 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.176e-05/0.678, allocations: 24 kB / 0.8 GB, free: 5.922 MB / 0.5606 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 (senMasFra1.i_x,senMasFra2.i_x) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002101/0.6782, allocations: 212.4 kB / 0.8002 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001475/0.6783, allocations: 67.25 kB / 0.8003 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009479/0.6793, allocations: 0.5157 MB / 0.8008 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.6793, allocations: 8 kB / 0.8008 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.6793, allocations: 0 / 0.8008 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009737/0.6803, allocations: 0.7299 MB / 0.8015 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002132/0.6824, allocations: 1.357 MB / 0.8028 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.6825, allocations: 0 / 0.8028 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00157/0.684, allocations: 247.8 kB / 0.8031 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.684, allocations: 4 kB / 0.8031 GB, free: 2.613 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.486e-05/0.6841, allocations: 12 kB / 0.8031 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002138/0.6862, allocations: 1.612 MB / 0.8047 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.073e-05/0.6863, allocations: 12.91 kB / 0.8047 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001333/0.6876, allocations: 0.8512 MB / 0.8055 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000302/0.6879, allocations: 216.1 kB / 0.8057 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.786e-05/0.688, allocations: 11.91 kB / 0.8057 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006437/0.6887, allocations: 68.06 kB / 0.8058 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.139e-05/0.6888, allocations: 31.84 kB / 0.8058 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.425e-05/0.6888, allocations: 27.97 kB / 0.8058 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005243/0.6894, allocations: 435 kB / 0.8063 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.01e-07/0.6894, allocations: 0 / 0.8063 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001137/0.6905, allocations: 419.1 kB / 0.8067 GB, free: 14.76 MB / 0.5762 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 () * Number of clocked 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004805/0.691, allocations: 190.5 kB / 0.8068 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003005/0.694, allocations: 1.183 MB / 0.808 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.65e-06/0.694, allocations: 4 kB / 0.808 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002638/0.6967, allocations: 0.5079 MB / 0.8085 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002082/0.6988, allocations: 451.9 kB / 0.8089 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002842/0.7016, allocations: 1.809 MB / 0.8107 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005587/0.7022, allocations: 0.9772 MB / 0.8116 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008853/0.7031, allocations: 213.6 kB / 0.8118 GB, free: 9.355 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001513/0.7032, allocations: 51.44 kB / 0.8119 GB, free: 9.305 MB / 0.5762 GB Notification: Performance of SimCode: time 1.533e-06/0.7033, allocations: 0 / 0.8119 GB, free: 9.305 MB / 0.5762 GB Notification: Performance of Templates: time 0.02595/0.7292, allocations: 15.82 MB / 0.8273 GB, free: 9.699 MB / 0.5919 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)