Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.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.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") [/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.1946/0.1956, allocations: 82.22 MB / 0.5935 GB, free: 5.992 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.5434/0.7391, allocations: 165.3 MB / 0.7549 GB, free: 14.79 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007076/0.7462, allocations: 4.116 MB / 0.7589 GB, free: 14.14 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007321/0.747, allocations: 15.44 kB / 0.759 GB, free: 14.13 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009976/0.748, allocations: 246.7 kB / 0.7592 GB, free: 13.98 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. [/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.001502/0.7495, allocations: 0.5345 MB / 0.7597 GB, free: 13.7 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003716/0.7532, allocations: 1.116 MB / 0.7608 GB, free: 13.29 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002477/0.7558, allocations: 2.027 MB / 0.7628 GB, free: 12.6 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007369/0.7565, allocations: 449 kB / 0.7632 GB, free: 12.41 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001715/0.7582, allocations: 0.7404 MB / 0.7639 GB, free: 12.15 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007102/0.759, allocations: 0.5404 MB / 0.7645 GB, free: 11.95 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.349e-05/0.759, allocations: 37.42 kB / 0.7645 GB, free: 11.95 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001795/0.7608, allocations: 0.6083 MB / 0.7651 GB, free: 11.78 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003059/0.7612, allocations: 258.9 kB / 0.7653 GB, free: 11.67 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002765/0.7615, allocations: 178.2 kB / 0.7655 GB, free: 11.62 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001385/0.7628, allocations: 0.9861 MB / 0.7665 GB, free: 11.14 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.7629, allocations: 0 / 0.7665 GB, free: 11.14 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.106e-06/0.7629, allocations: 0 / 0.7665 GB, free: 11.14 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.544e-05/0.7629, allocations: 0 / 0.7665 GB, free: 11.14 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.00226/0.7652, allocations: 1.055 MB / 0.7675 GB, free: 10.35 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.7652, allocations: 10.91 kB / 0.7675 GB, free: 10.35 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001816/0.767, allocations: 278.9 kB / 0.7678 GB, free: 10.25 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007753/0.7678, allocations: 495.5 kB / 0.7683 GB, free: 9.91 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.888e-05/0.7679, allocations: 44.28 kB / 0.7683 GB, free: 9.906 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.265e-05/0.768, allocations: 62.89 kB / 0.7684 GB, free: 9.906 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001372/0.7694, allocations: 0.7839 MB / 0.7691 GB, free: 9.625 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.7694, allocations: 10.17 kB / 0.7691 GB, free: 9.617 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.024e-05/0.7695, allocations: 29.16 kB / 0.7692 GB, free: 9.617 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.034e-05/0.7695, allocations: 13.28 kB / 0.7692 GB, free: 9.617 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001237/0.7707, allocations: 0.6416 MB / 0.7698 GB, free: 9.484 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003632/0.7744, allocations: 2.841 MB / 0.7726 GB, free: 7.477 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009676/0.7754, allocations: 477.8 kB / 0.773 GB, free: 7.363 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004447/0.7758, allocations: 230.8 kB / 0.7733 GB, free: 7.312 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003608/0.7762, allocations: 135 kB / 0.7734 GB, free: 7.199 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007874/0.777, allocations: 474.1 kB / 0.7738 GB, free: 6.91 MB / 0.545 GB Notification: Performance of pre-optimization done (n=36): time 2.685e-06/0.777, allocations: 4 kB / 0.7738 GB, free: 6.906 MB / 0.545 GB Notification: Performance of matching and sorting (n=36): time 0.00152/0.7786, allocations: 0.7255 MB / 0.7745 GB, free: 6.707 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002408/0.7788, allocations: 481.8 kB / 0.775 GB, free: 6.137 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007552/0.7796, allocations: 0.6516 MB / 0.7756 GB, free: 5.898 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.647e-05/0.7796, allocations: 37.86 kB / 0.7757 GB, free: 5.867 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002593/0.7799, allocations: 340.7 kB / 0.776 GB, free: 5.672 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001286/0.78, allocations: 131 kB / 0.7761 GB, free: 5.582 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.93e-05/0.7801, allocations: 9.031 kB / 0.7761 GB, free: 5.582 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001822/0.7803, allocations: 375.5 kB / 0.7765 GB, free: 5.25 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004843/0.7808, allocations: 236.9 kB / 0.7767 GB, free: 5.203 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007081/0.7815, allocations: 489.1 kB / 0.7772 GB, free: 4.887 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005873/0.7821, allocations: 335.2 kB / 0.7775 GB, free: 4.773 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.7821, allocations: 2.562 kB / 0.7775 GB, free: 4.773 MB / 0.545 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001327/0.7834, allocations: 0.7841 MB / 0.7783 GB, free: 4.504 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.489e-05/0.7835, allocations: 62.91 kB / 0.7783 GB, free: 4.441 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.7835, allocations: 5.188 kB / 0.7783 GB, free: 4.441 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.7835, allocations: 8.781 kB / 0.7783 GB, free: 4.441 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005056/0.784, allocations: 129 kB / 0.7785 GB, free: 4.414 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.511e-05/0.7841, allocations: 9.938 kB / 0.7785 GB, free: 4.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007329/0.7848, allocations: 130.8 kB / 0.7786 GB, free: 4.348 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.964e-05/0.7849, allocations: 31.62 kB / 0.7786 GB, free: 4.336 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$PRE.m_flow1.T_start,m_flow1.T_start,$PRE.m_flow1.count,m_flow1.count,$PRE.m_flow2.T_start,m_flow2.T_start,$PRE.m_flow2.count,m_flow2.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003123/0.7852, allocations: 222.2 kB / 0.7788 GB, free: 4.207 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001831/0.7854, allocations: 71.55 kB / 0.7789 GB, free: 4.172 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001107/0.7865, allocations: 0.5617 MB / 0.7795 GB, free: 4.004 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.411e-06/0.7865, allocations: 2.875 kB / 0.7795 GB, free: 4.004 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.7865, allocations: 2.5 kB / 0.7795 GB, free: 4.004 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.7865, allocations: 0 / 0.7795 GB, free: 4.004 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00207/0.7886, allocations: 1.582 MB / 0.781 GB, free: 3.102 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.7886, allocations: 12.17 kB / 0.781 GB, free: 3.094 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003713/0.789, allocations: 79.02 kB / 0.7811 GB, free: 3.078 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.678e-06/0.789, allocations: 7.297 kB / 0.7811 GB, free: 3.074 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.171e-05/0.7891, allocations: 13.84 kB / 0.7811 GB, free: 3.074 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.7891, allocations: 2.906 kB / 0.7811 GB, free: 3.074 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.69e-06/0.7891, allocations: 6.781 kB / 0.7811 GB, free: 3.07 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001619/0.7907, allocations: 0.9794 MB / 0.7821 GB, free: 2.668 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003461/0.7911, allocations: 215.3 kB / 0.7823 GB, free: 2.508 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001103/0.7912, allocations: 16.19 kB / 0.7823 GB, free: 2.504 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005845/0.7918, allocations: 65.03 kB / 0.7824 GB, free: 2.484 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/0.7919, allocations: 43.44 kB / 0.7824 GB, free: 2.469 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.676e-05/0.792, allocations: 18.58 kB / 0.7824 GB, free: 2.465 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005679/0.7925, allocations: 461.5 kB / 0.7829 GB, free: 2.301 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7925, allocations: 0 / 0.7829 GB, free: 2.301 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007529/0.7933, allocations: 209.6 kB / 0.7831 GB, free: 2.285 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 2 (temDyn.T,temDynLoss.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,m_flow1.T_start,m_flow1.count,m_flow2.T_start,m_flow2.count) * Number of discrete states: 2 (m_flow2.count,m_flow1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004776/0.7938, allocations: 195.6 kB / 0.7833 GB, free: 2.156 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001201/0.795, allocations: 0.6601 MB / 0.7839 GB, free: 1.914 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.795, allocations: 2.906 kB / 0.7839 GB, free: 1.914 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0005901/0.7956, allocations: 297.6 kB / 0.7842 GB, free: 1.852 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001632/0.7972, allocations: 397.6 kB / 0.7846 GB, free: 1.73 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001961/0.7992, allocations: 1.433 MB / 0.786 GB, free: 0.793 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005112/0.7998, allocations: 0.9157 MB / 0.7869 GB, free: 4 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000722/0.8005, allocations: 169 kB / 0.787 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001396/0.8006, allocations: 47.97 kB / 0.7871 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of SimCode: time 3.41e-07/0.8006, allocations: 0 / 0.7871 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of Templates: time 0.0227/0.8233, allocations: 14.33 MB / 0.8011 GB, free: 5.148 MB / 0.5606 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) Environment - environmentSimulation: