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.1604/0.1611, allocations: 82.22 MB / 0.5941 GB, free: 15.04 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.5181/0.6793, allocations: 177.2 MB / 0.7672 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005967/0.6853, allocations: 4.34 MB / 0.7714 GB, free: 7.258 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005064/0.6859, allocations: 19.88 kB / 0.7714 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001033/0.6869, allocations: 310.3 kB / 0.7717 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001181/0.6881, allocations: 0.5557 MB / 0.7723 GB, free: 6.375 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003497/0.6916, allocations: 1.503 MB / 0.7737 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002304/0.6939, allocations: 2.378 MB / 0.7761 GB, free: 2.492 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006489/0.6946, allocations: 478.4 kB / 0.7765 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002248/0.6969, allocations: 0.7392 MB / 0.7772 GB, free: 1.281 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009671/0.6978, allocations: 0.5681 MB / 0.7778 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.875e-05/0.6979, allocations: 36 kB / 0.7778 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003051/0.701, allocations: 1.356 MB / 0.7791 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000335/0.7014, allocations: 255.2 kB / 0.7794 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005109/0.7019, allocations: 427.9 kB / 0.7798 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002186/0.7041, allocations: 1.561 MB / 0.7813 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.7041, allocations: 3.984 kB / 0.7813 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.763e-06/0.7041, allocations: 0 / 0.7813 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.107e-06/0.7041, allocations: 0 / 0.7813 GB, free: 13.07 MB / 0.5762 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.002025/0.7061, allocations: 1.05 MB / 0.7824 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.7062, allocations: 15.97 kB / 0.7824 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00182/0.708, allocations: 278.8 kB / 0.7826 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000809/0.7088, allocations: 0.4936 MB / 0.7831 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.824e-05/0.7089, allocations: 45.31 kB / 0.7832 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.709, allocations: 60 kB / 0.7832 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001412/0.7104, allocations: 0.7904 MB / 0.784 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.7105, allocations: 4 kB / 0.784 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.47e-05/0.7105, allocations: 28 kB / 0.784 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.56e-05/0.7106, allocations: 16 kB / 0.784 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001341/0.7119, allocations: 0.6491 MB / 0.7847 GB, free: 9.516 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00368/0.7156, allocations: 2.848 MB / 0.7874 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001057/0.7167, allocations: 482.3 kB / 0.7879 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000481/0.7172, allocations: 233.3 kB / 0.7881 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003539/0.7175, allocations: 133.3 kB / 0.7883 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007691/0.7183, allocations: 474 kB / 0.7887 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=36): time 2.194e-06/0.7183, allocations: 7.938 kB / 0.7887 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of matching and sorting (n=36): time 0.001687/0.72, allocations: 0.7294 MB / 0.7894 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001941/0.7202, allocations: 482.6 kB / 0.7899 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007199/0.721, allocations: 0.6523 MB / 0.7905 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.187e-05/0.721, allocations: 37.7 kB / 0.7906 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002301/0.7213, allocations: 343.5 kB / 0.7909 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/0.7214, allocations: 130.3 kB / 0.791 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.123e-05/0.7214, allocations: 49.7 kB / 0.7911 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.7216, allocations: 378.7 kB / 0.7914 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005205/0.7221, allocations: 241 kB / 0.7917 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006776/0.7228, allocations: 487.5 kB / 0.7921 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/0.7239, allocations: 0.6671 MB / 0.7928 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.7239, allocations: 0 / 0.7928 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001418/0.7253, allocations: 0.7873 MB / 0.7935 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.025e-05/0.7254, allocations: 63.39 kB / 0.7936 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.7254, allocations: 5.312 kB / 0.7936 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.7255, allocations: 8 kB / 0.7936 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005121/0.726, allocations: 128.2 kB / 0.7937 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.407e-05/0.726, allocations: 11.98 kB / 0.7937 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007792/0.7268, allocations: 131.1 kB / 0.7939 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.702e-05/0.7268, allocations: 20 kB / 0.7939 GB, free: 15.45 MB / 0.5919 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.0003098/0.7272, allocations: 235.2 kB / 0.7941 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.7273, allocations: 71.23 kB / 0.7942 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001186/0.7285, allocations: 0.558 MB / 0.7947 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.7285, allocations: 4 kB / 0.7947 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.7285, allocations: 0 / 0.7947 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.7285, allocations: 3.984 kB / 0.7947 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002072/0.7306, allocations: 1.587 MB / 0.7963 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.7306, allocations: 4 kB / 0.7963 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003876/0.731, allocations: 80.23 kB / 0.7964 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.731, allocations: 8 kB / 0.7964 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.985e-05/0.731, allocations: 8 kB / 0.7964 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.232e-06/0.731, allocations: 11.98 kB / 0.7964 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.127e-06/0.7311, allocations: 0 / 0.7964 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00167/0.7327, allocations: 0.993 MB / 0.7974 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002595/0.733, allocations: 204.2 kB / 0.7976 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/0.7331, allocations: 15.98 kB / 0.7976 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006607/0.7338, allocations: 59.94 kB / 0.7976 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.7339, allocations: 51.89 kB / 0.7977 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.425e-05/0.734, allocations: 15.98 kB / 0.7977 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005136/0.7345, allocations: 467 kB / 0.7981 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7345, allocations: 0 / 0.7981 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006651/0.7352, allocations: 219.6 kB / 0.7983 GB, free: 10.7 MB / 0.5919 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.0003816/0.7355, allocations: 177.5 kB / 0.7985 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001247/0.7368, allocations: 0.67 MB / 0.7992 GB, free: 9.836 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.7368, allocations: 4 kB / 0.7992 GB, free: 9.832 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006169/0.7374, allocations: 293 kB / 0.7995 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002047/0.7395, allocations: 388.4 kB / 0.7998 GB, free: 9.18 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002147/0.7417, allocations: 1.506 MB / 0.8013 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004509/0.7421, allocations: 0.9141 MB / 0.8022 GB, free: 6.672 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006892/0.7428, allocations: 157.5 kB / 0.8023 GB, free: 6.516 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001604/0.743, allocations: 51.44 kB / 0.8024 GB, free: 6.465 MB / 0.5919 GB Notification: Performance of SimCode: time 4.51e-07/0.743, allocations: 0 / 0.8024 GB, free: 6.465 MB / 0.5919 GB Notification: Performance of Templates: time 0.02424/0.7672, allocations: 14.82 MB / 0.8169 GB, free: 7.844 MB / 0.6075 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: