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.2031/0.2044, allocations: 82.22 MB / 0.5941 GB, free: 5.637 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.4614/0.6658, allocations: 182 MB / 0.7718 GB, free: 11.51 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006654/0.6725, allocations: 4.007 MB / 0.7757 GB, free: 10.71 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005989/0.6732, allocations: 25.78 kB / 0.7758 GB, free: 10.7 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001228/0.6744, allocations: 419.5 kB / 0.7762 GB, free: 10.48 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002448/0.6768, allocations: 1.138 MB / 0.7773 GB, free: 9.969 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001838/0.6787, allocations: 0.8063 MB / 0.7781 GB, free: 9.734 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003226/0.6819, allocations: 3.284 MB / 0.7813 GB, free: 8.066 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007845/0.6827, allocations: 0.5952 MB / 0.7818 GB, free: 7.715 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001969/0.6847, allocations: 1.057 MB / 0.7829 GB, free: 7.195 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001268/0.686, allocations: 0.7026 MB / 0.7836 GB, free: 6.875 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.476e-05/0.6861, allocations: 35.25 kB / 0.7836 GB, free: 6.875 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001952/0.6881, allocations: 1.128 MB / 0.7847 GB, free: 6.332 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003335/0.6884, allocations: 318.9 kB / 0.785 GB, free: 6.141 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005077/0.6889, allocations: 477.6 kB / 0.7855 GB, free: 5.859 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001937/0.6909, allocations: 1.617 MB / 0.787 GB, free: 4.891 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.6909, allocations: 0 / 0.787 GB, free: 4.891 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.473e-06/0.6909, allocations: 0 / 0.787 GB, free: 4.891 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.524e-05/0.6909, allocations: 0 / 0.787 GB, free: 4.891 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.001817/0.6927, allocations: 1.074 MB / 0.7881 GB, free: 4.016 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.6928, allocations: 8.156 kB / 0.7881 GB, free: 4.016 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001126/0.6939, allocations: 193.2 kB / 0.7883 GB, free: 3.93 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009537/0.6949, allocations: 0.5969 MB / 0.7889 GB, free: 3.449 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.819e-05/0.6949, allocations: 49.66 kB / 0.7889 GB, free: 3.43 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001204/0.6951, allocations: 70.39 kB / 0.789 GB, free: 3.406 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001565/0.6966, allocations: 0.8241 MB / 0.7898 GB, free: 2.926 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.6967, allocations: 0 / 0.7898 GB, free: 2.926 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.037e-05/0.6968, allocations: 36.22 kB / 0.7898 GB, free: 2.898 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.108e-05/0.6968, allocations: 27.56 kB / 0.7898 GB, free: 2.895 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001269/0.6981, allocations: 0.663 MB / 0.7905 GB, free: 2.574 MB / 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.003469/0.7015, allocations: 2.837 MB / 0.7933 GB, free: 148 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009553/0.7025, allocations: 474.5 kB / 0.7937 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003328/0.7029, allocations: 233.9 kB / 0.7939 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003498/0.7032, allocations: 127.9 kB / 0.7941 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.7033, allocations: 57.62 kB / 0.7941 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=40): time 2.034e-06/0.7033, allocations: 0 / 0.7941 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of matching and sorting (n=40): time 0.001573/0.7048, allocations: 0.6795 MB / 0.7948 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.7049, allocations: 56.53 kB / 0.7948 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006312/0.7055, allocations: 0.6094 MB / 0.7954 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.505e-05/0.7056, allocations: 32.95 kB / 0.7955 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000241/0.7059, allocations: 361.9 kB / 0.7958 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000109/0.706, allocations: 142.5 kB / 0.7959 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.707e-05/0.7061, allocations: 52.22 kB / 0.796 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.7062, allocations: 373 kB / 0.7963 GB, free: 14 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004061/0.7066, allocations: 211.3 kB / 0.7965 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004782/0.7071, allocations: 350.2 kB / 0.7969 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000857/0.708, allocations: 0.5776 MB / 0.7974 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.708, allocations: 0 / 0.7974 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001161/0.7092, allocations: 0.7163 MB / 0.7981 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000135/0.7093, allocations: 221.1 kB / 0.7984 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.7093, allocations: 3.312 kB / 0.7984 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.7094, allocations: 8.594 kB / 0.7984 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001734/0.7111, allocations: 339 kB / 0.7987 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002356/0.7135, allocations: 1.615 MB / 0.8003 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007029/0.7142, allocations: 114.7 kB / 0.8004 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.427e-05/0.7142, allocations: 20.72 kB / 0.8004 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.16e-06/0.7143, allocations: 5.406 kB / 0.8004 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009497/0.7152, allocations: 0.6058 MB / 0.801 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.7152, allocations: 3.312 kB / 0.801 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.939e-06/0.7152, allocations: 5.438 kB / 0.801 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004228/0.7157, allocations: 114.4 kB / 0.8011 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.7157, allocations: 6.062 kB / 0.8011 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005519/0.7162, allocations: 91.16 kB / 0.8012 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.615e-05/0.7163, allocations: 24.72 kB / 0.8012 GB, free: 10.51 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.0004003/0.7167, allocations: 345.3 kB / 0.8016 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.7168, allocations: 63.78 kB / 0.8016 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009564/0.7178, allocations: 0.5296 MB / 0.8021 GB, free: 9.879 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.7178, allocations: 6.25 kB / 0.8021 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.7178, allocations: 0 / 0.8021 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008577/0.7187, allocations: 0.7209 MB / 0.8028 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002133/0.7208, allocations: 1.365 MB / 0.8042 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.7208, allocations: 4 kB / 0.8042 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001608/0.7224, allocations: 310.3 kB / 0.8045 GB, free: 7.484 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.7225, allocations: 4 kB / 0.8045 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.088e-05/0.7225, allocations: 8 kB / 0.8045 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002163/0.7247, allocations: 1.59 MB / 0.806 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.7247, allocations: 0 / 0.806 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001445/0.7261, allocations: 0.8708 MB / 0.8069 GB, free: 4.848 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003122/0.7265, allocations: 216 kB / 0.8071 GB, free: 4.617 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.31e-05/0.7266, allocations: 15.98 kB / 0.8071 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006583/0.7272, allocations: 59.94 kB / 0.8072 GB, free: 4.543 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.29e-05/0.7273, allocations: 31.84 kB / 0.8072 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.521e-05/0.7274, allocations: 27.97 kB / 0.8072 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005288/0.7279, allocations: 439 kB / 0.8076 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.553e-06/0.7279, allocations: 0 / 0.8076 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001237/0.7292, allocations: 415.1 kB / 0.808 GB, free: 3.652 MB / 0.5606 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.0004917/0.7297, allocations: 200.6 kB / 0.8082 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002964/0.7327, allocations: 1.209 MB / 0.8094 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.7327, allocations: 5.125 kB / 0.8094 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002656/0.7353, allocations: 0.588 MB / 0.81 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002303/0.7376, allocations: 432.1 kB / 0.8104 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003054/0.7407, allocations: 1.907 MB / 0.8123 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005582/0.7413, allocations: 0.9733 MB / 0.8132 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008118/0.7421, allocations: 217.6 kB / 0.8134 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001471/0.7423, allocations: 63.42 kB / 0.8135 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of SimCode: time 7.51e-07/0.7423, allocations: 0 / 0.8135 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of Templates: time 0.0266/0.7689, allocations: 15.29 MB / 0.8284 GB, free: 14.9 MB / 0.5919 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: