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.2102/0.211, allocations: 82.21 MB / 0.5934 GB, free: 6.027 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection): time 0.002434/0.2135, allocations: 1.4 MB / 0.5947 GB, free: 4.613 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002042/0.2156, allocations: 1.403 MB / 0.5961 GB, free: 3.203 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.951e-05/0.2156, allocations: 0 / 0.5961 GB, free: 3.203 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00024/0.2159, allocations: 23.91 kB / 0.5961 GB, free: 3.18 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001899/0.2161, allocations: 35.83 kB / 0.5962 GB, free: 3.145 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003087/0.2164, allocations: 109.7 kB / 0.5963 GB, free: 3.043 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002106/0.2166, allocations: 137.8 kB / 0.5964 GB, free: 2.91 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.2168, allocations: 12.5 kB / 0.5964 GB, free: 2.895 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.2169, allocations: 67.77 kB / 0.5965 GB, free: 2.828 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001285/0.217, allocations: 55.81 kB / 0.5965 GB, free: 2.773 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.309e-05/0.2171, allocations: 8 kB / 0.5965 GB, free: 2.766 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001896/0.2172, allocations: 95.86 kB / 0.5966 GB, free: 2.672 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.096e-05/0.2173, allocations: 63.81 kB / 0.5967 GB, free: 2.609 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.105e-05/0.2174, allocations: 57.58 kB / 0.5967 GB, free: 2.547 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002568/0.2177, allocations: 207.5 kB / 0.5969 GB, free: 2.344 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.2177, allocations: 0 / 0.5969 GB, free: 2.344 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.2177, allocations: 0 / 0.5969 GB, free: 2.344 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.545e-06/0.2177, allocations: 0 / 0.5969 GB, free: 2.344 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.0007734/0.2185, allocations: 499.4 kB / 0.5974 GB, free: 1.805 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.2185, allocations: 12.03 kB / 0.5974 GB, free: 1.793 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001325/0.2187, allocations: 31.7 kB / 0.5975 GB, free: 1.762 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003006/0.219, allocations: 250.5 kB / 0.5977 GB, free: 1.477 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.489e-05/0.219, allocations: 12 kB / 0.5977 GB, free: 1.465 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.756e-05/0.2191, allocations: 19.94 kB / 0.5977 GB, free: 1.445 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003282/0.2194, allocations: 191.4 kB / 0.5979 GB, free: 1.246 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.2194, allocations: 0 / 0.5979 GB, free: 1.246 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.045e-05/0.2194, allocations: 4 kB / 0.5979 GB, free: 1.242 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.2195, allocations: 11.98 kB / 0.5979 GB, free: 1.23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008631/0.2203, allocations: 0.7334 MB / 0.5986 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009956/0.2213, allocations: 0.5705 MB / 0.5992 GB, free: 15.88 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000454/0.2218, allocations: 300.6 kB / 0.5995 GB, free: 15.57 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006563/0.2225, allocations: 457.7 kB / 0.5999 GB, free: 15.04 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003347/0.2228, allocations: 171.4 kB / 0.6001 GB, free: 14.86 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 1.763e-06/0.2228, allocations: 0 / 0.6001 GB, free: 14.86 MB / 462.1 MB Notification: Performance of matching and sorting (n=35): time 0.0006565/0.2235, allocations: 363.1 kB / 0.6004 GB, free: 14.5 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.466e-05/0.2236, allocations: 89.09 kB / 0.6005 GB, free: 14.39 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002936/0.2239, allocations: 291.1 kB / 0.6008 GB, free: 14.09 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.706e-05/0.2239, allocations: 29.7 kB / 0.6008 GB, free: 14.06 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.085e-05/0.224, allocations: 120.7 kB / 0.6009 GB, free: 13.94 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/0.2241, allocations: 118.3 kB / 0.601 GB, free: 13.82 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.275e-05/0.2241, allocations: 8 kB / 0.6011 GB, free: 13.81 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.2243, allocations: 334.8 kB / 0.6014 GB, free: 13.48 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.2244, allocations: 79.95 kB / 0.6015 GB, free: 13.4 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001466/0.2246, allocations: 117.8 kB / 0.6016 GB, free: 13.28 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001617/0.2247, allocations: 107.8 kB / 0.6017 GB, free: 13.17 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.2248, allocations: 0 / 0.6017 GB, free: 13.17 MB / 462.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003852/0.2251, allocations: 269.8 kB / 0.6019 GB, free: 12.9 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.2252, allocations: 7.984 kB / 0.6019 GB, free: 12.89 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.2252, allocations: 3.938 kB / 0.6019 GB, free: 12.89 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.2252, allocations: 4 kB / 0.6019 GB, free: 12.89 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002169/0.2254, allocations: 63.91 kB / 0.602 GB, free: 12.82 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.2254, allocations: 0 / 0.602 GB, free: 12.82 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.386e-05/0.2255, allocations: 27.81 kB / 0.602 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.876e-05/0.2256, allocations: 15.98 kB / 0.602 GB, free: 12.78 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 ($whenCondition1,$PRE.conTim.tStart,conTim.tStart) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001838/0.2258, allocations: 157.7 kB / 0.6022 GB, free: 12.62 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.739e-05/0.2258, allocations: 23.72 kB / 0.6022 GB, free: 12.59 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007225/0.2265, allocations: 400.3 kB / 0.6026 GB, free: 12.2 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.802e-06/0.2265, allocations: 7.938 kB / 0.6026 GB, free: 12.19 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.064e-06/0.2266, allocations: 0 / 0.6026 GB, free: 12.19 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.2266, allocations: 0 / 0.6026 GB, free: 12.19 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003217/0.2269, allocations: 329.3 kB / 0.6029 GB, free: 11.82 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2269, allocations: 0 / 0.6029 GB, free: 11.82 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001657/0.2271, allocations: 51.97 kB / 0.603 GB, free: 11.77 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.2271, allocations: 4 kB / 0.603 GB, free: 11.76 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.794e-05/0.2271, allocations: 11.94 kB / 0.603 GB, free: 11.75 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.2271, allocations: 0 / 0.603 GB, free: 11.75 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2271, allocations: 0 / 0.603 GB, free: 11.75 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004014/0.2275, allocations: 325.5 kB / 0.6033 GB, free: 11.41 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000137/0.2277, allocations: 148.6 kB / 0.6034 GB, free: 11.25 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.143e-05/0.2277, allocations: 4 kB / 0.6034 GB, free: 11.24 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.708e-05/0.2278, allocations: 11.98 kB / 0.6035 GB, free: 11.23 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.298e-05/0.2279, allocations: 19.97 kB / 0.6035 GB, free: 11.21 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.918e-05/0.2279, allocations: 12 kB / 0.6035 GB, free: 11.2 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001885/0.2281, allocations: 228.6 kB / 0.6037 GB, free: 10.98 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2281, allocations: 4 kB / 0.6037 GB, free: 10.97 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003043/0.2284, allocations: 64 kB / 0.6038 GB, free: 10.91 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009536/0.2294, allocations: 433.8 kB / 0.6042 GB, free: 10.65 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003731/0.2297, allocations: 224.1 kB / 0.6044 GB, free: 10.43 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2298, allocations: 0 / 0.6044 GB, free: 10.43 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001718/0.2299, allocations: 131.8 kB / 0.6045 GB, free: 10.3 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002036/0.2301, allocations: 21.23 kB / 0.6045 GB, free: 10.29 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009117/0.2311, allocations: 0.5696 MB / 0.6051 GB, free: 9.691 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004101/0.2315, allocations: 0.7688 MB / 0.6058 GB, free: 8.895 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003066/0.2318, allocations: 142.8 kB / 0.606 GB, free: 8.754 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.749e-05/0.2319, allocations: 43.42 kB / 0.606 GB, free: 8.711 MB / 462.1 MB Notification: Performance of SimCode: time 2.234e-06/0.2319, allocations: 0 / 0.606 GB, free: 8.711 MB / 462.1 MB Notification: Performance of Templates: time 0.006576/0.2385, allocations: 2.701 MB / 0.6087 GB, free: 6.066 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: