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.1717/0.1724, allocations: 82.22 MB / 0.5934 GB, free: 6.016 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.484/0.6564, allocations: 151.4 MB / 0.7412 GB, free: 15.04 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006521/0.663, allocations: 4.048 MB / 0.7452 GB, free: 14.75 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005594/0.6636, allocations: 15.69 kB / 0.7452 GB, free: 14.74 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001011/0.6647, allocations: 279.6 kB / 0.7455 GB, free: 14.69 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001089/0.6658, allocations: 431 kB / 0.7459 GB, free: 14.64 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002761/0.6685, allocations: 0.9281 MB / 0.7468 GB, free: 14.41 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001547/0.6701, allocations: 0.9807 MB / 0.7477 GB, free: 14.24 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000626/0.6707, allocations: 457.3 kB / 0.7482 GB, free: 14.06 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001975/0.6727, allocations: 0.8784 MB / 0.749 GB, free: 13.81 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005401/0.6733, allocations: 391.5 kB / 0.7494 GB, free: 13.66 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.203e-05/0.6734, allocations: 35.94 kB / 0.7494 GB, free: 13.66 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001125/0.6745, allocations: 418.6 kB / 0.7498 GB, free: 13.59 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002641/0.6748, allocations: 240.9 kB / 0.7501 GB, free: 13.5 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001989/0.675, allocations: 176 kB / 0.7502 GB, free: 13.45 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009334/0.6759, allocations: 0.8755 MB / 0.7511 GB, free: 13 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.6759, allocations: 0 / 0.7511 GB, free: 13 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.032e-06/0.6759, allocations: 0 / 0.7511 GB, free: 13 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.718e-06/0.676, allocations: 2.531 kB / 0.7511 GB, free: 13 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.00191/0.6779, allocations: 1.012 MB / 0.7521 GB, free: 12.25 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.6779, allocations: 10.88 kB / 0.7521 GB, free: 12.25 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0018/0.6797, allocations: 290.3 kB / 0.7524 GB, free: 12.14 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007857/0.6805, allocations: 484.2 kB / 0.7528 GB, free: 11.8 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.223e-05/0.6806, allocations: 47.19 kB / 0.7529 GB, free: 11.8 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.781e-05/0.6807, allocations: 61.03 kB / 0.7529 GB, free: 11.8 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/0.6819, allocations: 0.7822 MB / 0.7537 GB, free: 11.52 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.6819, allocations: 10.22 kB / 0.7537 GB, free: 11.51 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.763e-05/0.682, allocations: 28.34 kB / 0.7537 GB, free: 11.51 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.287e-05/0.682, allocations: 12.62 kB / 0.7537 GB, free: 11.51 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001186/0.6832, allocations: 0.6457 MB / 0.7544 GB, free: 11.38 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003463/0.6867, allocations: 2.841 MB / 0.7571 GB, free: 9.367 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009763/0.6877, allocations: 481.6 kB / 0.7576 GB, free: 9.254 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003589/0.6881, allocations: 137.9 kB / 0.7577 GB, free: 9.137 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000732/0.6888, allocations: 468.8 kB / 0.7582 GB, free: 8.848 MB / 0.545 GB Notification: Performance of pre-optimization done (n=36): time 2.014e-06/0.6888, allocations: 4.5 kB / 0.7582 GB, free: 8.848 MB / 0.545 GB Notification: Performance of matching and sorting (n=36): time 0.001483/0.6903, allocations: 0.7262 MB / 0.7589 GB, free: 8.652 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002221/0.6905, allocations: 482 kB / 0.7594 GB, free: 8.082 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006763/0.6912, allocations: 0.6494 MB / 0.76 GB, free: 7.848 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.335e-05/0.6913, allocations: 38.48 kB / 0.76 GB, free: 7.812 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002261/0.6915, allocations: 342.3 kB / 0.7603 GB, free: 7.617 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.6916, allocations: 120.3 kB / 0.7605 GB, free: 7.535 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.903e-05/0.6917, allocations: 12.41 kB / 0.7605 GB, free: 7.535 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.6918, allocations: 379.9 kB / 0.7608 GB, free: 7.195 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004746/0.6923, allocations: 238.5 kB / 0.7611 GB, free: 7.148 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000649/0.693, allocations: 481.5 kB / 0.7615 GB, free: 6.836 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005426/0.6935, allocations: 336.9 kB / 0.7618 GB, free: 6.719 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.6935, allocations: 4 kB / 0.7618 GB, free: 6.715 MB / 0.545 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001318/0.6949, allocations: 0.7838 MB / 0.7626 GB, free: 6.449 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.404e-05/0.6949, allocations: 62.19 kB / 0.7627 GB, free: 6.387 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.6949, allocations: 5.375 kB / 0.7627 GB, free: 6.387 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.695, allocations: 7.719 kB / 0.7627 GB, free: 6.387 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005177/0.6955, allocations: 131.3 kB / 0.7628 GB, free: 6.355 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.388e-05/0.6955, allocations: 13.23 kB / 0.7628 GB, free: 6.352 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007627/0.6963, allocations: 126.8 kB / 0.7629 GB, free: 6.289 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-05/0.6963, allocations: 32.52 kB / 0.763 GB, free: 6.281 MB / 0.545 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 ($whenCondition2,$whenCondition1,$PRE.m_flow1.T_start,m_flow1.T_start,$PRE.m_flow1.count,m_flow1.count,$PRE.m_flow2.T_start,m_flow2.T_start,$PRE.m_flow2.count,m_flow2.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002785/0.6966, allocations: 227.7 kB / 0.7632 GB, free: 6.145 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.6967, allocations: 67.69 kB / 0.7633 GB, free: 6.113 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001093/0.6978, allocations: 0.5596 MB / 0.7638 GB, free: 5.945 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.251e-06/0.6978, allocations: 5.688 kB / 0.7638 GB, free: 5.945 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.6979, allocations: 0 / 0.7638 GB, free: 5.945 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.6979, allocations: 2.844 kB / 0.7638 GB, free: 5.945 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002057/0.6999, allocations: 1.587 MB / 0.7654 GB, free: 5.039 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.6999, allocations: 3 kB / 0.7654 GB, free: 5.039 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000375/0.7003, allocations: 82.59 kB / 0.7654 GB, free: 5.02 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.141e-06/0.7003, allocations: 4.75 kB / 0.7654 GB, free: 5.02 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.039e-05/0.7004, allocations: 11.77 kB / 0.7655 GB, free: 5.016 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.7004, allocations: 5.625 kB / 0.7655 GB, free: 5.016 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.7004, allocations: 9.906 kB / 0.7655 GB, free: 5.008 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001644/0.702, allocations: 1.114 MB / 0.7666 GB, free: 4.422 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003187/0.7024, allocations: 211.1 kB / 0.7668 GB, free: 4.262 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/0.7025, allocations: 17.42 kB / 0.7668 GB, free: 4.258 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006229/0.7031, allocations: 63.03 kB / 0.7668 GB, free: 4.238 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/0.7033, allocations: 48.5 kB / 0.7669 GB, free: 4.219 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.372e-05/0.7033, allocations: 18.08 kB / 0.7669 GB, free: 4.215 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005025/0.7038, allocations: 457.6 kB / 0.7673 GB, free: 4.055 MB / 0.545 GB Notification: Performance of sort global known variables: time 2e-07/0.7038, allocations: 0 / 0.7673 GB, free: 4.055 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000637/0.7045, allocations: 204.8 kB / 0.7675 GB, free: 4.047 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004287/0.7049, allocations: 189 kB / 0.7677 GB, free: 3.914 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001235/0.7061, allocations: 0.6582 MB / 0.7684 GB, free: 3.676 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.7061, allocations: 10 kB / 0.7684 GB, free: 3.668 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006067/0.7068, allocations: 294.7 kB / 0.7686 GB, free: 3.609 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001652/0.7084, allocations: 387.7 kB / 0.769 GB, free: 3.488 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002133/0.7106, allocations: 1.435 MB / 0.7704 GB, free: 2.547 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004673/0.711, allocations: 0.9272 MB / 0.7713 GB, free: 1.746 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000627/0.7117, allocations: 159 kB / 0.7715 GB, free: 1.672 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001405/0.7118, allocations: 51.53 kB / 0.7715 GB, free: 1.664 MB / 0.545 GB Notification: Performance of SimCode: time 3.61e-07/0.7118, allocations: 0 / 0.7715 GB, free: 1.664 MB / 0.545 GB Notification: Performance of Templates: time 0.02339/0.7352, allocations: 14.32 MB / 0.7855 GB, free: 10.36 MB / 0.5606 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: