Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Density.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.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Density") translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Density") [/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.2204/0.2212, allocations: 82.22 MB / 0.5935 GB, free: 5.965 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.7366/0.9579, allocations: 168.2 MB / 0.7577 GB, free: 14.43 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01126/0.9692, allocations: 5.97 MB / 0.7635 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001731/0.971, allocations: 27.25 kB / 0.7636 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00139/0.9724, allocations: 317.3 kB / 0.7639 GB, free: 12.92 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.004061/0.9765, allocations: 1.015 MB / 0.7649 GB, free: 12.24 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003544/0.9801, allocations: 0.9457 MB / 0.7658 GB, free: 11.78 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003979/0.984, allocations: 2.737 MB / 0.7684 GB, free: 10.79 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001244/0.9853, allocations: 0.5587 MB / 0.769 GB, free: 10.54 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002268/0.9876, allocations: 0.8459 MB / 0.7698 GB, free: 10.2 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001286/0.9889, allocations: 0.6666 MB / 0.7705 GB, free: 9.902 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001039/0.989, allocations: 35.53 kB / 0.7705 GB, free: 9.902 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00289/0.9919, allocations: 0.9733 MB / 0.7715 GB, free: 9.566 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003997/0.9923, allocations: 316.8 kB / 0.7718 GB, free: 9.426 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003308/0.9927, allocations: 208 kB / 0.772 GB, free: 9.363 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00173/0.9944, allocations: 1.274 MB / 0.7732 GB, free: 8.684 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.9944, allocations: 0 / 0.7732 GB, free: 8.684 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.184e-06/0.9944, allocations: 0 / 0.7732 GB, free: 8.684 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.83e-05/0.9945, allocations: 0 / 0.7732 GB, free: 8.684 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: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.002023/0.9965, allocations: 1.08 MB / 0.7743 GB, free: 7.902 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.9965, allocations: 10.59 kB / 0.7743 GB, free: 7.902 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0017/0.9982, allocations: 256.3 kB / 0.7745 GB, free: 7.797 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/0.9993, allocations: 0.5808 MB / 0.7751 GB, free: 7.414 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.225e-05/0.9993, allocations: 49.72 kB / 0.7751 GB, free: 7.414 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.954e-05/0.9994, allocations: 64.59 kB / 0.7752 GB, free: 7.414 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001505/1.001, allocations: 0.821 MB / 0.776 GB, free: 7.176 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/1.001, allocations: 0 / 0.776 GB, free: 7.176 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.601e-05/1.001, allocations: 36.22 kB / 0.776 GB, free: 7.172 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-05/1.001, allocations: 21.84 kB / 0.776 GB, free: 7.172 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001291/1.002, allocations: 0.6709 MB / 0.7767 GB, free: 7.039 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.003779/1.006, allocations: 2.878 MB / 0.7795 GB, free: 5.023 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008105/1.007, allocations: 443.1 kB / 0.7799 GB, free: 4.93 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003767/1.007, allocations: 229.8 kB / 0.7801 GB, free: 4.891 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003559/1.008, allocations: 134.8 kB / 0.7803 GB, free: 4.777 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.582e-05/1.008, allocations: 48.22 kB / 0.7803 GB, free: 4.734 MB / 0.545 GB Notification: Performance of pre-optimization done (n=40): time 1.473e-06/1.008, allocations: 0 / 0.7803 GB, free: 4.734 MB / 0.545 GB Notification: Performance of matching and sorting (n=40): time 0.001662/1.009, allocations: 0.7002 MB / 0.781 GB, free: 4.562 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.972e-05/1.01, allocations: 54.03 kB / 0.7811 GB, free: 4.5 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006908/1.01, allocations: 0.607 MB / 0.7817 GB, free: 4.27 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.551e-05/1.01, allocations: 34.39 kB / 0.7817 GB, free: 4.238 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002605/1.011, allocations: 371.3 kB / 0.782 GB, free: 4.023 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/1.011, allocations: 144.7 kB / 0.7822 GB, free: 3.914 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-05/1.011, allocations: 11.91 kB / 0.7822 GB, free: 3.914 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001691/1.011, allocations: 372 kB / 0.7825 GB, free: 3.582 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003809/1.011, allocations: 209.5 kB / 0.7827 GB, free: 3.543 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000455/1.012, allocations: 326.1 kB / 0.7831 GB, free: 3.371 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004326/1.012, allocations: 251 kB / 0.7833 GB, free: 3.336 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/1.012, allocations: 0 / 0.7833 GB, free: 3.336 MB / 0.545 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001103/1.013, allocations: 0.6174 MB / 0.7839 GB, free: 3.176 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001444/1.014, allocations: 167.8 kB / 0.7841 GB, free: 2.992 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/1.014, allocations: 6.844 kB / 0.7841 GB, free: 2.988 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.237e-05/1.014, allocations: 9.609 kB / 0.7841 GB, free: 2.984 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00179/1.015, allocations: 369.5 kB / 0.7844 GB, free: 2.883 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002445/1.018, allocations: 1.614 MB / 0.786 GB, free: 1.438 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006984/1.019, allocations: 105.7 kB / 0.7861 GB, free: 1.387 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.398e-05/1.019, allocations: 20.19 kB / 0.7861 GB, free: 1.387 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.403e-06/1.019, allocations: 1.781 kB / 0.7861 GB, free: 1.387 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008447/1.019, allocations: 0.5036 MB / 0.7866 GB, free: 1.301 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/1.019, allocations: 11.23 kB / 0.7866 GB, free: 1.293 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.33e-06/1.019, allocations: 2.469 kB / 0.7866 GB, free: 1.293 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005255/1.02, allocations: 142.1 kB / 0.7868 GB, free: 1.266 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/1.02, allocations: 9.125 kB / 0.7868 GB, free: 1.262 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005339/1.021, allocations: 92.59 kB / 0.7869 GB, free: 1.215 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.539e-05/1.021, allocations: 21.2 kB / 0.7869 GB, free: 1.211 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 60 * 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 prepare postOptimizeDAE: time 0.0004574/1.021, allocations: 332.4 kB / 0.7872 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/1.021, allocations: 68.22 kB / 0.7873 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00102/1.022, allocations: 0.5289 MB / 0.7878 GB, free: 0.8164 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.635e-06/1.022, allocations: 5.625 kB / 0.7878 GB, free: 0.8164 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/1.022, allocations: 3.984 kB / 0.7878 GB, free: 0.8125 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001015/1.023, allocations: 0.7557 MB / 0.7885 GB, free: 312 kB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002071/1.025, allocations: 1.294 MB / 0.7898 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/1.025, allocations: 3.875 kB / 0.7898 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001593/1.027, allocations: 348.3 kB / 0.7901 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.069e-05/1.027, allocations: 6.609 kB / 0.7901 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.434e-05/1.027, allocations: 8.656 kB / 0.7901 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0023/1.029, allocations: 1.593 MB / 0.7917 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/1.029, allocations: 3.281 kB / 0.7917 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001519/1.031, allocations: 0.9082 MB / 0.7926 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003641/1.031, allocations: 218.5 kB / 0.7928 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.169e-05/1.031, allocations: 10.44 kB / 0.7928 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005775/1.032, allocations: 66 kB / 0.7929 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.667e-05/1.032, allocations: 32.39 kB / 0.7929 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.098e-05/1.032, allocations: 21.67 kB / 0.7929 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005959/1.033, allocations: 426.3 kB / 0.7933 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.7e-07/1.033, allocations: 4 kB / 0.7933 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001721/1.034, allocations: 412.5 kB / 0.7937 GB, free: 13.41 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],senDenFlo.d) * 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 (40): * Single equations (assignments): 39 * 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.0006021/1.035, allocations: 183.1 kB / 0.7939 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002785/1.038, allocations: 0.9755 MB / 0.7948 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/1.038, allocations: 0 / 0.7948 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002528/1.04, allocations: 0.6135 MB / 0.7954 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002009/1.042, allocations: 445.3 kB / 0.7959 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003015/1.045, allocations: 1.864 MB / 0.7977 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005891/1.046, allocations: 0.9779 MB / 0.7986 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000866/1.047, allocations: 221.5 kB / 0.7989 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001405/1.047, allocations: 53.5 kB / 0.7989 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of SimCode: time 7.92e-07/1.047, allocations: 1.859 kB / 0.7989 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of Templates: time 0.02408/1.071, allocations: 14.04 MB / 0.8126 GB, free: 12.45 MB / 0.5762 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Density.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Density.sim & ./Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1) Environment - environmentSimulation: