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.188/0.1902, allocations: 80.83 MB / 0.6706 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.6715/0.8617, allocations: 161.6 MB / 0.8284 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004631/0.8664, allocations: 3.435 MB / 0.8318 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003081/0.8667, allocations: 10.34 kB / 0.8318 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007275/0.8675, allocations: 217.5 kB / 0.832 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000715/0.8682, allocations: 322.7 kB / 0.8323 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001803/0.8701, allocations: 0.6882 MB / 0.833 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001033/0.8711, allocations: 0.9555 MB / 0.8339 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004518/0.8716, allocations: 331.9 kB / 0.8342 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008903/0.8725, allocations: 499.3 kB / 0.8347 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000402/0.8729, allocations: 303.7 kB / 0.835 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.548e-05/0.873, allocations: 44.19 kB / 0.835 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005993/0.8736, allocations: 344.2 kB / 0.8354 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001837/0.8738, allocations: 168.5 kB / 0.8355 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002416/0.874, allocations: 247.1 kB / 0.8358 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009127/0.8749, allocations: 0.7553 MB / 0.8365 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.875, allocations: 0 / 0.8365 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.673e-06/0.875, allocations: 4 kB / 0.8365 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.042e-05/0.875, allocations: 0 / 0.8365 GB, free: 9.816 MB / 0.6075 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.001436/0.8764, allocations: 0.8086 MB / 0.8373 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.8765, allocations: 9.812 kB / 0.8373 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004479/0.8769, allocations: 72.22 kB / 0.8374 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004569/0.8774, allocations: 349.6 kB / 0.8377 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.014e-05/0.8774, allocations: 28.03 kB / 0.8377 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.688e-05/0.8775, allocations: 30.72 kB / 0.8377 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008802/0.8784, allocations: 494.1 kB / 0.8382 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.8784, allocations: 0 / 0.8382 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.676e-05/0.8784, allocations: 16.88 kB / 0.8382 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.8784, allocations: 7.969 kB / 0.8382 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008515/0.8793, allocations: 385.9 kB / 0.8386 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002379/0.8817, allocations: 1.882 MB / 0.8405 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004756/0.8822, allocations: 220.9 kB / 0.8407 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003575/0.8826, allocations: 160.1 kB / 0.8408 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003353/0.8829, allocations: 119.4 kB / 0.8409 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.8829, allocations: 39.56 kB / 0.841 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=22): time 1.333e-06/0.8829, allocations: 0 / 0.841 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22): time 0.001956/0.8849, allocations: 0.6413 MB / 0.8416 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/0.885, allocations: 53.5 kB / 0.8416 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003219/0.8853, allocations: 322.2 kB / 0.842 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.593e-05/0.8853, allocations: 27.86 kB / 0.842 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001407/0.8855, allocations: 212.7 kB / 0.8422 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.061e-05/0.8855, allocations: 81.27 kB / 0.8423 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.957e-05/0.8857, allocations: 49.52 kB / 0.8423 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.8858, allocations: 346.6 kB / 0.8426 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003639/0.8862, allocations: 130.2 kB / 0.8428 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003681/0.8865, allocations: 194.1 kB / 0.8429 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006975/0.8873, allocations: 362.3 kB / 0.8433 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.8873, allocations: 0 / 0.8433 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001318/0.8886, allocations: 0.4935 MB / 0.8438 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.913e-05/0.8887, allocations: 41.19 kB / 0.8438 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.8887, allocations: 0 / 0.8438 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005422/0.8892, allocations: 89.19 kB / 0.8439 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003035/0.8895, allocations: 61.3 kB / 0.844 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002367/0.8919, allocations: 1.726 MB / 0.8456 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004034/0.8923, allocations: 45.31 kB / 0.8457 GB, free: 2.379 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.999e-05/0.8924, allocations: 15.66 kB / 0.8457 GB, free: 2.371 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002042/0.8926, allocations: 166.9 kB / 0.8459 GB, free: 2.223 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.558e-05/0.8927, allocations: 36.8 kB / 0.8459 GB, free: 2.203 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001212/0.8939, allocations: 449.4 kB / 0.8463 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.8939, allocations: 2.531 kB / 0.8463 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.8939, allocations: 0 / 0.8463 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.8939, allocations: 4 kB / 0.8463 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001757/0.8957, allocations: 0.9161 MB / 0.8472 GB, free: 1.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.8957, allocations: 0 / 0.8472 GB, free: 1.25 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002539/0.896, allocations: 54.94 kB / 0.8473 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004293/0.8964, allocations: 79.56 kB / 0.8474 GB, free: 1.195 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.662e-05/0.8964, allocations: 6.094 kB / 0.8474 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001785/0.8982, allocations: 1.664 MB / 0.849 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.8983, allocations: 2.094 kB / 0.849 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001216/0.8995, allocations: 0.5265 MB / 0.8495 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000176/0.8997, allocations: 154 kB / 0.8496 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.88e-05/0.8997, allocations: 2.625 kB / 0.8496 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003558/0.9001, allocations: 30.8 kB / 0.8497 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.015e-05/0.9002, allocations: 26.22 kB / 0.8497 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.57e-05/0.9002, allocations: 18.06 kB / 0.8497 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002474/0.9005, allocations: 223.8 kB / 0.8499 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9005, allocations: 6.156 kB / 0.8499 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005287/0.901, allocations: 128.4 kB / 0.8501 GB, free: 14.86 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000484/0.9015, allocations: 188.1 kB / 0.8502 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001094/0.9026, allocations: 0.4952 MB / 0.8507 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.9026, allocations: 0 / 0.8507 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005796/0.9032, allocations: 285.1 kB / 0.851 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009658/0.9042, allocations: 184.7 kB / 0.8512 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001242/0.9054, allocations: 0.689 MB / 0.8518 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00039/0.9059, allocations: 0.8142 MB / 0.8526 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003095/0.9062, allocations: 78.41 kB / 0.8527 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.767e-05/0.9063, allocations: 27.59 kB / 0.8527 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of SimCode: time 3.9e-07/0.9063, allocations: 3.938 kB / 0.8527 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of Templates: time 0.01483/0.9211, allocations: 8.282 MB / 0.8608 GB, free: 6.469 MB / 0.6231 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.makefile (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)