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.1628/0.1649, allocations: 80.83 MB / 0.6706 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.538/0.7029, allocations: 184.9 MB / 0.8512 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009011/0.7119, allocations: 6.406 MB / 0.8574 GB, free: 7.766 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001073/0.713, allocations: 30.03 kB / 0.8575 GB, free: 7.754 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001485/0.7145, allocations: 478 kB / 0.8579 GB, free: 7.367 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003224/0.7178, allocations: 1.304 MB / 0.8592 GB, free: 6.352 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003051/0.7209, allocations: 1.294 MB / 0.8605 GB, free: 5.383 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00302/0.7239, allocations: 2.32 MB / 0.8627 GB, free: 4.059 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001099/0.725, allocations: 0.7405 MB / 0.8634 GB, free: 3.586 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002129/0.7272, allocations: 1.028 MB / 0.8645 GB, free: 2.984 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001684/0.7289, allocations: 0.6761 MB / 0.8651 GB, free: 2.594 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001687/0.7291, allocations: 89.33 kB / 0.8652 GB, free: 2.59 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003892/0.733, allocations: 1.611 MB / 0.8668 GB, free: 1.012 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004938/0.7335, allocations: 371 kB / 0.8671 GB, free: 0.6484 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006874/0.7342, allocations: 0.5057 MB / 0.8676 GB, free: 144 kB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003368/0.7375, allocations: 1.893 MB / 0.8695 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.7376, allocations: 3.938 kB / 0.8695 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.332e-06/0.7376, allocations: 0 / 0.8695 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.57e-05/0.7376, allocations: 4 kB / 0.8695 GB, free: 14.24 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.002329/0.7399, allocations: 1.258 MB / 0.8707 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.74, allocations: 8.031 kB / 0.8707 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001752/0.7417, allocations: 258.4 kB / 0.871 GB, free: 12.67 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001229/0.743, allocations: 0.6338 MB / 0.8716 GB, free: 11.99 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.05e-05/0.743, allocations: 49.31 kB / 0.8716 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.7431, allocations: 71.94 kB / 0.8717 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001641/0.7448, allocations: 0.8118 MB / 0.8725 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/0.7448, allocations: 0 / 0.8725 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.907e-05/0.7449, allocations: 28 kB / 0.8725 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.075e-05/0.7449, allocations: 21.31 kB / 0.8725 GB, free: 11 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001398/0.7463, allocations: 0.6609 MB / 0.8732 GB, free: 10.34 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.004312/0.7507, allocations: 2.859 MB / 0.876 GB, free: 7.23 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008649/0.7515, allocations: 442.5 kB / 0.8764 GB, free: 6.793 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003608/0.7519, allocations: 229.2 kB / 0.8766 GB, free: 6.566 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00037/0.7523, allocations: 125.4 kB / 0.8767 GB, free: 6.426 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.481e-05/0.7523, allocations: 38.89 kB / 0.8768 GB, free: 6.379 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=40): time 2.034e-06/0.7524, allocations: 0 / 0.8768 GB, free: 6.379 MB / 0.6387 GB Notification: Performance of matching and sorting (n=40): time 0.001818/0.7542, allocations: 0.6738 MB / 0.8774 GB, free: 5.699 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/0.7542, allocations: 59.34 kB / 0.8775 GB, free: 5.629 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008673/0.7551, allocations: 0.5978 MB / 0.8781 GB, free: 5.02 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.504e-05/0.7552, allocations: 37.7 kB / 0.8781 GB, free: 4.977 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003706/0.7555, allocations: 364 kB / 0.8784 GB, free: 4.613 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001308/0.7557, allocations: 149.9 kB / 0.8786 GB, free: 4.465 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000161/0.7559, allocations: 102.2 kB / 0.8787 GB, free: 4.359 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001857/0.756, allocations: 374.7 kB / 0.879 GB, free: 3.984 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003935/0.7564, allocations: 203 kB / 0.8792 GB, free: 3.785 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004856/0.7569, allocations: 323.7 kB / 0.8795 GB, free: 3.422 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008409/0.7578, allocations: 0.5048 MB / 0.88 GB, free: 2.879 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.7578, allocations: 0 / 0.88 GB, free: 2.879 MB / 0.6387 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001224/0.759, allocations: 0.6045 MB / 0.8806 GB, free: 2.266 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.7591, allocations: 8.938 kB / 0.8806 GB, free: 2.258 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.7591, allocations: 0 / 0.8806 GB, free: 2.258 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/0.7591, allocations: 11.98 kB / 0.8807 GB, free: 2.246 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001857/0.761, allocations: 283.8 kB / 0.8809 GB, free: 1.969 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002623/0.7636, allocations: 1.65 MB / 0.8825 GB, free: 188 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006082/0.7642, allocations: 75.28 kB / 0.8826 GB, free: 112 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.322e-05/0.7643, allocations: 20 kB / 0.8826 GB, free: 92 kB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007066/0.765, allocations: 381.1 kB / 0.883 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005358/0.7655, allocations: 311.7 kB / 0.8833 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007549/0.7663, allocations: 497.8 kB / 0.8838 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.064e-06/0.7663, allocations: 0 / 0.8838 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of matching and sorting (n=61) (initialization_lambda0): time 0.0009643/0.7673, allocations: 0.5772 MB / 0.8843 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.7673, allocations: 4 kB / 0.8843 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.7673, allocations: 11.92 kB / 0.8843 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.881e-06/0.7673, allocations: 4 kB / 0.8843 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005969/0.7679, allocations: 135.7 kB / 0.8845 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.768, allocations: 4.312 kB / 0.8845 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000528/0.7685, allocations: 66.69 kB / 0.8845 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.388e-05/0.7685, allocations: 20 kB / 0.8846 GB, free: 14.02 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.0002183/0.7688, allocations: 204.8 kB / 0.8848 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/0.7689, allocations: 63.25 kB / 0.8848 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001125/0.77, allocations: 0.5161 MB / 0.8853 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.77, allocations: 4 kB / 0.8853 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.724e-06/0.77, allocations: 0 / 0.8853 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008955/0.7709, allocations: 0.7393 MB / 0.886 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002046/0.773, allocations: 1.302 MB / 0.8873 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.773, allocations: 0 / 0.8873 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00163/0.7746, allocations: 271.8 kB / 0.8876 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-06/0.7747, allocations: 4 kB / 0.8876 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.528e-05/0.7747, allocations: 12 kB / 0.8876 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002205/0.7769, allocations: 1.623 MB / 0.8892 GB, free: 8.977 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.7769, allocations: 4 kB / 0.8892 GB, free: 8.973 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00146/0.7784, allocations: 0.8754 MB / 0.89 GB, free: 8.062 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003793/0.7788, allocations: 208.2 kB / 0.8902 GB, free: 7.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.805e-05/0.7789, allocations: 15.94 kB / 0.8902 GB, free: 7.824 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005702/0.7795, allocations: 27.97 kB / 0.8903 GB, free: 7.797 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.89e-05/0.7796, allocations: 31.95 kB / 0.8903 GB, free: 7.766 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.989e-05/0.7796, allocations: 27.98 kB / 0.8903 GB, free: 7.738 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005032/0.7801, allocations: 431 kB / 0.8907 GB, free: 7.32 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.443e-06/0.7801, allocations: 0 / 0.8907 GB, free: 7.32 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001051/0.7812, allocations: 411 kB / 0.8911 GB, free: 6.918 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.0004748/0.7817, allocations: 200.4 kB / 0.8913 GB, free: 6.727 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0027/0.7844, allocations: 0.8951 MB / 0.8922 GB, free: 5.832 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.7844, allocations: 0 / 0.8922 GB, free: 5.832 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.00256/0.787, allocations: 0.5242 MB / 0.8927 GB, free: 5.309 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001947/0.7889, allocations: 428.9 kB / 0.8931 GB, free: 4.895 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002563/0.7915, allocations: 1.517 MB / 0.8946 GB, free: 3.328 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005304/0.792, allocations: 0.981 MB / 0.8956 GB, free: 2.32 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.000745/0.7928, allocations: 217.5 kB / 0.8958 GB, free: 2.105 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000143/0.793, allocations: 55.38 kB / 0.8958 GB, free: 2.051 MB / 0.6544 GB Notification: Performance of SimCode: time 5.61e-07/0.793, allocations: 4 kB / 0.8958 GB, free: 2.047 MB / 0.6544 GB Notification: Performance of Templates: time 0.0254/0.8184, allocations: 15.48 MB / 0.9109 GB, free: 2.73 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)