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.1634/0.1654, allocations: 80.83 MB / 0.6706 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.5826/0.748, allocations: 161.6 MB / 0.8284 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005137/0.7532, allocations: 3.428 MB / 0.8318 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000416/0.7537, allocations: 9.188 kB / 0.8318 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007644/0.7545, allocations: 213.8 kB / 0.832 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0007616/0.7553, allocations: 322.6 kB / 0.8323 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001974/0.7572, allocations: 0.6984 MB / 0.833 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001021/0.7583, allocations: 0.9454 MB / 0.8339 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004664/0.7588, allocations: 335.6 kB / 0.8342 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008574/0.7596, allocations: 494.5 kB / 0.8347 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003905/0.76, allocations: 303.2 kB / 0.835 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.208e-05/0.7601, allocations: 43.03 kB / 0.835 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006237/0.7607, allocations: 345.8 kB / 0.8353 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001775/0.7609, allocations: 172.2 kB / 0.8355 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002307/0.7612, allocations: 249.5 kB / 0.8358 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000863/0.762, allocations: 0.7453 MB / 0.8365 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.762, allocations: 0 / 0.8365 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.202e-06/0.762, allocations: 0 / 0.8365 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.825e-06/0.7621, allocations: 2.281 kB / 0.8365 GB, free: 9.941 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.001421/0.7635, allocations: 0.8012 MB / 0.8373 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.7635, allocations: 7.75 kB / 0.8373 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004533/0.764, allocations: 74.75 kB / 0.8373 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004984/0.7645, allocations: 345.2 kB / 0.8377 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.543e-05/0.7645, allocations: 24.12 kB / 0.8377 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.745e-05/0.7646, allocations: 34.62 kB / 0.8377 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008666/0.7655, allocations: 487.9 kB / 0.8382 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.7655, allocations: 11.59 kB / 0.8382 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.365e-05/0.7655, allocations: 12.84 kB / 0.8382 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.7656, allocations: 7.688 kB / 0.8382 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008557/0.7664, allocations: 394.1 kB / 0.8386 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002398/0.7688, allocations: 1.859 MB / 0.8404 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004814/0.7693, allocations: 234.8 kB / 0.8406 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003513/0.7697, allocations: 161.4 kB / 0.8408 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003428/0.77, allocations: 118 kB / 0.8409 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.7701, allocations: 37.03 kB / 0.8409 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=22): time 1.763e-06/0.7701, allocations: 4 kB / 0.8409 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22): time 0.001994/0.7721, allocations: 0.6408 MB / 0.8416 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/0.7721, allocations: 58.03 kB / 0.8416 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003029/0.7724, allocations: 313.8 kB / 0.8419 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.549e-05/0.7725, allocations: 35.73 kB / 0.842 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/0.7726, allocations: 204.4 kB / 0.8422 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.773e-05/0.7727, allocations: 80.97 kB / 0.8422 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.7728, allocations: 51.92 kB / 0.8423 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.7729, allocations: 340 kB / 0.8426 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003417/0.7733, allocations: 140.6 kB / 0.8427 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003558/0.7736, allocations: 179.6 kB / 0.8429 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006916/0.7743, allocations: 363.4 kB / 0.8433 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.7743, allocations: 0 / 0.8433 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001277/0.7756, allocations: 0.4895 MB / 0.8437 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.106e-05/0.7757, allocations: 32.83 kB / 0.8438 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.7757, allocations: 6.859 kB / 0.8438 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005693/0.7763, allocations: 85.03 kB / 0.8439 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003052/0.7766, allocations: 71.36 kB / 0.8439 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002265/0.7789, allocations: 1.726 MB / 0.8456 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003621/0.7792, allocations: 49.03 kB / 0.8457 GB, free: 2.531 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.674e-05/0.7793, allocations: 7.719 kB / 0.8457 GB, free: 2.531 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.0003008/0.7796, allocations: 177.2 kB / 0.8458 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.585e-05/0.7797, allocations: 31 kB / 0.8459 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001336/0.781, allocations: 460.7 kB / 0.8463 GB, free: 2.086 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.781, allocations: 2.906 kB / 0.8463 GB, free: 2.086 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.7811, allocations: 0 / 0.8463 GB, free: 2.086 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.7811, allocations: 0 / 0.8463 GB, free: 2.086 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001857/0.7829, allocations: 0.9161 MB / 0.8472 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.7829, allocations: 0 / 0.8472 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002552/0.7832, allocations: 45.91 kB / 0.8472 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004307/0.7836, allocations: 90.22 kB / 0.8473 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.192e-05/0.7837, allocations: 0 / 0.8473 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001729/0.7854, allocations: 1.658 MB / 0.8489 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.7854, allocations: 192 / 0.8489 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001181/0.7866, allocations: 0.5385 MB / 0.8495 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002169/0.7868, allocations: 146.8 kB / 0.8496 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.901e-05/0.7869, allocations: 6.25 kB / 0.8496 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003373/0.7872, allocations: 35.11 kB / 0.8496 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.962e-05/0.7873, allocations: 22.05 kB / 0.8497 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.761e-05/0.7874, allocations: 17.89 kB / 0.8497 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002195/0.7876, allocations: 231.2 kB / 0.8499 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7876, allocations: 0 / 0.8499 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005116/0.7881, allocations: 122.3 kB / 0.85 GB, free: 15.02 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.0004422/0.7886, allocations: 178.9 kB / 0.8502 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001061/0.7896, allocations: 0.495 MB / 0.8507 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.7897, allocations: 0 / 0.8507 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005468/0.7902, allocations: 293.7 kB / 0.851 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008974/0.7911, allocations: 178.6 kB / 0.8511 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001125/0.7923, allocations: 0.6762 MB / 0.8518 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003612/0.7926, allocations: 0.8152 MB / 0.8526 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.00025/0.7929, allocations: 77.02 kB / 0.8527 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.125e-05/0.793, allocations: 27.91 kB / 0.8527 GB, free: 13 MB / 0.6231 GB Notification: Performance of SimCode: time 2e-07/0.793, allocations: 0 / 0.8527 GB, free: 13 MB / 0.6231 GB Notification: Performance of Templates: time 0.0136/0.8066, allocations: 8.421 MB / 0.8609 GB, free: 6.215 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)