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.1677/0.1684, allocations: 82.22 MB / 0.5941 GB, free: 5.586 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.521/0.6894, allocations: 180.2 MB / 0.7701 GB, free: 12.2 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008212/0.6977, allocations: 6.389 MB / 0.7764 GB, free: 11.03 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001037/0.6988, allocations: 21.69 kB / 0.7764 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001329/0.7001, allocations: 416.3 kB / 0.7768 GB, free: 10.81 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003334/0.7035, allocations: 1.247 MB / 0.778 GB, free: 10.1 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003174/0.7066, allocations: 1.187 MB / 0.7792 GB, free: 9.391 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00423/0.7109, allocations: 3.24 MB / 0.7823 GB, free: 7.742 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001149/0.7121, allocations: 0.6106 MB / 0.7829 GB, free: 7.387 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002246/0.7143, allocations: 0.8592 MB / 0.7838 GB, free: 6.98 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001762/0.7161, allocations: 0.7018 MB / 0.7844 GB, free: 6.656 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000203/0.7163, allocations: 35.88 kB / 0.7845 GB, free: 6.656 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003408/0.7197, allocations: 1.751 MB / 0.7862 GB, free: 5.816 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005721/0.7203, allocations: 319 kB / 0.7865 GB, free: 5.621 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0009813/0.7213, allocations: 492.1 kB / 0.787 GB, free: 5.332 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00372/0.725, allocations: 1.896 MB / 0.7888 GB, free: 4.246 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.7251, allocations: 0 / 0.7888 GB, free: 4.246 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.104e-06/0.7251, allocations: 0 / 0.7888 GB, free: 4.246 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.02e-05/0.7251, allocations: 2.688 kB / 0.7888 GB, free: 4.246 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.002321/0.7274, allocations: 1.076 MB / 0.7899 GB, free: 3.402 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.7275, allocations: 10.88 kB / 0.7899 GB, free: 3.402 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001887/0.7294, allocations: 256.1 kB / 0.7901 GB, free: 3.289 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001253/0.7306, allocations: 0.6013 MB / 0.7907 GB, free: 2.801 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.989e-05/0.7307, allocations: 45.97 kB / 0.7908 GB, free: 2.781 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001323/0.7308, allocations: 72.62 kB / 0.7908 GB, free: 2.754 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001719/0.7326, allocations: 0.8253 MB / 0.7916 GB, free: 2.281 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.334e-05/0.7326, allocations: 4 kB / 0.7916 GB, free: 2.277 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.148e-05/0.7327, allocations: 32 kB / 0.7917 GB, free: 2.254 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.15e-05/0.7327, allocations: 23.09 kB / 0.7917 GB, free: 2.254 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001494/0.7342, allocations: 0.6783 MB / 0.7924 GB, free: 1.93 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.004186/0.7384, allocations: 2.87 MB / 0.7952 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008672/0.7393, allocations: 447.6 kB / 0.7956 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003701/0.7397, allocations: 232.8 kB / 0.7958 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003657/0.7401, allocations: 132.2 kB / 0.7959 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.035e-05/0.7402, allocations: 41.72 kB / 0.796 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=40): time 2.695e-06/0.7402, allocations: 4 kB / 0.796 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of matching and sorting (n=40): time 0.001811/0.742, allocations: 0.6993 MB / 0.7967 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/0.742, allocations: 59.94 kB / 0.7967 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000844/0.7429, allocations: 0.6091 MB / 0.7973 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.814e-05/0.743, allocations: 32.64 kB / 0.7973 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002766/0.7433, allocations: 370.5 kB / 0.7977 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001495/0.7434, allocations: 145.7 kB / 0.7978 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.629e-05/0.7435, allocations: 54.69 kB / 0.7979 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.7437, allocations: 376 kB / 0.7982 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003892/0.7441, allocations: 208 kB / 0.7984 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004704/0.7446, allocations: 334.2 kB / 0.7988 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008343/0.7454, allocations: 0.5213 MB / 0.7993 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.7454, allocations: 0 / 0.7993 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001116/0.7466, allocations: 0.6246 MB / 0.7999 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001142/0.7467, allocations: 167 kB / 0.8 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.7467, allocations: 5.125 kB / 0.8 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.7467, allocations: 10.16 kB / 0.8001 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0018/0.7485, allocations: 362.4 kB / 0.8004 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002466/0.751, allocations: 1.617 MB / 0.802 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008158/0.7518, allocations: 106.5 kB / 0.8021 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.559e-05/0.7519, allocations: 17.81 kB / 0.8021 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.704e-06/0.7519, allocations: 5.094 kB / 0.8021 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008327/0.7527, allocations: 0.5031 MB / 0.8026 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.7528, allocations: 2.594 kB / 0.8026 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.179e-06/0.7528, allocations: 5.344 kB / 0.8026 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005267/0.7533, allocations: 145.4 kB / 0.8027 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.7533, allocations: 11.92 kB / 0.8027 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006817/0.754, allocations: 96.7 kB / 0.8028 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.095e-05/0.754, allocations: 20 kB / 0.8029 GB, free: 10.05 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: 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 (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.0005033/0.7546, allocations: 328.3 kB / 0.8032 GB, free: 9.727 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/0.7547, allocations: 67.25 kB / 0.8032 GB, free: 9.66 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001019/0.7557, allocations: 0.5345 MB / 0.8038 GB, free: 9.113 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.7557, allocations: 4 kB / 0.8038 GB, free: 9.109 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.7557, allocations: 0 / 0.8038 GB, free: 9.109 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008848/0.7566, allocations: 0.7496 MB / 0.8045 GB, free: 8.273 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00209/0.7587, allocations: 1.313 MB / 0.8058 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.7587, allocations: 4 kB / 0.8058 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001683/0.7604, allocations: 339.8 kB / 0.8061 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.016e-05/0.7605, allocations: 7.938 kB / 0.8061 GB, free: 6.551 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.08e-05/0.7605, allocations: 15.98 kB / 0.8061 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002189/0.7627, allocations: 1.583 MB / 0.8077 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.7627, allocations: 3.938 kB / 0.8077 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001514/0.7642, allocations: 0.9216 MB / 0.8086 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003565/0.7646, allocations: 208.3 kB / 0.8088 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.044e-05/0.7647, allocations: 15.98 kB / 0.8088 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000659/0.7654, allocations: 63.84 kB / 0.8089 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.76e-05/0.7655, allocations: 27.91 kB / 0.8089 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.527e-05/0.7655, allocations: 31.92 kB / 0.8089 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000554/0.7661, allocations: 435 kB / 0.8093 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7661, allocations: 3.938 kB / 0.8093 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001214/0.7673, allocations: 415.1 kB / 0.8097 GB, free: 2.668 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 (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.0004681/0.7678, allocations: 183.5 kB / 0.8099 GB, free: 2.496 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002775/0.7706, allocations: 0.9816 MB / 0.8109 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.7706, allocations: 4.312 kB / 0.8109 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002617/0.7732, allocations: 0.6111 MB / 0.8115 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002347/0.7756, allocations: 427.4 kB / 0.8119 GB, free: 0.4961 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002741/0.7783, allocations: 1.915 MB / 0.8137 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005745/0.7789, allocations: 0.9772 MB / 0.8147 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008614/0.7798, allocations: 221.5 kB / 0.8149 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/0.78, allocations: 55.44 kB / 0.815 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of SimCode: time 1.112e-06/0.78, allocations: 0 / 0.815 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of Templates: time 0.02325/0.8032, allocations: 14.51 MB / 0.8291 GB, free: 14.95 MB / 0.5919 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: