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.1755/0.1775, allocations: 80.84 MB / 0.5897 GB, free: 7.113 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection): time 0.004247/0.1818, allocations: 1.761 MB / 0.5914 GB, free: 5.332 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002464/0.1843, allocations: 1.5 MB / 0.5929 GB, free: 3.824 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.44e-05/0.1844, allocations: 0 / 0.5929 GB, free: 3.824 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000234/0.1847, allocations: 27.84 kB / 0.5929 GB, free: 3.797 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001958/0.1849, allocations: 39.84 kB / 0.5929 GB, free: 3.758 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003456/0.1853, allocations: 103.3 kB / 0.593 GB, free: 3.66 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000209/0.1855, allocations: 201.6 kB / 0.5932 GB, free: 3.465 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.1856, allocations: 24.5 kB / 0.5933 GB, free: 3.438 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.1857, allocations: 63.83 kB / 0.5933 GB, free: 3.375 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001274/0.1859, allocations: 79.72 kB / 0.5934 GB, free: 3.297 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.755e-05/0.1859, allocations: 8 kB / 0.5934 GB, free: 3.289 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002245/0.1861, allocations: 107.9 kB / 0.5935 GB, free: 3.184 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.231e-05/0.1862, allocations: 67.83 kB / 0.5936 GB, free: 3.117 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.058e-05/0.1863, allocations: 87.39 kB / 0.5936 GB, free: 3.031 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003391/0.1867, allocations: 287.1 kB / 0.5939 GB, free: 2.75 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.1867, allocations: 4 kB / 0.5939 GB, free: 2.746 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1867, allocations: 0 / 0.5939 GB, free: 2.746 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.1867, allocations: 0 / 0.5939 GB, free: 2.746 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.0007886/0.1875, allocations: 0.5345 MB / 0.5944 GB, free: 2.16 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.1876, allocations: 8.031 kB / 0.5945 GB, free: 2.152 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001489/0.1877, allocations: 28.66 kB / 0.5945 GB, free: 2.125 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002597/0.188, allocations: 259 kB / 0.5947 GB, free: 1.832 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.188, allocations: 19.98 kB / 0.5948 GB, free: 1.812 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.671e-05/0.188, allocations: 16 kB / 0.5948 GB, free: 1.797 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003162/0.1884, allocations: 194.8 kB / 0.595 GB, free: 1.594 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.1884, allocations: 0 / 0.595 GB, free: 1.594 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.027e-05/0.1884, allocations: 8 kB / 0.595 GB, free: 1.586 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.1884, allocations: 4 kB / 0.595 GB, free: 1.582 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007897/0.1892, allocations: 0.7334 MB / 0.5957 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008146/0.19, allocations: 0.5706 MB / 0.5962 GB, free: 232 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004514/0.1905, allocations: 293.3 kB / 0.5965 GB, free: 15.93 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001522/0.1907, allocations: 109.4 kB / 0.5966 GB, free: 15.82 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000599/0.1913, allocations: 461.6 kB / 0.5971 GB, free: 15.28 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003532/0.1916, allocations: 171.4 kB / 0.5972 GB, free: 15.1 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 1.563e-06/0.1916, allocations: 0 / 0.5972 GB, free: 15.1 MB / 462.1 MB Notification: Performance of matching and sorting (n=35): time 0.0006297/0.1923, allocations: 374.9 kB / 0.5976 GB, free: 14.73 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.241e-05/0.1924, allocations: 89.03 kB / 0.5977 GB, free: 14.62 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000262/0.1926, allocations: 295.1 kB / 0.5979 GB, free: 14.32 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.797e-05/0.1927, allocations: 29.7 kB / 0.598 GB, free: 14.29 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.935e-05/0.1928, allocations: 120.7 kB / 0.5981 GB, free: 14.17 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.885e-05/0.1928, allocations: 118.3 kB / 0.5982 GB, free: 14.05 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.081e-05/0.1929, allocations: 65.64 kB / 0.5983 GB, free: 13.98 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.1931, allocations: 338.8 kB / 0.5986 GB, free: 13.64 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.1932, allocations: 79.95 kB / 0.5987 GB, free: 13.56 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001594/0.1934, allocations: 113.8 kB / 0.5988 GB, free: 13.45 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002996/0.1937, allocations: 209.2 kB / 0.599 GB, free: 13.24 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.1937, allocations: 0 / 0.599 GB, free: 13.24 MB / 462.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004053/0.1941, allocations: 281 kB / 0.5992 GB, free: 12.96 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.1941, allocations: 4 kB / 0.5992 GB, free: 12.95 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.904e-06/0.1941, allocations: 3.938 kB / 0.5992 GB, free: 12.95 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.1942, allocations: 7.984 kB / 0.5993 GB, free: 12.94 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002097/0.1944, allocations: 59.91 kB / 0.5993 GB, free: 12.88 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.1944, allocations: 0 / 0.5993 GB, free: 12.88 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.207e-05/0.1945, allocations: 19.75 kB / 0.5993 GB, free: 12.86 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.822e-05/0.1945, allocations: 20.03 kB / 0.5994 GB, free: 12.84 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.0001442/0.1947, allocations: 162.6 kB / 0.5995 GB, free: 12.68 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.547e-05/0.1947, allocations: 27.72 kB / 0.5995 GB, free: 12.65 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006525/0.1954, allocations: 388.2 kB / 0.5999 GB, free: 12.26 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.1954, allocations: 4 kB / 0.5999 GB, free: 12.26 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1954, allocations: 4 kB / 0.5999 GB, free: 12.25 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.1954, allocations: 0 / 0.5999 GB, free: 12.25 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003003/0.1957, allocations: 329.2 kB / 0.6002 GB, free: 11.88 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1957, allocations: 0 / 0.6002 GB, free: 11.88 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000163/0.1959, allocations: 55.91 kB / 0.6003 GB, free: 11.83 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.1959, allocations: 4 kB / 0.6003 GB, free: 11.82 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.096e-05/0.1959, allocations: 11.94 kB / 0.6003 GB, free: 11.81 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.1959, allocations: 0 / 0.6003 GB, free: 11.81 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1959, allocations: 0 / 0.6003 GB, free: 11.81 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004355/0.1964, allocations: 326.2 kB / 0.6006 GB, free: 11.47 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001175/0.1965, allocations: 140.7 kB / 0.6007 GB, free: 11.32 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.759e-05/0.1966, allocations: 11.94 kB / 0.6008 GB, free: 11.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.622e-05/0.1966, allocations: 11.94 kB / 0.6008 GB, free: 11.29 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.027e-05/0.1967, allocations: 23.91 kB / 0.6008 GB, free: 11.27 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-05/0.1967, allocations: 15.98 kB / 0.6008 GB, free: 11.25 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001801/0.1969, allocations: 224.6 kB / 0.601 GB, free: 11.04 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1969, allocations: 0 / 0.601 GB, free: 11.04 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003251/0.1973, allocations: 71.92 kB / 0.6011 GB, free: 10.96 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.0009404/0.1982, allocations: 423.8 kB / 0.6015 GB, free: 10.71 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003905/0.1986, allocations: 231.5 kB / 0.6017 GB, free: 10.49 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.1986, allocations: 0 / 0.6017 GB, free: 10.49 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001809/0.1988, allocations: 128.7 kB / 0.6018 GB, free: 10.36 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002578/0.1991, allocations: 28.66 kB / 0.6019 GB, free: 10.34 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000891/0.2, allocations: 0.5876 MB / 0.6024 GB, free: 9.73 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003583/0.2004, allocations: 0.7535 MB / 0.6032 GB, free: 8.949 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003046/0.2007, allocations: 142.8 kB / 0.6033 GB, free: 8.809 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.851e-05/0.2008, allocations: 43.41 kB / 0.6033 GB, free: 8.766 MB / 462.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2008, allocations: 0 / 0.6033 GB, free: 8.766 MB / 462.1 MB Notification: Performance of Templates: time 0.005923/0.2067, allocations: 2.788 MB / 0.6061 GB, free: 6.031 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.makefile (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)