Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.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.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection") [/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.1892/0.1899, allocations: 82.22 MB / 0.5941 GB, free: 5.566 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection): time 0.002808/0.1928, allocations: 1.417 MB / 0.5955 GB, free: 4.137 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002408/0.1952, allocations: 1.485 MB / 0.597 GB, free: 2.645 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.951e-05/0.1954, allocations: 0 / 0.597 GB, free: 2.645 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002548/0.1956, allocations: 27.84 kB / 0.597 GB, free: 2.617 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002446/0.1959, allocations: 39.84 kB / 0.597 GB, free: 2.578 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000452/0.1964, allocations: 91.83 kB / 0.5971 GB, free: 2.488 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003156/0.1967, allocations: 201.6 kB / 0.5973 GB, free: 2.293 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.1968, allocations: 24.5 kB / 0.5973 GB, free: 2.266 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001944/0.197, allocations: 59.83 kB / 0.5974 GB, free: 2.207 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001986/0.1973, allocations: 79.72 kB / 0.5975 GB, free: 2.129 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.648e-05/0.1973, allocations: 8 kB / 0.5975 GB, free: 2.121 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002985/0.1976, allocations: 107.9 kB / 0.5976 GB, free: 2.016 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.1977, allocations: 63.83 kB / 0.5976 GB, free: 1.953 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001311/0.1979, allocations: 117 kB / 0.5977 GB, free: 1.832 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004656/0.1983, allocations: 283.1 kB / 0.598 GB, free: 1.555 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1984, allocations: 0 / 0.598 GB, free: 1.555 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1984, allocations: 4 kB / 0.598 GB, free: 1.551 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.736e-06/0.1984, allocations: 0 / 0.598 GB, free: 1.551 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0008112/0.1992, allocations: 495.6 kB / 0.5985 GB, free: 1.016 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.1993, allocations: 8.031 kB / 0.5985 GB, free: 1.008 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001442/0.1994, allocations: 32.64 kB / 0.5985 GB, free: 0.9766 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003006/0.1997, allocations: 267 kB / 0.5988 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.1997, allocations: 12 kB / 0.5988 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.774e-05/0.1998, allocations: 12 kB / 0.5988 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003415/0.2001, allocations: 198.8 kB / 0.599 GB, free: 456 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.2002, allocations: 3.938 kB / 0.599 GB, free: 452 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.239e-05/0.2002, allocations: 4 kB / 0.599 GB, free: 448 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.2002, allocations: 4 kB / 0.599 GB, free: 444 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008862/0.2011, allocations: 0.7334 MB / 0.5997 GB, free: 15.7 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000967/0.2021, allocations: 0.5667 MB / 0.6003 GB, free: 15.08 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004847/0.2026, allocations: 304.6 kB / 0.6006 GB, free: 14.78 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001691/0.2027, allocations: 109.4 kB / 0.6007 GB, free: 14.67 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006662/0.2034, allocations: 465.7 kB / 0.6011 GB, free: 14.12 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003445/0.2038, allocations: 167.4 kB / 0.6013 GB, free: 13.95 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 1.833e-06/0.2038, allocations: 0 / 0.6013 GB, free: 13.95 MB / 462.1 MB Notification: Performance of matching and sorting (n=35): time 0.0006637/0.2044, allocations: 378.9 kB / 0.6016 GB, free: 13.57 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.683e-05/0.2045, allocations: 89.05 kB / 0.6017 GB, free: 13.46 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003176/0.2049, allocations: 291.1 kB / 0.602 GB, free: 13.17 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.914e-05/0.2049, allocations: 33.7 kB / 0.602 GB, free: 13.13 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.936e-05/0.205, allocations: 120.7 kB / 0.6021 GB, free: 13.01 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.2051, allocations: 118.3 kB / 0.6023 GB, free: 12.89 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-05/0.2052, allocations: 33.7 kB / 0.6023 GB, free: 12.85 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.2053, allocations: 338.8 kB / 0.6026 GB, free: 12.51 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.2054, allocations: 79.95 kB / 0.6027 GB, free: 12.43 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001626/0.2056, allocations: 113.8 kB / 0.6028 GB, free: 12.32 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002999/0.2059, allocations: 208.6 kB / 0.603 GB, free: 12.11 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2059, allocations: 0 / 0.603 GB, free: 12.11 MB / 462.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004272/0.2064, allocations: 285.6 kB / 0.6033 GB, free: 11.82 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.2064, allocations: 4 kB / 0.6033 GB, free: 11.82 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.2064, allocations: 3.938 kB / 0.6033 GB, free: 11.82 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.2064, allocations: 4 kB / 0.6033 GB, free: 11.81 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002103/0.2066, allocations: 59.91 kB / 0.6033 GB, free: 11.75 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.2067, allocations: 4 kB / 0.6033 GB, free: 11.75 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/0.2068, allocations: 19.88 kB / 0.6034 GB, free: 11.73 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.647e-05/0.2068, allocations: 19.98 kB / 0.6034 GB, free: 11.71 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tStart,$PRE.conTim.tStart,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * 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.000151/0.207, allocations: 154.6 kB / 0.6035 GB, free: 11.55 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.719e-05/0.207, allocations: 23.72 kB / 0.6035 GB, free: 11.53 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006626/0.2077, allocations: 384.2 kB / 0.6039 GB, free: 11.14 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.2077, allocations: 12 kB / 0.6039 GB, free: 11.13 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.2077, allocations: 0 / 0.6039 GB, free: 11.13 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.2077, allocations: 7.984 kB / 0.6039 GB, free: 11.12 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003154/0.208, allocations: 321.2 kB / 0.6042 GB, free: 10.76 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.2081, allocations: 0 / 0.6042 GB, free: 10.76 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001662/0.2082, allocations: 59.91 kB / 0.6043 GB, free: 10.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.2082, allocations: 0 / 0.6043 GB, free: 10.7 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.266e-05/0.2083, allocations: 15.92 kB / 0.6043 GB, free: 10.69 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.2083, allocations: 4 kB / 0.6043 GB, free: 10.68 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2083, allocations: 0 / 0.6043 GB, free: 10.68 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004381/0.2087, allocations: 322.1 kB / 0.6046 GB, free: 10.35 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001346/0.2089, allocations: 144.7 kB / 0.6048 GB, free: 10.19 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.76e-05/0.2089, allocations: 11.92 kB / 0.6048 GB, free: 10.18 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.228e-05/0.209, allocations: 8 kB / 0.6048 GB, free: 10.17 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.423e-05/0.2091, allocations: 27.91 kB / 0.6048 GB, free: 10.14 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.003e-05/0.2091, allocations: 11.98 kB / 0.6048 GB, free: 10.13 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001904/0.2093, allocations: 232.6 kB / 0.605 GB, free: 9.902 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2093, allocations: 4 kB / 0.605 GB, free: 9.898 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003127/0.2096, allocations: 71.92 kB / 0.6051 GB, free: 9.828 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tStart) * Number of discrete states: 1 (conTim.tStart) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0009337/0.2106, allocations: 414.5 kB / 0.6055 GB, free: 9.59 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00038/0.211, allocations: 223.7 kB / 0.6057 GB, free: 9.371 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.211, allocations: 0 / 0.6057 GB, free: 9.371 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001784/0.2112, allocations: 135.7 kB / 0.6058 GB, free: 9.238 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002868/0.2115, allocations: 33.27 kB / 0.6059 GB, free: 9.207 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008951/0.2124, allocations: 0.5894 MB / 0.6065 GB, free: 8.594 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/0.2127, allocations: 0.7574 MB / 0.6072 GB, free: 7.809 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003415/0.2131, allocations: 138.8 kB / 0.6073 GB, free: 7.672 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.788e-05/0.2132, allocations: 47.42 kB / 0.6074 GB, free: 7.625 MB / 462.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2132, allocations: 4 kB / 0.6074 GB, free: 7.621 MB / 462.1 MB Notification: Performance of Templates: time 0.00629/0.2195, allocations: 2.751 MB / 0.6101 GB, free: 4.934 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.pipe ; mkfifo Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.pipe >> ../files/Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.sim & ./Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.pipe 2>&1) Environment - environmentSimulation: