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.181/0.183, allocations: 80.84 MB / 0.5899 GB, free: 6.953 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection): time 0.003023/0.186, allocations: 1.758 MB / 0.5916 GB, free: 5.176 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001906/0.188, allocations: 1.492 MB / 0.5931 GB, free: 3.676 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.11e-05/0.188, allocations: 0 / 0.5931 GB, free: 3.676 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000213/0.1883, allocations: 19.92 kB / 0.5931 GB, free: 3.656 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001953/0.1885, allocations: 47.33 kB / 0.5931 GB, free: 3.613 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003241/0.1888, allocations: 107.8 kB / 0.5932 GB, free: 3.508 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002437/0.1891, allocations: 213.6 kB / 0.5934 GB, free: 3.301 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.1892, allocations: 24.5 kB / 0.5935 GB, free: 3.273 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001278/0.1893, allocations: 83.8 kB / 0.5935 GB, free: 3.191 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001267/0.1894, allocations: 79.73 kB / 0.5936 GB, free: 3.113 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.524e-05/0.1895, allocations: 12 kB / 0.5936 GB, free: 3.102 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001896/0.1897, allocations: 115.9 kB / 0.5937 GB, free: 2.988 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.133e-05/0.1898, allocations: 79.75 kB / 0.5938 GB, free: 2.91 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001028/0.1899, allocations: 99.39 kB / 0.5939 GB, free: 2.812 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003101/0.1902, allocations: 295.1 kB / 0.5942 GB, free: 2.523 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1902, allocations: 0 / 0.5942 GB, free: 2.523 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.1902, allocations: 0 / 0.5942 GB, free: 2.523 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.1902, allocations: 3.938 kB / 0.5942 GB, free: 2.52 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.0006726/0.1909, allocations: 0.5267 MB / 0.5947 GB, free: 1.941 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.1909, allocations: 12.03 kB / 0.5947 GB, free: 1.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001115/0.1911, allocations: 24.66 kB / 0.5947 GB, free: 1.906 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000225/0.1913, allocations: 271 kB / 0.595 GB, free: 1.602 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.1913, allocations: 8 kB / 0.595 GB, free: 1.594 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.704e-05/0.1913, allocations: 16 kB / 0.595 GB, free: 1.578 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003006/0.1917, allocations: 202.7 kB / 0.5952 GB, free: 1.367 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/0.1917, allocations: 3.938 kB / 0.5952 GB, free: 1.363 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.827e-05/0.1917, allocations: 4 kB / 0.5952 GB, free: 1.359 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.1917, allocations: 4 kB / 0.5952 GB, free: 1.355 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007875/0.1925, allocations: 0.7373 MB / 0.5959 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000776/0.1933, allocations: 0.5589 MB / 0.5965 GB, free: 8 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004528/0.1938, allocations: 297.1 kB / 0.5968 GB, free: 15.71 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001648/0.1939, allocations: 105.4 kB / 0.5969 GB, free: 15.61 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005957/0.1945, allocations: 469.7 kB / 0.5973 GB, free: 15.05 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003299/0.1949, allocations: 163.4 kB / 0.5975 GB, free: 14.88 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 1.954e-06/0.1949, allocations: 7.938 kB / 0.5975 GB, free: 14.88 MB / 462.1 MB Notification: Performance of matching and sorting (n=35): time 0.0006055/0.1955, allocations: 378.7 kB / 0.5978 GB, free: 14.5 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/0.1956, allocations: 85.11 kB / 0.5979 GB, free: 14.4 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002476/0.1958, allocations: 295.1 kB / 0.5982 GB, free: 14.1 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.483e-05/0.1958, allocations: 33.7 kB / 0.5982 GB, free: 14.06 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.985e-05/0.1959, allocations: 116.8 kB / 0.5983 GB, free: 13.94 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.798e-05/0.196, allocations: 122.3 kB / 0.5985 GB, free: 13.82 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.942e-05/0.1961, allocations: 57.7 kB / 0.5985 GB, free: 13.76 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.1962, allocations: 334.8 kB / 0.5988 GB, free: 13.42 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001271/0.1963, allocations: 79.95 kB / 0.5989 GB, free: 13.34 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/0.1965, allocations: 113.7 kB / 0.599 GB, free: 13.23 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000299/0.1968, allocations: 213.4 kB / 0.5992 GB, free: 13.02 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1968, allocations: 4 kB / 0.5992 GB, free: 13.01 MB / 462.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004/0.1972, allocations: 273.1 kB / 0.5995 GB, free: 12.74 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.1972, allocations: 8 kB / 0.5995 GB, free: 12.73 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1973, allocations: 3.938 kB / 0.5995 GB, free: 12.73 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.1973, allocations: 0 / 0.5995 GB, free: 12.73 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000214/0.1975, allocations: 67.89 kB / 0.5996 GB, free: 12.66 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.1975, allocations: 0 / 0.5996 GB, free: 12.66 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.689e-05/0.1976, allocations: 27.78 kB / 0.5996 GB, free: 12.63 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.123e-05/0.1976, allocations: 8 kB / 0.5996 GB, free: 12.62 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.0001324/0.1978, allocations: 166.6 kB / 0.5998 GB, free: 12.45 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.452e-05/0.1978, allocations: 23.72 kB / 0.5998 GB, free: 12.43 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006356/0.1985, allocations: 384.2 kB / 0.6002 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.1985, allocations: 8 kB / 0.6002 GB, free: 12.04 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.1985, allocations: 0 / 0.6002 GB, free: 12.04 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.1985, allocations: 0 / 0.6002 GB, free: 12.04 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002729/0.1988, allocations: 325.2 kB / 0.6005 GB, free: 11.67 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1988, allocations: 0 / 0.6005 GB, free: 11.67 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001726/0.199, allocations: 63.91 kB / 0.6005 GB, free: 11.61 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.199, allocations: 0 / 0.6005 GB, free: 11.61 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.985e-05/0.199, allocations: 11.94 kB / 0.6005 GB, free: 11.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.199, allocations: 4 kB / 0.6005 GB, free: 11.59 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.199, allocations: 3.938 kB / 0.6005 GB, free: 11.59 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004259/0.1995, allocations: 326.1 kB / 0.6009 GB, free: 11.25 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/0.1996, allocations: 144.7 kB / 0.601 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.696e-05/0.1996, allocations: 11.88 kB / 0.601 GB, free: 11.08 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.636e-05/0.1997, allocations: 8 kB / 0.601 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.805e-05/0.1998, allocations: 23.97 kB / 0.601 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.952e-05/0.1998, allocations: 11.98 kB / 0.6011 GB, free: 11.04 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001761/0.2, allocations: 232.6 kB / 0.6013 GB, free: 10.81 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2, allocations: 4 kB / 0.6013 GB, free: 10.8 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002935/0.2003, allocations: 71.92 kB / 0.6013 GB, free: 10.73 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.0008679/0.2012, allocations: 407.3 kB / 0.6017 GB, free: 10.5 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005191/0.2017, allocations: 311.5 kB / 0.602 GB, free: 10.2 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2017, allocations: 0 / 0.602 GB, free: 10.2 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002163/0.2019, allocations: 128.7 kB / 0.6022 GB, free: 10.07 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002718/0.2022, allocations: 34.58 kB / 0.6022 GB, free: 10.04 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000925/0.2031, allocations: 0.5803 MB / 0.6028 GB, free: 9.441 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000344/0.2035, allocations: 0.7611 MB / 0.6035 GB, free: 8.652 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003136/0.2038, allocations: 146.8 kB / 0.6036 GB, free: 8.508 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.033e-05/0.2039, allocations: 43.42 kB / 0.6037 GB, free: 8.465 MB / 462.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2039, allocations: 4 kB / 0.6037 GB, free: 8.461 MB / 462.1 MB Notification: Performance of Templates: time 0.006445/0.2104, allocations: 2.852 MB / 0.6065 GB, free: 5.668 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)