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.4812/0.4833, allocations: 80.81 MB / 0.5904 GB, free: 22.28 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.6552/1.139, allocations: 181.8 MB / 0.7679 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005996/1.145, allocations: 4.376 MB / 0.7722 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005838/1.145, allocations: 22.22 kB / 0.7722 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001103/1.146, allocations: 373.7 kB / 0.7726 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001385/1.148, allocations: 0.5824 MB / 0.7731 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005096/1.153, allocations: 1.623 MB / 0.7747 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003751/1.157, allocations: 1.751 MB / 0.7764 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000944/1.158, allocations: 0.5528 MB / 0.777 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001794/1.159, allocations: 0.8325 MB / 0.7778 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007879/1.16, allocations: 0.5457 MB / 0.7783 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001426/1.16, allocations: 75.89 kB / 0.7784 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003093/1.163, allocations: 1.202 MB / 0.7796 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003542/1.164, allocations: 292.6 kB / 0.7799 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006749/1.165, allocations: 443.5 kB / 0.7803 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002674/1.167, allocations: 1.542 MB / 0.7818 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/1.167, allocations: 0 / 0.7818 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.645e-06/1.167, allocations: 2.906 kB / 0.7818 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.352e-05/1.167, allocations: 0.8438 kB / 0.7818 GB, free: 1.402 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.002349/1.17, allocations: 1.193 MB / 0.783 GB, free: 16.7 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/1.17, allocations: 18.98 kB / 0.783 GB, free: 16.7 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001884/1.172, allocations: 276.2 kB / 0.7832 GB, free: 16.65 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007871/1.172, allocations: 496.2 kB / 0.7837 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.582e-05/1.172, allocations: 49.62 kB / 0.7838 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/1.173, allocations: 64.69 kB / 0.7838 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001305/1.174, allocations: 0.7721 MB / 0.7846 GB, free: 16.26 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.988e-05/1.174, allocations: 3.25 kB / 0.7846 GB, free: 16.26 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.716e-05/1.174, allocations: 26.31 kB / 0.7846 GB, free: 16.26 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.917e-05/1.174, allocations: 17.38 kB / 0.7846 GB, free: 16.26 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00124/1.175, allocations: 0.6225 MB / 0.7852 GB, free: 16.25 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003788/1.179, allocations: 2.837 MB / 0.788 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/1.18, allocations: 454.5 kB / 0.7884 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00045/1.181, allocations: 210.7 kB / 0.7886 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003762/1.181, allocations: 126.1 kB / 0.7887 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007694/1.182, allocations: 453.1 kB / 0.7892 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=36): time 2.495e-06/1.182, allocations: 1.031 kB / 0.7892 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36): time 0.001613/1.183, allocations: 0.6836 MB / 0.7898 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002622/1.184, allocations: 480.9 kB / 0.7903 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007877/1.184, allocations: 0.6498 MB / 0.7909 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.877e-05/1.184, allocations: 40.69 kB / 0.791 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002355/1.185, allocations: 340.5 kB / 0.7913 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.256e-05/1.185, allocations: 124.2 kB / 0.7914 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001954/1.185, allocations: 136.1 kB / 0.7916 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002166/1.185, allocations: 374.4 kB / 0.7919 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004834/1.186, allocations: 224.4 kB / 0.7921 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000685/1.186, allocations: 475.1 kB / 0.7926 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/1.187, allocations: 0.6384 MB / 0.7932 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/1.188, allocations: 3.344 kB / 0.7932 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001356/1.189, allocations: 0.7487 MB / 0.7939 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.878e-05/1.189, allocations: 65.94 kB / 0.794 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/1.189, allocations: 7.859 kB / 0.794 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/1.189, allocations: 4.875 kB / 0.794 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005063/1.189, allocations: 119 kB / 0.7941 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.298e-05/1.19, allocations: 8.188 kB / 0.7941 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007835/1.19, allocations: 109.2 kB / 0.7942 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-05/1.19, allocations: 28.97 kB / 0.7943 GB, free: 12.27 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.0003407/1.191, allocations: 231.7 kB / 0.7945 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/1.191, allocations: 73.58 kB / 0.7946 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001221/1.192, allocations: 0.5226 MB / 0.7951 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/1.192, allocations: 5.844 kB / 0.7951 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/1.192, allocations: 3 kB / 0.7951 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/1.192, allocations: 3.75 kB / 0.7951 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002316/1.194, allocations: 1.549 MB / 0.7966 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/1.194, allocations: 3.312 kB / 0.7966 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003798/1.195, allocations: 74.44 kB / 0.7967 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.884e-06/1.195, allocations: 4.844 kB / 0.7967 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.463e-05/1.195, allocations: 12.25 kB / 0.7967 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.743e-06/1.195, allocations: 5.5 kB / 0.7967 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/1.195, allocations: 7.062 kB / 0.7967 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001869/1.197, allocations: 0.9436 MB / 0.7976 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002993/1.197, allocations: 205 kB / 0.7978 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001227/1.197, allocations: 16.41 kB / 0.7978 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005999/1.198, allocations: 42.31 kB / 0.7979 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/1.198, allocations: 52.06 kB / 0.7979 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.733e-05/1.198, allocations: 19.59 kB / 0.7979 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005947/1.199, allocations: 462.1 kB / 0.7984 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/1.199, allocations: 0.875 kB / 0.7984 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007283/1.199, allocations: 214.3 kB / 0.7986 GB, free: 10.91 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.0004706/1.2, allocations: 182.7 kB / 0.7988 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001306/1.201, allocations: 0.6639 MB / 0.7994 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/1.201, allocations: 2.75 kB / 0.7994 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005985/1.202, allocations: 277.8 kB / 0.7997 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00182/1.204, allocations: 404.1 kB / 0.8001 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00248/1.206, allocations: 1.216 MB / 0.8012 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00051/1.207, allocations: 0.9156 MB / 0.8021 GB, free: 9.395 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007006/1.207, allocations: 156.5 kB / 0.8023 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/1.208, allocations: 58.23 kB / 0.8023 GB, free: 9.34 MB / 0.5919 GB Notification: Performance of SimCode: time 7.22e-07/1.208, allocations: 0 / 0.8023 GB, free: 9.34 MB / 0.5919 GB Notification: Performance of Templates: time 0.02569/1.233, allocations: 15.65 MB / 0.8176 GB, free: 4.473 MB / 0.5919 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)