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.2128/0.215, allocations: 80.84 MB / 0.6706 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.7613/0.9764, allocations: 181.8 MB / 0.8482 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.006857/0.9833, allocations: 4.371 MB / 0.8524 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009432/0.9843, allocations: 18.19 kB / 0.8525 GB, free: 11.78 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001276/0.9857, allocations: 373.1 kB / 0.8528 GB, free: 11.47 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001838/0.9875, allocations: 0.5801 MB / 0.8534 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004934/0.9925, allocations: 1.629 MB / 0.855 GB, free: 9.777 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002736/0.9952, allocations: 1.737 MB / 0.8567 GB, free: 8.789 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009439/0.9962, allocations: 0.5603 MB / 0.8572 GB, free: 8.426 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002027/0.9982, allocations: 0.8356 MB / 0.858 GB, free: 7.945 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007403/0.999, allocations: 0.5474 MB / 0.8586 GB, free: 7.617 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001045/0.9991, allocations: 74.38 kB / 0.8586 GB, free: 7.613 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002559/1.002, allocations: 1.206 MB / 0.8598 GB, free: 6.953 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003293/1.002, allocations: 294.4 kB / 0.8601 GB, free: 6.75 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005354/1.003, allocations: 447.5 kB / 0.8605 GB, free: 6.477 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002493/1.005, allocations: 1.551 MB / 0.862 GB, free: 5.504 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/1.005, allocations: 0 / 0.862 GB, free: 5.504 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.364e-06/1.005, allocations: 0 / 0.862 GB, free: 5.504 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.357e-05/1.005, allocations: 2.406 kB / 0.862 GB, free: 5.504 MB / 0.6231 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.002789/1.008, allocations: 1.194 MB / 0.8632 GB, free: 4.559 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/1.008, allocations: 14.22 kB / 0.8632 GB, free: 4.555 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001932/1.01, allocations: 278.6 kB / 0.8635 GB, free: 4.434 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009744/1.011, allocations: 0.5124 MB / 0.864 GB, free: 3.91 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.685e-05/1.011, allocations: 49.31 kB / 0.864 GB, free: 3.863 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/1.011, allocations: 59.91 kB / 0.8641 GB, free: 3.805 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001379/1.012, allocations: 0.7778 MB / 0.8649 GB, free: 2.992 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/1.012, allocations: 4 kB / 0.8649 GB, free: 2.988 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.738e-05/1.013, allocations: 24 kB / 0.8649 GB, free: 2.965 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.659e-05/1.013, allocations: 12 kB / 0.8649 GB, free: 2.953 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001346/1.014, allocations: 0.6217 MB / 0.8655 GB, free: 2.328 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003945/1.018, allocations: 2.825 MB / 0.8683 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001143/1.019, allocations: 447.4 kB / 0.8687 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005347/1.02, allocations: 217.3 kB / 0.8689 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003739/1.02, allocations: 125.3 kB / 0.869 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008268/1.021, allocations: 457.9 kB / 0.8694 GB, free: 14.01 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=36): time 2.074e-06/1.021, allocations: 0 / 0.8694 GB, free: 14.01 MB / 0.6387 GB Notification: Performance of matching and sorting (n=36): time 0.001779/1.023, allocations: 0.6826 MB / 0.8701 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002016/1.023, allocations: 482.6 kB / 0.8706 GB, free: 12.74 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008128/1.024, allocations: 0.6485 MB / 0.8712 GB, free: 12.08 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.574e-05/1.024, allocations: 37.7 kB / 0.8712 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002618/1.024, allocations: 343.5 kB / 0.8716 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/1.024, allocations: 126.3 kB / 0.8717 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002305/1.024, allocations: 126.1 kB / 0.8718 GB, free: 11.44 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002227/1.025, allocations: 382.7 kB / 0.8722 GB, free: 11.06 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005317/1.025, allocations: 221 kB / 0.8724 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007271/1.026, allocations: 475.5 kB / 0.8728 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/1.027, allocations: 0.628 MB / 0.8735 GB, free: 9.582 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/1.027, allocations: 0 / 0.8735 GB, free: 9.582 MB / 0.6387 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001484/1.028, allocations: 0.756 MB / 0.8742 GB, free: 8.805 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 5.904e-05/1.029, allocations: 67.39 kB / 0.8743 GB, free: 8.727 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/1.029, allocations: 4 kB / 0.8743 GB, free: 8.723 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.481e-05/1.029, allocations: 8 kB / 0.8743 GB, free: 8.715 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005451/1.029, allocations: 116.2 kB / 0.8744 GB, free: 8.602 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.665e-05/1.029, allocations: 15.98 kB / 0.8744 GB, free: 8.586 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008038/1.03, allocations: 103.1 kB / 0.8745 GB, free: 8.484 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-05/1.03, allocations: 28.86 kB / 0.8745 GB, free: 8.457 MB / 0.6387 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 (m_flow2.count,$PRE.m_flow2.count,m_flow2.T_start,$PRE.m_flow2.T_start,m_flow1.count,$PRE.m_flow1.count,m_flow1.T_start,$PRE.m_flow1.T_start,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003589/1.03, allocations: 229.5 kB / 0.8747 GB, free: 8.223 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/1.031, allocations: 67.25 kB / 0.8748 GB, free: 8.156 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001214/1.032, allocations: 0.523 MB / 0.8753 GB, free: 7.621 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/1.032, allocations: 8 kB / 0.8753 GB, free: 7.613 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/1.032, allocations: 7.922 kB / 0.8753 GB, free: 7.605 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/1.032, allocations: 0 / 0.8753 GB, free: 7.605 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002175/1.034, allocations: 1.567 MB / 0.8769 GB, free: 5.945 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/1.034, allocations: 0 / 0.8769 GB, free: 5.945 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004028/1.034, allocations: 67.89 kB / 0.8769 GB, free: 5.879 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-06/1.034, allocations: 4 kB / 0.8769 GB, free: 5.875 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.717e-05/1.034, allocations: 19.98 kB / 0.8769 GB, free: 5.855 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/1.034, allocations: 4.344 kB / 0.877 GB, free: 5.852 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/1.034, allocations: 8 kB / 0.877 GB, free: 5.844 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001734/1.036, allocations: 0.9378 MB / 0.8779 GB, free: 4.855 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003624/1.037, allocations: 208.2 kB / 0.8781 GB, free: 4.633 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/1.037, allocations: 11.98 kB / 0.8781 GB, free: 4.621 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006307/1.037, allocations: 47.95 kB / 0.8781 GB, free: 4.574 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001331/1.037, allocations: 59.8 kB / 0.8782 GB, free: 4.516 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.61e-05/1.038, allocations: 18.94 kB / 0.8782 GB, free: 4.5 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0005522/1.038, allocations: 463 kB / 0.8786 GB, free: 4.055 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.21e-07/1.038, allocations: 0 / 0.8786 GB, free: 4.055 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007504/1.039, allocations: 207.8 kB / 0.8788 GB, free: 3.852 MB / 0.6387 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 (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.0004754/1.039, allocations: 186.2 kB / 0.879 GB, free: 3.676 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001373/1.041, allocations: 0.6381 MB / 0.8796 GB, free: 3.016 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/1.041, allocations: 4 kB / 0.8797 GB, free: 3.012 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006485/1.041, allocations: 272.8 kB / 0.8799 GB, free: 2.746 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001839/1.043, allocations: 405.2 kB / 0.8803 GB, free: 2.355 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002312/1.046, allocations: 1.211 MB / 0.8815 GB, free: 1.082 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005408/1.046, allocations: 0.9141 MB / 0.8824 GB, free: 144 kB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0007299/1.047, allocations: 153.6 kB / 0.8825 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001742/1.047, allocations: 55.44 kB / 0.8826 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of SimCode: time 1.242e-06/1.047, allocations: 0 / 0.8826 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of Templates: time 0.02624/1.073, allocations: 15.75 MB / 0.8979 GB, free: 380 kB / 0.6544 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (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)