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.1839/0.1846, allocations: 82.22 MB / 0.5935 GB, free: 5.996 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.5933/0.778, allocations: 169.8 MB / 0.7593 GB, free: 14.75 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007526/0.7856, allocations: 3.752 MB / 0.7629 GB, free: 13.99 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001117/0.7868, allocations: 25.59 kB / 0.763 GB, free: 13.98 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001262/0.788, allocations: 336.3 kB / 0.7633 GB, free: 13.75 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003156/0.7912, allocations: 0.9445 MB / 0.7642 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002411/0.7936, allocations: 0.6768 MB / 0.7649 GB, free: 12.82 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003586/0.7972, allocations: 2.77 MB / 0.7676 GB, free: 11.82 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009961/0.7982, allocations: 0.5469 MB / 0.7681 GB, free: 11.58 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002667/0.8009, allocations: 0.9854 MB / 0.7691 GB, free: 11.16 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001284/0.8022, allocations: 0.6655 MB / 0.7697 GB, free: 10.86 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001053/0.8023, allocations: 38.41 kB / 0.7698 GB, free: 10.86 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001847/0.8042, allocations: 0.7102 MB / 0.7705 GB, free: 10.62 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003761/0.8046, allocations: 318.3 kB / 0.7708 GB, free: 10.48 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002939/0.8049, allocations: 212.7 kB / 0.771 GB, free: 10.42 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00145/0.8063, allocations: 1.139 MB / 0.7721 GB, free: 9.797 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.8064, allocations: 4 kB / 0.7721 GB, free: 9.793 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.024e-06/0.8064, allocations: 2.906 kB / 0.7721 GB, free: 9.793 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.549e-05/0.8064, allocations: 0 / 0.7721 GB, free: 9.793 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.001922/0.8083, allocations: 1.089 MB / 0.7731 GB, free: 8.965 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.8084, allocations: 10.44 kB / 0.7732 GB, free: 8.965 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001091/0.8095, allocations: 185.7 kB / 0.7733 GB, free: 8.891 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009268/0.8104, allocations: 0.5868 MB / 0.7739 GB, free: 8.504 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.675e-05/0.8105, allocations: 54.61 kB / 0.774 GB, free: 8.504 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.8106, allocations: 64.75 kB / 0.774 GB, free: 8.504 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001484/0.8121, allocations: 0.8241 MB / 0.7748 GB, free: 8.258 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/0.8121, allocations: 0 / 0.7748 GB, free: 8.258 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.926e-05/0.8122, allocations: 28.81 kB / 0.7749 GB, free: 8.258 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.397e-05/0.8122, allocations: 24.7 kB / 0.7749 GB, free: 8.254 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001249/0.8135, allocations: 0.665 MB / 0.7755 GB, free: 8.121 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.003615/0.8171, allocations: 2.832 MB / 0.7783 GB, free: 6.148 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009413/0.8181, allocations: 481.4 kB / 0.7787 GB, free: 6.043 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000332/0.8184, allocations: 232.2 kB / 0.779 GB, free: 6 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003578/0.8188, allocations: 124.8 kB / 0.7791 GB, free: 5.895 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.113e-05/0.8188, allocations: 41.47 kB / 0.7791 GB, free: 5.852 MB / 0.545 GB Notification: Performance of pre-optimization done (n=40): time 2.134e-06/0.8188, allocations: 4 kB / 0.7791 GB, free: 5.848 MB / 0.545 GB Notification: Performance of matching and sorting (n=40): time 0.001609/0.8204, allocations: 0.684 MB / 0.7798 GB, free: 5.68 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.401e-05/0.8205, allocations: 54.31 kB / 0.7799 GB, free: 5.617 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007361/0.8213, allocations: 0.6099 MB / 0.7804 GB, free: 5.387 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.79e-05/0.8213, allocations: 35.23 kB / 0.7805 GB, free: 5.355 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002638/0.8216, allocations: 354.1 kB / 0.7808 GB, free: 5.152 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001429/0.8218, allocations: 141.3 kB / 0.781 GB, free: 5.047 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.168e-05/0.8218, allocations: 13.22 kB / 0.781 GB, free: 5.047 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.822, allocations: 376.2 kB / 0.7813 GB, free: 4.711 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004202/0.8224, allocations: 207.4 kB / 0.7815 GB, free: 4.676 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004798/0.8229, allocations: 346 kB / 0.7819 GB, free: 4.5 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005024/0.8234, allocations: 313.9 kB / 0.7822 GB, free: 4.402 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.8234, allocations: 0 / 0.7822 GB, free: 4.402 MB / 0.545 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001201/0.8246, allocations: 0.7105 MB / 0.7828 GB, free: 4.176 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001602/0.8248, allocations: 228.7 kB / 0.7831 GB, free: 3.922 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.457e-06/0.8248, allocations: 2.938 kB / 0.7831 GB, free: 3.922 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.8248, allocations: 9.703 kB / 0.7831 GB, free: 3.918 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001715/0.8266, allocations: 335.4 kB / 0.7834 GB, free: 3.828 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002474/0.829, allocations: 1.616 MB / 0.785 GB, free: 2.383 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008332/0.8299, allocations: 97.11 kB / 0.7851 GB, free: 2.336 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-05/0.83, allocations: 29.03 kB / 0.7851 GB, free: 2.332 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.999e-06/0.83, allocations: 2.969 kB / 0.7851 GB, free: 2.332 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001013/0.831, allocations: 0.6028 MB / 0.7857 GB, free: 2.176 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.831, allocations: 3.938 kB / 0.7857 GB, free: 2.176 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.442e-06/0.831, allocations: 5.312 kB / 0.7857 GB, free: 2.176 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004469/0.8315, allocations: 121 kB / 0.7858 GB, free: 2.152 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.8315, allocations: 10.17 kB / 0.7858 GB, free: 2.148 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005516/0.8321, allocations: 92.42 kB / 0.7859 GB, free: 2.102 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.004e-05/0.8321, allocations: 20.19 kB / 0.7859 GB, free: 2.102 MB / 0.545 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 () * 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 (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.0006287/0.8327, allocations: 334.6 kB / 0.7862 GB, free: 1.883 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001418/0.8329, allocations: 64.25 kB / 0.7863 GB, free: 1.852 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0011/0.834, allocations: 0.5255 MB / 0.7868 GB, free: 1.703 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.834, allocations: 10.91 kB / 0.7868 GB, free: 1.695 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.834, allocations: 0 / 0.7868 GB, free: 1.695 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009655/0.835, allocations: 0.7296 MB / 0.7875 GB, free: 1.195 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002466/0.8375, allocations: 1.362 MB / 0.7889 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/0.8375, allocations: 6.359 kB / 0.7889 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001722/0.8392, allocations: 304.1 kB / 0.7892 GB, free: 484 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/0.8392, allocations: 2.562 kB / 0.7892 GB, free: 484 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.969e-05/0.8393, allocations: 13.42 kB / 0.7892 GB, free: 480 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00213/0.8414, allocations: 1.587 MB / 0.7907 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.8414, allocations: 3.25 kB / 0.7907 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001437/0.8429, allocations: 0.8593 MB / 0.7916 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003668/0.8433, allocations: 206.4 kB / 0.7918 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.043e-05/0.8434, allocations: 8.469 kB / 0.7918 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006083/0.844, allocations: 78.77 kB / 0.7919 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.873e-05/0.8441, allocations: 30.02 kB / 0.7919 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.66e-05/0.8441, allocations: 27.58 kB / 0.7919 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005639/0.8447, allocations: 431 kB / 0.7923 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8447, allocations: 3.938 kB / 0.7923 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001256/0.846, allocations: 413.2 kB / 0.7927 GB, free: 14.28 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 (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.000511/0.8465, allocations: 199.5 kB / 0.7929 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002972/0.8495, allocations: 1.2 MB / 0.7941 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/0.8495, allocations: 3 kB / 0.7941 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002428/0.8519, allocations: 0.597 MB / 0.7947 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002042/0.854, allocations: 431.6 kB / 0.7951 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003021/0.857, allocations: 1.869 MB / 0.7969 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005381/0.8576, allocations: 0.978 MB / 0.7979 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000901/0.8585, allocations: 212.9 kB / 0.7981 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000154/0.8587, allocations: 57.8 kB / 0.7981 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of SimCode: time 1.794e-06/0.8587, allocations: 4 kB / 0.7981 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of Templates: time 0.02555/0.8842, allocations: 14.8 MB / 0.8126 GB, free: 12.8 MB / 0.5762 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: