Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.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.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb") translateModel(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb") [/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.1962/0.197, allocations: 82.2 MB / 0.5935 GB, free: 6.004 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.548/0.745, allocations: 146.7 MB / 0.7367 GB, free: 56 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005128/0.7502, allocations: 3.219 MB / 0.7399 GB, free: 15.79 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004656/0.7507, allocations: 8.938 kB / 0.7399 GB, free: 15.78 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006433/0.7514, allocations: 142.2 kB / 0.74 GB, free: 15.73 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.0008023/0.7522, allocations: 298.5 kB / 0.7403 GB, free: 15.65 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001945/0.7541, allocations: 0.5219 MB / 0.7408 GB, free: 15.59 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001407/0.7555, allocations: 1.088 MB / 0.7419 GB, free: 15.43 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004519/0.756, allocations: 252.7 kB / 0.7421 GB, free: 15.4 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009506/0.757, allocations: 430.6 kB / 0.7425 GB, free: 15.31 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004628/0.7574, allocations: 291 kB / 0.7428 GB, free: 15.27 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.182e-05/0.7575, allocations: 20 kB / 0.7428 GB, free: 15.27 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005855/0.7581, allocations: 222.2 kB / 0.743 GB, free: 15.25 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001747/0.7583, allocations: 143.3 kB / 0.7432 GB, free: 15.23 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001266/0.7584, allocations: 110.6 kB / 0.7433 GB, free: 15.19 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006641/0.7591, allocations: 0.5135 MB / 0.7438 GB, free: 15.15 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.7591, allocations: 0 / 0.7438 GB, free: 15.15 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.262e-06/0.7591, allocations: 7.938 kB / 0.7438 GB, free: 15.14 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.243e-06/0.7591, allocations: 1.219 kB / 0.7438 GB, free: 15.14 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: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.001452/0.7606, allocations: 0.7128 MB / 0.7445 GB, free: 14.63 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.7606, allocations: 8.875 kB / 0.7445 GB, free: 14.63 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005324/0.7612, allocations: 78.45 kB / 0.7446 GB, free: 14.6 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006364/0.7618, allocations: 323.9 kB / 0.7449 GB, free: 14.38 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.196e-05/0.7619, allocations: 31.52 kB / 0.7449 GB, free: 14.37 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.053e-05/0.762, allocations: 32.66 kB / 0.7449 GB, free: 14.37 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001043/0.763, allocations: 495.5 kB / 0.7454 GB, free: 14.28 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/0.763, allocations: 5.875 kB / 0.7454 GB, free: 14.28 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.11e-05/0.7631, allocations: 16.06 kB / 0.7454 GB, free: 14.28 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.339e-05/0.7631, allocations: 8.75 kB / 0.7454 GB, free: 14.28 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008697/0.764, allocations: 417.9 kB / 0.7458 GB, free: 14.27 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00304/0.767, allocations: 1.893 MB / 0.7477 GB, free: 12.97 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004829/0.7676, allocations: 238.4 kB / 0.7479 GB, free: 12.91 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003674/0.7679, allocations: 180.3 kB / 0.7481 GB, free: 12.86 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000359/0.7683, allocations: 130.8 kB / 0.7482 GB, free: 12.75 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.7683, allocations: 38.28 kB / 0.7482 GB, free: 12.71 MB / 0.545 GB Notification: Performance of pre-optimization done (n=22): time 3.607e-06/0.7684, allocations: 1.062 kB / 0.7482 GB, free: 12.71 MB / 0.545 GB Notification: Performance of matching and sorting (n=22): time 0.002136/0.7705, allocations: 0.6968 MB / 0.7489 GB, free: 12.42 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.871e-05/0.7706, allocations: 54.16 kB / 0.749 GB, free: 12.36 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004298/0.771, allocations: 314 kB / 0.7493 GB, free: 12.21 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.182e-05/0.7711, allocations: 31.7 kB / 0.7493 GB, free: 12.18 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001619/0.7712, allocations: 206.7 kB / 0.7495 GB, free: 12.04 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.325e-05/0.7713, allocations: 81.7 kB / 0.7496 GB, free: 11.98 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.796e-05/0.7713, allocations: 5.75 kB / 0.7496 GB, free: 11.98 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.7715, allocations: 337.6 kB / 0.7499 GB, free: 11.66 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003429/0.7718, allocations: 153 kB / 0.7501 GB, free: 11.63 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003528/0.7722, allocations: 200.5 kB / 0.7503 GB, free: 11.54 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004975/0.7727, allocations: 202.4 kB / 0.7504 GB, free: 11.48 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.7727, allocations: 3.953 kB / 0.7504 GB, free: 11.47 MB / 0.545 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001261/0.774, allocations: 0.5183 MB / 0.751 GB, free: 11.29 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.467e-05/0.7741, allocations: 36.11 kB / 0.751 GB, free: 11.26 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.7741, allocations: 1.75 kB / 0.751 GB, free: 11.26 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005133/0.7746, allocations: 91.66 kB / 0.7511 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003293/0.7749, allocations: 75.33 kB / 0.7511 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002002/0.777, allocations: 1.525 MB / 0.7526 GB, free: 9.828 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004702/0.7774, allocations: 67.94 kB / 0.7527 GB, free: 9.797 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.412e-05/0.7775, allocations: 11.62 kB / 0.7527 GB, free: 9.793 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 1 (senWetBul.wetBulMod.iWat) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003178/0.7778, allocations: 178.6 kB / 0.7529 GB, free: 9.66 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.857e-05/0.7779, allocations: 31.72 kB / 0.7529 GB, free: 9.648 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001171/0.7791, allocations: 474.6 kB / 0.7534 GB, free: 9.5 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.7791, allocations: 3.344 kB / 0.7534 GB, free: 9.5 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.7791, allocations: 0 / 0.7534 GB, free: 9.5 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-06/0.7791, allocations: 7.953 kB / 0.7534 GB, free: 9.492 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001864/0.781, allocations: 0.9455 MB / 0.7543 GB, free: 8.973 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.781, allocations: 4.375 kB / 0.7543 GB, free: 8.973 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002984/0.7813, allocations: 66.7 kB / 0.7544 GB, free: 8.953 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004238/0.7817, allocations: 95.66 kB / 0.7545 GB, free: 8.914 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.26e-05/0.7818, allocations: 7.219 kB / 0.7545 GB, free: 8.914 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002004/0.7838, allocations: 1.622 MB / 0.7561 GB, free: 7.523 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.7838, allocations: 5.688 kB / 0.7561 GB, free: 7.52 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001262/0.7851, allocations: 0.5667 MB / 0.7566 GB, free: 7.242 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003122/0.7854, allocations: 149.2 kB / 0.7568 GB, free: 7.117 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.187e-05/0.7854, allocations: 2.125 kB / 0.7568 GB, free: 7.117 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000418/0.7859, allocations: 50.23 kB / 0.7568 GB, free: 7.102 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001261/0.786, allocations: 24.83 kB / 0.7568 GB, free: 7.09 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.418e-05/0.7861, allocations: 23.45 kB / 0.7568 GB, free: 7.082 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003241/0.7864, allocations: 225 kB / 0.7571 GB, free: 6.973 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.7864, allocations: 4 kB / 0.7571 GB, free: 6.969 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007844/0.7872, allocations: 135.1 kB / 0.7572 GB, free: 6.949 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005368/0.7878, allocations: 165 kB / 0.7574 GB, free: 6.848 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001282/0.7891, allocations: 0.5137 MB / 0.7579 GB, free: 6.598 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.7891, allocations: 0 / 0.7579 GB, free: 6.598 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0005285/0.7896, allocations: 300 kB / 0.7581 GB, free: 6.441 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/0.7907, allocations: 178.9 kB / 0.7583 GB, free: 6.387 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/0.7921, allocations: 0.8215 MB / 0.7591 GB, free: 5.852 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004082/0.7925, allocations: 0.8092 MB / 0.7599 GB, free: 5.102 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003581/0.7929, allocations: 77.38 kB / 0.76 GB, free: 5.074 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.49e-05/0.793, allocations: 25.94 kB / 0.76 GB, free: 5.066 MB / 0.545 GB Notification: Performance of SimCode: time 6.32e-07/0.793, allocations: 0 / 0.76 GB, free: 5.066 MB / 0.545 GB Notification: Performance of Templates: time 0.01411/0.8071, allocations: 7.479 MB / 0.7673 GB, free: 1.363 MB / 0.545 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & ./Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1) Environment - environmentSimulation: