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.2112/0.2131, allocations: 80.84 MB / 0.5897 GB, free: 7.133 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.5966/0.8098, allocations: 179.6 MB / 0.765 GB, free: 11.86 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005838/0.8157, allocations: 4.387 MB / 0.7693 GB, free: 11.04 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007178/0.8165, allocations: 21.47 kB / 0.7693 GB, free: 11.03 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001111/0.8176, allocations: 314.1 kB / 0.7696 GB, free: 10.86 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001434/0.8191, allocations: 0.5523 MB / 0.7702 GB, free: 10.58 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003693/0.8228, allocations: 1.514 MB / 0.7717 GB, free: 10.07 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002251/0.825, allocations: 2.394 MB / 0.774 GB, free: 9.02 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006605/0.8257, allocations: 473 kB / 0.7745 GB, free: 8.742 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001625/0.8273, allocations: 0.7455 MB / 0.7752 GB, free: 8.383 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007458/0.8281, allocations: 0.5676 MB / 0.7757 GB, free: 8.102 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001072/0.8282, allocations: 40.69 kB / 0.7758 GB, free: 8.102 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00273/0.831, allocations: 1.357 MB / 0.7771 GB, free: 7.477 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003164/0.8313, allocations: 267.7 kB / 0.7774 GB, free: 7.305 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004943/0.8318, allocations: 412 kB / 0.7777 GB, free: 7.07 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002171/0.834, allocations: 1.585 MB / 0.7793 GB, free: 6.164 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.834, allocations: 0 / 0.7793 GB, free: 6.164 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.462e-06/0.834, allocations: 0 / 0.7793 GB, free: 6.164 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.123e-05/0.834, allocations: 0 / 0.7793 GB, free: 6.164 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.002385/0.8364, allocations: 1.191 MB / 0.7805 GB, free: 5.227 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.8365, allocations: 14.12 kB / 0.7805 GB, free: 5.223 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001984/0.8385, allocations: 275 kB / 0.7807 GB, free: 5.105 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008144/0.8393, allocations: 0.4892 MB / 0.7812 GB, free: 4.699 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.584e-05/0.8393, allocations: 43.97 kB / 0.7813 GB, free: 4.676 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.702e-05/0.8394, allocations: 60.12 kB / 0.7813 GB, free: 4.656 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001376/0.8408, allocations: 0.7781 MB / 0.7821 GB, free: 4.164 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.8409, allocations: 0 / 0.7821 GB, free: 4.164 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.66e-05/0.8409, allocations: 31.81 kB / 0.7821 GB, free: 4.141 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.905e-05/0.841, allocations: 14.81 kB / 0.7821 GB, free: 4.141 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001271/0.8422, allocations: 0.6169 MB / 0.7827 GB, free: 3.84 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003986/0.8462, allocations: 2.832 MB / 0.7855 GB, free: 1.438 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001067/0.8473, allocations: 453.7 kB / 0.7859 GB, free: 1.215 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004666/0.8478, allocations: 215.8 kB / 0.7861 GB, free: 1.109 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003815/0.8482, allocations: 122.4 kB / 0.7862 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007814/0.849, allocations: 449.1 kB / 0.7867 GB, free: 0.6406 MB / 0.545 GB Notification: Performance of pre-optimization done (n=36): time 2.355e-06/0.849, allocations: 2.125 kB / 0.7867 GB, free: 0.6406 MB / 0.545 GB Notification: Performance of matching and sorting (n=36): time 0.001696/0.8507, allocations: 0.688 MB / 0.7873 GB, free: 304 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002342/0.8509, allocations: 473.5 kB / 0.7878 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007382/0.8517, allocations: 0.6541 MB / 0.7884 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.066e-05/0.8518, allocations: 42.2 kB / 0.7885 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002422/0.852, allocations: 338.3 kB / 0.7888 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000106/0.8521, allocations: 126.3 kB / 0.7889 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002157/0.8524, allocations: 134 kB / 0.789 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.8525, allocations: 381.2 kB / 0.7894 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000521/0.8531, allocations: 220.3 kB / 0.7896 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006937/0.8538, allocations: 469.1 kB / 0.7901 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001108/0.8549, allocations: 0.6397 MB / 0.7907 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.8549, allocations: 4.812 kB / 0.7907 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001419/0.8563, allocations: 0.7511 MB / 0.7914 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.82e-05/0.8564, allocations: 63.7 kB / 0.7915 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.8564, allocations: 5.031 kB / 0.7915 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.8564, allocations: 7.906 kB / 0.7915 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005541/0.857, allocations: 122.9 kB / 0.7916 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.345e-05/0.857, allocations: 11.75 kB / 0.7916 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000865/0.8579, allocations: 119 kB / 0.7917 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.244e-05/0.8579, allocations: 30 kB / 0.7918 GB, free: 12.9 MB / 0.5606 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.0003112/0.8583, allocations: 228.2 kB / 0.792 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.8584, allocations: 70.34 kB / 0.7921 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001207/0.8596, allocations: 0.5198 MB / 0.7926 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.8596, allocations: 4.781 kB / 0.7926 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.8596, allocations: 2.094 kB / 0.7926 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.8596, allocations: 7.922 kB / 0.7926 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002217/0.8619, allocations: 1.553 MB / 0.7941 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.8619, allocations: 2.75 kB / 0.7941 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004077/0.8623, allocations: 72.58 kB / 0.7942 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.676e-06/0.8623, allocations: 5.375 kB / 0.7942 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.486e-05/0.8624, allocations: 13.12 kB / 0.7942 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.544e-06/0.8624, allocations: 10.67 kB / 0.7942 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.8624, allocations: 4.781 kB / 0.7942 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00178/0.8642, allocations: 0.9445 MB / 0.7951 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000354/0.8645, allocations: 201.7 kB / 0.7953 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001285/0.8647, allocations: 17.36 kB / 0.7953 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006618/0.8653, allocations: 64.38 kB / 0.7954 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/0.8655, allocations: 47.11 kB / 0.7954 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.016e-05/0.8655, allocations: 19.98 kB / 0.7955 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000604/0.8661, allocations: 459 kB / 0.7959 GB, free: 9.832 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8661, allocations: 4 kB / 0.7959 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007823/0.8669, allocations: 207.8 kB / 0.7961 GB, free: 9.625 MB / 0.5606 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.0004573/0.8674, allocations: 174.1 kB / 0.7963 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001343/0.8688, allocations: 0.6422 MB / 0.7969 GB, free: 8.789 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/0.8688, allocations: 8 kB / 0.7969 GB, free: 8.781 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006612/0.8694, allocations: 278.1 kB / 0.7972 GB, free: 8.512 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001856/0.8713, allocations: 379.4 kB / 0.7975 GB, free: 8.148 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00223/0.8736, allocations: 1.446 MB / 0.7989 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005061/0.8741, allocations: 0.9141 MB / 0.7998 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007275/0.8748, allocations: 153.5 kB / 0.8 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001589/0.875, allocations: 55.42 kB / 0.8 GB, free: 5.496 MB / 0.5606 GB Notification: Performance of SimCode: time 2.71e-07/0.875, allocations: 0 / 0.8 GB, free: 5.496 MB / 0.5606 GB Notification: Performance of Templates: time 0.02446/0.8995, allocations: 14.88 MB / 0.8146 GB, free: 6.832 MB / 0.5762 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)