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.1725/0.1746, allocations: 80.83 MB / 0.6706 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.6377/0.8123, allocations: 181.8 MB / 0.8482 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.005844/0.8182, allocations: 4.37 MB / 0.8524 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006837/0.8189, allocations: 16.5 kB / 0.8525 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001105/0.8201, allocations: 367.3 kB / 0.8528 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001427/0.8215, allocations: 0.5879 MB / 0.8534 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003747/0.8253, allocations: 1.63 MB / 0.855 GB, free: 9.906 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002078/0.8274, allocations: 1.741 MB / 0.8567 GB, free: 8.914 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007817/0.8282, allocations: 0.5581 MB / 0.8572 GB, free: 8.551 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001859/0.8301, allocations: 0.8523 MB / 0.8581 GB, free: 8.059 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008735/0.8309, allocations: 0.5446 MB / 0.8586 GB, free: 7.734 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001446/0.8311, allocations: 74.23 kB / 0.8587 GB, free: 7.73 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003222/0.8343, allocations: 1.2 MB / 0.8598 GB, free: 7.074 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004112/0.8348, allocations: 299.2 kB / 0.8601 GB, free: 6.867 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006178/0.8354, allocations: 442.4 kB / 0.8605 GB, free: 6.598 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002753/0.8381, allocations: 1.556 MB / 0.8621 GB, free: 5.621 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 8.226e-06/0.8382, allocations: 5.844 kB / 0.8621 GB, free: 5.617 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.815e-06/0.8382, allocations: 0 / 0.8621 GB, free: 5.617 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.199e-05/0.8382, allocations: 0 / 0.8621 GB, free: 5.617 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.002409/0.8406, allocations: 1.198 MB / 0.8632 GB, free: 4.672 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.8407, allocations: 10.12 kB / 0.8632 GB, free: 4.672 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001874/0.8425, allocations: 276 kB / 0.8635 GB, free: 4.551 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009563/0.8435, allocations: 0.5054 MB / 0.864 GB, free: 4 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.416e-05/0.8436, allocations: 45.31 kB / 0.864 GB, free: 3.957 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/0.8437, allocations: 67.91 kB / 0.8641 GB, free: 3.891 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001398/0.8451, allocations: 0.7739 MB / 0.8649 GB, free: 3.082 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/0.8451, allocations: 4 kB / 0.8649 GB, free: 3.078 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.512e-05/0.8452, allocations: 24 kB / 0.8649 GB, free: 3.055 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.404e-05/0.8452, allocations: 16 kB / 0.8649 GB, free: 3.039 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001315/0.8465, allocations: 0.6178 MB / 0.8655 GB, free: 2.418 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003848/0.8504, allocations: 2.826 MB / 0.8683 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/0.8515, allocations: 447.3 kB / 0.8687 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000486/0.852, allocations: 217.3 kB / 0.8689 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003744/0.8524, allocations: 125.3 kB / 0.869 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007998/0.8532, allocations: 457.9 kB / 0.8695 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=36): time 2.374e-06/0.8532, allocations: 0 / 0.8695 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of matching and sorting (n=36): time 0.001739/0.8549, allocations: 0.6864 MB / 0.8701 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002564/0.8552, allocations: 474.6 kB / 0.8706 GB, free: 12.83 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008334/0.8561, allocations: 0.6485 MB / 0.8712 GB, free: 12.17 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.911e-05/0.8561, allocations: 45.62 kB / 0.8713 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002776/0.8564, allocations: 339.5 kB / 0.8716 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000113/0.8565, allocations: 126.3 kB / 0.8717 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002241/0.8568, allocations: 130.1 kB / 0.8718 GB, free: 11.53 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001708/0.857, allocations: 382.7 kB / 0.8722 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005435/0.8575, allocations: 221 kB / 0.8724 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007404/0.8583, allocations: 463.6 kB / 0.8728 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001119/0.8594, allocations: 0.6396 MB / 0.8735 GB, free: 9.668 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.8594, allocations: 0 / 0.8735 GB, free: 9.668 MB / 0.6387 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001462/0.8609, allocations: 0.7599 MB / 0.8742 GB, free: 8.887 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 5.17e-05/0.8609, allocations: 59.41 kB / 0.8743 GB, free: 8.816 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.8609, allocations: 4 kB / 0.8743 GB, free: 8.812 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.345e-05/0.861, allocations: 8 kB / 0.8743 GB, free: 8.805 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005681/0.8615, allocations: 124.9 kB / 0.8744 GB, free: 8.684 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.071e-05/0.8616, allocations: 10.5 kB / 0.8744 GB, free: 8.676 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000826/0.8624, allocations: 107.1 kB / 0.8745 GB, free: 8.57 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.512e-05/0.8625, allocations: 27.98 kB / 0.8745 GB, free: 8.543 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.0003449/0.8628, allocations: 225.6 kB / 0.8747 GB, free: 8.312 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/0.863, allocations: 67.25 kB / 0.8748 GB, free: 8.246 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001232/0.8642, allocations: 0.5337 MB / 0.8753 GB, free: 7.699 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/0.8642, allocations: 4 kB / 0.8753 GB, free: 7.695 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.8642, allocations: 4 kB / 0.8753 GB, free: 7.691 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.8642, allocations: 3.938 kB / 0.8753 GB, free: 7.688 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002303/0.8665, allocations: 1.559 MB / 0.8769 GB, free: 6.035 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.8666, allocations: 4 kB / 0.8769 GB, free: 6.031 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003963/0.867, allocations: 79.77 kB / 0.8769 GB, free: 5.953 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.684e-06/0.867, allocations: 4.344 kB / 0.877 GB, free: 5.949 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.855e-05/0.867, allocations: 19.98 kB / 0.877 GB, free: 5.93 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.73e-06/0.867, allocations: 4 kB / 0.877 GB, free: 5.926 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.349e-06/0.8671, allocations: 4 kB / 0.877 GB, free: 5.922 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001709/0.8688, allocations: 0.9378 MB / 0.8779 GB, free: 4.934 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003843/0.8692, allocations: 212.2 kB / 0.8781 GB, free: 4.707 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.8693, allocations: 12 kB / 0.8781 GB, free: 4.695 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006324/0.8699, allocations: 43.95 kB / 0.8782 GB, free: 4.652 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000133/0.8701, allocations: 59.81 kB / 0.8782 GB, free: 4.594 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.289e-05/0.8701, allocations: 12 kB / 0.8782 GB, free: 4.582 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0005578/0.8707, allocations: 467 kB / 0.8787 GB, free: 4.133 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8707, allocations: 0 / 0.8787 GB, free: 4.133 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000725/0.8714, allocations: 207.7 kB / 0.8789 GB, free: 3.93 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.0004572/0.8719, allocations: 180.7 kB / 0.879 GB, free: 3.754 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001342/0.8732, allocations: 0.6343 MB / 0.8797 GB, free: 3.098 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.8732, allocations: 4 kB / 0.8797 GB, free: 3.094 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006765/0.8739, allocations: 276.8 kB / 0.8799 GB, free: 2.824 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001855/0.8758, allocations: 404.9 kB / 0.8803 GB, free: 2.43 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002192/0.878, allocations: 1.211 MB / 0.8815 GB, free: 1.156 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004581/0.8785, allocations: 0.9141 MB / 0.8824 GB, free: 220 kB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005944/0.8791, allocations: 157.5 kB / 0.8825 GB, free: 60 kB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001606/0.8792, allocations: 55.42 kB / 0.8826 GB, free: 4 kB / 0.6387 GB Notification: Performance of SimCode: time 3.1e-07/0.8792, allocations: 0 / 0.8826 GB, free: 4 kB / 0.6387 GB Notification: Performance of Templates: time 0.03177/0.911, allocations: 16 MB / 0.8982 GB, free: 192 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)