Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Pressure.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.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Pressure") translateModel(Buildings.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Pressure") [/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.1731/0.1739, allocations: 82.22 MB / 0.5941 GB, free: 5.555 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.6261/0.8, allocations: 165 MB / 0.7553 GB, free: 14 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008228/0.8083, allocations: 7.143 MB / 0.7622 GB, free: 12.84 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004613/0.8088, allocations: 10.28 kB / 0.7622 GB, free: 12.83 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000987/0.8098, allocations: 248 kB / 0.7625 GB, free: 12.7 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001194/0.811, allocations: 455.7 kB / 0.7629 GB, free: 12.49 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001376/0.8124, allocations: 483.7 kB / 0.7634 GB, free: 12.36 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001598/0.814, allocations: 1.515 MB / 0.7648 GB, free: 11.89 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000435/0.8145, allocations: 289 kB / 0.7651 GB, free: 11.79 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001117/0.8156, allocations: 0.5052 MB / 0.7656 GB, free: 11.63 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004361/0.816, allocations: 332.7 kB / 0.7659 GB, free: 11.56 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.2e-05/0.8161, allocations: 15.69 kB / 0.7659 GB, free: 11.56 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008038/0.8169, allocations: 498.8 kB / 0.7664 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001678/0.8171, allocations: 161.2 kB / 0.7666 GB, free: 11.35 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002451/0.8174, allocations: 257.5 kB / 0.7668 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007329/0.8181, allocations: 0.7034 MB / 0.7675 GB, free: 10.89 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.8181, allocations: 0 / 0.7675 GB, free: 10.89 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.914e-06/0.8181, allocations: 0 / 0.7675 GB, free: 10.89 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.814e-06/0.8181, allocations: 0 / 0.7675 GB, free: 10.89 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.00116/0.8193, allocations: 0.6603 MB / 0.7682 GB, free: 10.34 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.8193, allocations: 8.938 kB / 0.7682 GB, free: 10.34 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002963/0.8196, allocations: 67.86 kB / 0.7682 GB, free: 10.31 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004455/0.8201, allocations: 337 kB / 0.7686 GB, free: 10.04 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.088e-05/0.8201, allocations: 28.66 kB / 0.7686 GB, free: 10.04 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.964e-05/0.8202, allocations: 32.16 kB / 0.7686 GB, free: 10.04 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009922/0.8212, allocations: 0.4926 MB / 0.7691 GB, free: 9.816 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.8212, allocations: 6.891 kB / 0.7691 GB, free: 9.812 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.52e-05/0.8213, allocations: 13.62 kB / 0.7691 GB, free: 9.812 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/0.8213, allocations: 18.97 kB / 0.7691 GB, free: 9.805 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007527/0.8221, allocations: 341.7 kB / 0.7695 GB, free: 9.73 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002427/0.8245, allocations: 2.01 MB / 0.7714 GB, free: 8.156 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004039/0.8249, allocations: 121.2 kB / 0.7715 GB, free: 8.105 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001318/0.8251, allocations: 58.41 kB / 0.7716 GB, free: 8.086 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.8251, allocations: 2.562 kB / 0.7716 GB, free: 8.086 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.591e-05/0.8251, allocations: 34.19 kB / 0.7716 GB, free: 8.047 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.403e-06/0.8251, allocations: 2.219 kB / 0.7716 GB, free: 8.047 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0009002/0.826, allocations: 269.3 kB / 0.7719 GB, free: 7.945 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/0.8261, allocations: 55.34 kB / 0.7719 GB, free: 7.879 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000471/0.8266, allocations: 459.8 kB / 0.7724 GB, free: 7.699 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.401e-05/0.8266, allocations: 32.27 kB / 0.7724 GB, free: 7.668 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002044/0.8268, allocations: 252.8 kB / 0.7726 GB, free: 7.496 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.86e-05/0.8269, allocations: 32.27 kB / 0.7727 GB, free: 7.477 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.371e-05/0.8269, allocations: 29.36 kB / 0.7727 GB, free: 7.457 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.8271, allocations: 345.3 kB / 0.773 GB, free: 7.133 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000216/0.8273, allocations: 91.75 kB / 0.7731 GB, free: 7.117 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003082/0.8276, allocations: 246.4 kB / 0.7734 GB, free: 6.906 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004767/0.8281, allocations: 317.5 kB / 0.7737 GB, free: 6.699 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.8281, allocations: 0 / 0.7737 GB, free: 6.699 MB / 0.545 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006431/0.8287, allocations: 368.7 kB / 0.774 GB, free: 6.574 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001163/0.8289, allocations: 214.8 kB / 0.7742 GB, free: 6.332 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.936e-06/0.8289, allocations: 5.781 kB / 0.7742 GB, free: 6.332 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.8289, allocations: 4.625 kB / 0.7742 GB, free: 6.332 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00027/0.8292, allocations: 75.39 kB / 0.7743 GB, free: 6.312 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.8292, allocations: 13.94 kB / 0.7743 GB, free: 6.305 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004226/0.8296, allocations: 71.86 kB / 0.7744 GB, free: 6.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.342e-05/0.8297, allocations: 15.22 kB / 0.7744 GB, free: 6.27 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.854e-06/0.8297, allocations: 9.781 kB / 0.7744 GB, free: 6.266 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004506/0.8301, allocations: 268.8 kB / 0.7747 GB, free: 6.203 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.8302, allocations: 6.625 kB / 0.7747 GB, free: 6.203 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.701e-06/0.8302, allocations: 5.375 kB / 0.7747 GB, free: 6.203 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002217/0.8304, allocations: 61.62 kB / 0.7747 GB, free: 6.191 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/0.8304, allocations: 13.03 kB / 0.7747 GB, free: 6.184 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003121/0.8307, allocations: 71.66 kB / 0.7748 GB, free: 6.145 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.743e-05/0.8308, allocations: 10.88 kB / 0.7748 GB, free: 6.145 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002249/0.831, allocations: 250.3 kB / 0.7751 GB, free: 5.941 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.419e-05/0.8311, allocations: 38.34 kB / 0.7751 GB, free: 5.926 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.361e-05/0.8311, allocations: 35.31 kB / 0.7751 GB, free: 5.906 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.8311, allocations: 7.219 kB / 0.7751 GB, free: 5.902 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.8312, allocations: 3.938 kB / 0.7751 GB, free: 5.898 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.8312, allocations: 7.984 kB / 0.7751 GB, free: 5.891 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007901/0.832, allocations: 0.5797 MB / 0.7757 GB, free: 5.484 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.832, allocations: 0 / 0.7757 GB, free: 5.484 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001374/0.8321, allocations: 38.09 kB / 0.7757 GB, free: 5.469 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.8321, allocations: 2.688 kB / 0.7758 GB, free: 5.469 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.8321, allocations: 0 / 0.7758 GB, free: 5.469 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.8322, allocations: 2.688 kB / 0.7758 GB, free: 5.469 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.8322, allocations: 4.062 kB / 0.7758 GB, free: 5.465 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000431/0.8326, allocations: 295.4 kB / 0.776 GB, free: 5.27 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001428/0.8327, allocations: 142.6 kB / 0.7762 GB, free: 5.141 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.822e-05/0.8328, allocations: 2.688 kB / 0.7762 GB, free: 5.141 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003396/0.8331, allocations: 32.34 kB / 0.7762 GB, free: 5.129 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.254e-05/0.8332, allocations: 9.328 kB / 0.7762 GB, free: 5.125 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.319e-05/0.8332, allocations: 5.5 kB / 0.7762 GB, free: 5.125 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003071/0.8335, allocations: 323.6 kB / 0.7765 GB, free: 5 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8336, allocations: 0 / 0.7765 GB, free: 5 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006178/0.8342, allocations: 191.5 kB / 0.7767 GB, free: 4.984 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003537/0.8345, allocations: 146.9 kB / 0.7769 GB, free: 4.883 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000735/0.8353, allocations: 349.3 kB / 0.7772 GB, free: 4.797 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.8353, allocations: 2.969 kB / 0.7772 GB, free: 4.797 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001711/0.8355, allocations: 61.77 kB / 0.7772 GB, free: 4.785 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001128/0.8366, allocations: 201.4 kB / 0.7774 GB, free: 4.711 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.8377, allocations: 0.772 MB / 0.7782 GB, free: 4.188 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.838, allocations: 0.8027 MB / 0.779 GB, free: 3.438 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003773/0.8384, allocations: 97.25 kB / 0.7791 GB, free: 3.391 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.998e-05/0.8385, allocations: 37.34 kB / 0.7791 GB, free: 3.383 MB / 0.545 GB Notification: Performance of SimCode: time 4.8e-07/0.8385, allocations: 0 / 0.7791 GB, free: 3.383 MB / 0.545 GB Notification: Performance of Templates: time 0.01142/0.8499, allocations: 7.007 MB / 0.786 GB, free: 15.97 MB / 0.5606 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Pressure.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Pressure.sim & ./Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1) Environment - environmentSimulation: