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/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7208/0.7208, allocations: 132.3 MB / 144.9 MB, free: 10.53 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001536/0.001536, allocations: 179.8 kB / 176.9 MB, free: 2.293 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.318/1.318, allocations: 170.5 MB / 379.3 MB, free: 11.84 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001611/0.001611, allocations: 102.3 kB / 450 MB, free: 5.816 MB / 346.7 MB [/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.4021/0.4022, allocations: 73.39 MB / 0.6736 GB, free: 47.76 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1182/0.5204, allocations: 104.3 MB / 0.7755 GB, free: 12.36 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000215/0.5206, allocations: 93.09 kB / 0.7756 GB, free: 12.27 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01479/0.5354, allocations: 5.95 MB / 0.7814 GB, free: 6.367 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.5355, allocations: 0 / 0.7814 GB, free: 6.367 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.427e-05/0.5355, allocations: 4 kB / 0.7814 GB, free: 6.363 MB / 490.7 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.0007081/0.5362, allocations: 0.5043 MB / 0.7819 GB, free: 5.812 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.5362, allocations: 8.031 kB / 0.7819 GB, free: 5.805 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001247/0.5364, allocations: 26.47 kB / 0.7819 GB, free: 5.781 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000311/0.5367, allocations: 263.6 kB / 0.7822 GB, free: 5.48 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.5367, allocations: 16 kB / 0.7822 GB, free: 5.465 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.949e-05/0.5368, allocations: 12 kB / 0.7822 GB, free: 5.453 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003461/0.5371, allocations: 207.4 kB / 0.7824 GB, free: 5.238 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.5371, allocations: 3.609 kB / 0.7824 GB, free: 5.238 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.165e-05/0.5372, allocations: 8 kB / 0.7824 GB, free: 5.23 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.5372, allocations: 7.984 kB / 0.7824 GB, free: 5.223 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008947/0.5381, allocations: 0.7725 MB / 0.7832 GB, free: 4.449 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008549/0.5389, allocations: 0.5786 MB / 0.7837 GB, free: 3.816 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004862/0.5394, allocations: 318.1 kB / 0.7841 GB, free: 3.5 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001622/0.5396, allocations: 113.4 kB / 0.7842 GB, free: 3.387 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000596/0.5402, allocations: 461.7 kB / 0.7846 GB, free: 2.844 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002714/0.5405, allocations: 175.5 kB / 0.7848 GB, free: 2.66 MB / 490.7 MB Notification: Performance of pre-optimization done (n=35): time 1.713e-06/0.5405, allocations: 0 / 0.7848 GB, free: 2.66 MB / 490.7 MB Notification: Performance of matching and sorting (n=35): time 0.0004918/0.541, allocations: 301 kB / 0.7851 GB, free: 2.359 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/0.5411, allocations: 81.11 kB / 0.7851 GB, free: 2.262 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002527/0.5413, allocations: 249.9 kB / 0.7854 GB, free: 2.012 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.686e-05/0.5414, allocations: 33.7 kB / 0.7854 GB, free: 1.973 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.788e-05/0.5414, allocations: 120.8 kB / 0.7855 GB, free: 1.852 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.156e-05/0.5415, allocations: 114.4 kB / 0.7856 GB, free: 1.738 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.367e-05/0.5415, allocations: 4 kB / 0.7856 GB, free: 1.734 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.5417, allocations: 334.8 kB / 0.786 GB, free: 1.398 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001479/0.5418, allocations: 100 kB / 0.786 GB, free: 1.301 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001709/0.542, allocations: 121.7 kB / 0.7862 GB, free: 1.176 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001972/0.5422, allocations: 158 kB / 0.7863 GB, free: 1.016 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.5422, allocations: 4 kB / 0.7863 GB, free: 1.012 MB / 490.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005216/0.5428, allocations: 410.5 kB / 0.7867 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/0.5428, allocations: 30.27 kB / 0.7867 GB, free: 0.5625 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.5428, allocations: 0 / 0.7867 GB, free: 0.5625 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.5428, allocations: 0 / 0.7867 GB, free: 0.5625 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002182/0.543, allocations: 67.91 kB / 0.7868 GB, free: 0.4961 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.311e-06/0.5431, allocations: 0 / 0.7868 GB, free: 0.4961 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.225e-05/0.5432, allocations: 27.77 kB / 0.7868 GB, free: 480 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.713e-05/0.5432, allocations: 21.12 kB / 0.7868 GB, free: 460 kB / 490.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 1 * 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 8.38e-05/0.5433, allocations: 122.1 kB / 0.787 GB, free: 332 kB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.521e-05/0.5433, allocations: 25.53 kB / 0.787 GB, free: 308 kB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007053/0.544, allocations: 415.2 kB / 0.7874 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.503e-06/0.5441, allocations: 7.984 kB / 0.7874 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.5441, allocations: 0 / 0.7874 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.5441, allocations: 4 kB / 0.7874 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00028/0.5444, allocations: 329.3 kB / 0.7877 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.5444, allocations: 3.953 kB / 0.7877 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001806/0.5446, allocations: 63.91 kB / 0.7878 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.5446, allocations: 4 kB / 0.7878 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.142e-05/0.5446, allocations: 15.92 kB / 0.7878 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.5446, allocations: 3.281 kB / 0.7878 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.5446, allocations: 7.5 kB / 0.7878 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004472/0.5451, allocations: 346.1 kB / 0.7881 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001519/0.5452, allocations: 152.7 kB / 0.7883 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.204e-05/0.5453, allocations: 8 kB / 0.7883 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.434e-05/0.5454, allocations: 11.98 kB / 0.7883 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.62e-05/0.5454, allocations: 19.97 kB / 0.7883 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.421e-05/0.5454, allocations: 16 kB / 0.7883 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001686/0.5456, allocations: 204.4 kB / 0.7885 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5456, allocations: 0 / 0.7885 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002901/0.5459, allocations: 87.92 kB / 0.7886 GB, free: 14.57 MB / 0.4948 GB 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) * 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.0005775/0.5465, allocations: 294.6 kB / 0.7889 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004156/0.5469, allocations: 319.6 kB / 0.7892 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.5469, allocations: 0 / 0.7892 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001894/0.5471, allocations: 135.8 kB / 0.7893 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001462/0.5473, allocations: 21.12 kB / 0.7893 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006374/0.5479, allocations: 410.1 kB / 0.7897 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002959/0.5482, allocations: 0.7572 MB / 0.7905 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003158/0.5486, allocations: 157.3 kB / 0.7906 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.618e-05/0.5487, allocations: 43.42 kB / 0.7907 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of SimCode: time 3.8e-07/0.5487, allocations: 3.938 kB / 0.7907 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of Templates: time 0.005378/0.554, allocations: 2.835 MB / 0.7934 GB, free: 9.746 MB / 0.4948 GB 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)