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.1749/0.177, allocations: 80.84 MB / 0.6706 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.5937/0.7707, allocations: 184.9 MB / 0.8512 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009951/0.7807, allocations: 6.407 MB / 0.8574 GB, free: 7.73 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001413/0.7823, allocations: 29.25 kB / 0.8575 GB, free: 7.719 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001606/0.7839, allocations: 478.8 kB / 0.8579 GB, free: 7.332 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003516/0.7874, allocations: 1.308 MB / 0.8592 GB, free: 6.312 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004024/0.7915, allocations: 1.297 MB / 0.8605 GB, free: 5.344 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004262/0.7957, allocations: 2.313 MB / 0.8627 GB, free: 4.027 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001209/0.797, allocations: 0.7446 MB / 0.8635 GB, free: 3.551 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002346/0.7993, allocations: 1.005 MB / 0.8644 GB, free: 2.965 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001446/0.8008, allocations: 0.6884 MB / 0.8651 GB, free: 2.562 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001614/0.8009, allocations: 85.53 kB / 0.8652 GB, free: 2.562 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003324/0.8043, allocations: 1.603 MB / 0.8668 GB, free: 1.191 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004622/0.8048, allocations: 375 kB / 0.8671 GB, free: 0.8242 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006397/0.8054, allocations: 0.5018 MB / 0.8676 GB, free: 328 kB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003272/0.8087, allocations: 1.903 MB / 0.8695 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.8087, allocations: 0 / 0.8695 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.753e-06/0.8087, allocations: 0 / 0.8695 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.321e-05/0.8087, allocations: 0 / 0.8695 GB, free: 14.41 MB / 0.6387 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.002149/0.8109, allocations: 1.287 MB / 0.8707 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.8109, allocations: 12.03 kB / 0.8707 GB, free: 13.06 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001698/0.8126, allocations: 263.2 kB / 0.871 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/0.8137, allocations: 0.6304 MB / 0.8716 GB, free: 12.13 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.117e-05/0.8138, allocations: 49.31 kB / 0.8716 GB, free: 12.08 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/0.8139, allocations: 75.94 kB / 0.8717 GB, free: 12.01 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001499/0.8154, allocations: 0.804 MB / 0.8725 GB, free: 11.19 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/0.8154, allocations: 3.984 kB / 0.8725 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.334e-05/0.8155, allocations: 32 kB / 0.8725 GB, free: 11.15 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.732e-05/0.8156, allocations: 21.31 kB / 0.8726 GB, free: 11.13 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001301/0.8169, allocations: 0.657 MB / 0.8732 GB, free: 10.47 MB / 0.6387 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.004042/0.8209, allocations: 2.867 MB / 0.876 GB, free: 7.359 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008918/0.8218, allocations: 439.7 kB / 0.8764 GB, free: 6.922 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003875/0.8222, allocations: 225.4 kB / 0.8766 GB, free: 6.699 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003548/0.8226, allocations: 125.4 kB / 0.8768 GB, free: 6.559 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.8227, allocations: 38.89 kB / 0.8768 GB, free: 6.512 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=40): time 3.687e-06/0.8227, allocations: 0 / 0.8768 GB, free: 6.512 MB / 0.6387 GB Notification: Performance of matching and sorting (n=40): time 0.001632/0.8243, allocations: 0.6741 MB / 0.8775 GB, free: 5.832 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/0.8244, allocations: 59.34 kB / 0.8775 GB, free: 5.762 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007178/0.8251, allocations: 0.6017 MB / 0.8781 GB, free: 5.148 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.845e-05/0.8251, allocations: 33.7 kB / 0.8781 GB, free: 5.109 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003214/0.8255, allocations: 380.7 kB / 0.8785 GB, free: 4.73 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001444/0.8256, allocations: 154.6 kB / 0.8786 GB, free: 4.578 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001765/0.8258, allocations: 106.2 kB / 0.8787 GB, free: 4.469 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001994/0.826, allocations: 378.7 kB / 0.8791 GB, free: 4.09 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004053/0.8264, allocations: 199 kB / 0.8793 GB, free: 3.895 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000491/0.8269, allocations: 323.7 kB / 0.8796 GB, free: 3.531 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008482/0.8278, allocations: 0.5009 MB / 0.8801 GB, free: 2.992 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.8278, allocations: 0 / 0.8801 GB, free: 2.992 MB / 0.6387 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001123/0.8289, allocations: 0.6048 MB / 0.8807 GB, free: 2.379 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.829, allocations: 8.625 kB / 0.8807 GB, free: 2.371 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.998e-06/0.829, allocations: 4 kB / 0.8807 GB, free: 2.367 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/0.829, allocations: 4 kB / 0.8807 GB, free: 2.363 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001673/0.8307, allocations: 295.8 kB / 0.881 GB, free: 2.074 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002393/0.8331, allocations: 1.647 MB / 0.8826 GB, free: 300 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006039/0.8337, allocations: 75.48 kB / 0.8827 GB, free: 224 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.641e-05/0.8338, allocations: 16 kB / 0.8827 GB, free: 208 kB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006182/0.8344, allocations: 385.1 kB / 0.883 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004113/0.8348, allocations: 311.8 kB / 0.8833 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007052/0.8355, allocations: 496.9 kB / 0.8838 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.523e-06/0.8355, allocations: 0 / 0.8838 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of matching and sorting (n=61) (initialization_lambda0): time 0.0008959/0.8364, allocations: 0.5814 MB / 0.8844 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.8365, allocations: 8 kB / 0.8844 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.8365, allocations: 4 kB / 0.8844 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.783e-06/0.8365, allocations: 4.812 kB / 0.8844 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005311/0.837, allocations: 140.1 kB / 0.8845 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.837, allocations: 8 kB / 0.8845 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005007/0.8375, allocations: 51.69 kB / 0.8846 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.12e-05/0.8376, allocations: 20 kB / 0.8846 GB, free: 14.13 MB / 0.6544 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.0002166/0.8378, allocations: 208.8 kB / 0.8848 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.8379, allocations: 71.58 kB / 0.8849 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009788/0.8389, allocations: 0.5161 MB / 0.8854 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.8389, allocations: 4 kB / 0.8854 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.8389, allocations: 0 / 0.8854 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008746/0.8398, allocations: 0.7354 MB / 0.8861 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001872/0.8417, allocations: 1.302 MB / 0.8874 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.8417, allocations: 4.875 kB / 0.8874 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001517/0.8432, allocations: 275.8 kB / 0.8876 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.8432, allocations: 0 / 0.8876 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.444e-05/0.8433, allocations: 12 kB / 0.8876 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002019/0.8453, allocations: 1.627 MB / 0.8892 GB, free: 9.074 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.8453, allocations: 0 / 0.8892 GB, free: 9.074 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001343/0.8467, allocations: 0.8797 MB / 0.8901 GB, free: 8.16 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002909/0.847, allocations: 212.5 kB / 0.8903 GB, free: 7.934 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.257e-05/0.8471, allocations: 15.88 kB / 0.8903 GB, free: 7.918 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000533/0.8476, allocations: 31.97 kB / 0.8903 GB, free: 7.887 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.716e-05/0.8477, allocations: 27.95 kB / 0.8904 GB, free: 7.859 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.24e-05/0.8478, allocations: 27.98 kB / 0.8904 GB, free: 7.832 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004968/0.8483, allocations: 427 kB / 0.8908 GB, free: 7.418 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.543e-06/0.8483, allocations: 0 / 0.8908 GB, free: 7.418 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00107/0.8494, allocations: 423.2 kB / 0.8912 GB, free: 7.004 MB / 0.6544 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.0004816/0.8498, allocations: 179.4 kB / 0.8914 GB, free: 6.832 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002583/0.8524, allocations: 0.8989 MB / 0.8923 GB, free: 5.934 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.8525, allocations: 0 / 0.8923 GB, free: 5.934 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002365/0.8548, allocations: 0.5282 MB / 0.8928 GB, free: 5.406 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001857/0.8567, allocations: 440.3 kB / 0.8932 GB, free: 4.988 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002704/0.8594, allocations: 1.542 MB / 0.8947 GB, free: 3.395 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005867/0.86, allocations: 0.9771 MB / 0.8957 GB, free: 2.391 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0006673/0.8607, allocations: 217.5 kB / 0.8959 GB, free: 2.176 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001502/0.8608, allocations: 63.36 kB / 0.8959 GB, free: 2.113 MB / 0.6544 GB Notification: Performance of SimCode: time 2.8e-07/0.8609, allocations: 4 kB / 0.8959 GB, free: 2.109 MB / 0.6544 GB Notification: Performance of Templates: time 0.02603/0.8869, allocations: 15.24 MB / 0.9108 GB, free: 3.016 MB / 0.67 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Density.makefile (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)