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.2198/0.2222, allocations: 80.83 MB / 0.6706 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection): time 0.005217/0.2275, allocations: 1.705 MB / 0.6723 GB, free: 300 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003519/0.2311, allocations: 1.516 MB / 0.6738 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001311/0.2313, allocations: 4 kB / 0.6738 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003122/0.2316, allocations: 27.78 kB / 0.6738 GB, free: 14.74 MB / 0.5137 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0003594/0.232, allocations: 51.75 kB / 0.6739 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005843/0.2326, allocations: 119.6 kB / 0.674 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003626/0.233, allocations: 213.6 kB / 0.6742 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001539/0.2331, allocations: 28.17 kB / 0.6742 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000217/0.2333, allocations: 75.81 kB / 0.6743 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002194/0.2336, allocations: 83.72 kB / 0.6743 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.217e-05/0.2336, allocations: 16 kB / 0.6744 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003312/0.234, allocations: 115.9 kB / 0.6745 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.00011/0.2341, allocations: 71.77 kB / 0.6745 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001584/0.2343, allocations: 99.39 kB / 0.6746 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006902/0.235, allocations: 307 kB / 0.6749 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.235, allocations: 0 / 0.6749 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.884e-06/0.235, allocations: 0 / 0.6749 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.839e-06/0.235, allocations: 0 / 0.6749 GB, free: 13.57 MB / 0.5137 GB 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.001103/0.2361, allocations: 0.5268 MB / 0.6754 GB, free: 13 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.536e-05/0.2363, allocations: 12.03 kB / 0.6755 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000182/0.2365, allocations: 28.56 kB / 0.6755 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003948/0.2369, allocations: 263 kB / 0.6757 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.2369, allocations: 12 kB / 0.6757 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.32e-05/0.2369, allocations: 16 kB / 0.6758 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005175/0.2375, allocations: 195 kB / 0.6759 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.2375, allocations: 0 / 0.6759 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.607e-05/0.2375, allocations: 7.938 kB / 0.676 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.2375, allocations: 4 kB / 0.676 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001042/0.2386, allocations: 0.7412 MB / 0.6767 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001299/0.2399, allocations: 0.5666 MB / 0.6772 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007092/0.2406, allocations: 300.5 kB / 0.6775 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002044/0.2408, allocations: 109.4 kB / 0.6776 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001035/0.2419, allocations: 461.7 kB / 0.6781 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005309/0.2424, allocations: 171.4 kB / 0.6782 GB, free: 9.93 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=35): time 2.324e-06/0.2424, allocations: 0 / 0.6782 GB, free: 9.93 MB / 0.5137 GB Notification: Performance of matching and sorting (n=35): time 0.0008105/0.2433, allocations: 371 kB / 0.6786 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.293e-05/0.2434, allocations: 85.09 kB / 0.6787 GB, free: 9.461 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004385/0.2438, allocations: 291.1 kB / 0.6789 GB, free: 9.16 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.607e-05/0.2439, allocations: 33.7 kB / 0.679 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.244, allocations: 124.7 kB / 0.6791 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/0.2441, allocations: 122.3 kB / 0.6792 GB, free: 8.871 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/0.2443, allocations: 61.56 kB / 0.6793 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000207/0.2445, allocations: 334.8 kB / 0.6796 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001836/0.2447, allocations: 79.95 kB / 0.6797 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002068/0.2449, allocations: 109.7 kB / 0.6798 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004319/0.2453, allocations: 217.4 kB / 0.68 GB, free: 8.062 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.2454, allocations: 4.031 kB / 0.68 GB, free: 8.059 MB / 0.5137 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000641/0.246, allocations: 273.1 kB / 0.6802 GB, free: 7.785 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.303e-05/0.2461, allocations: 11.94 kB / 0.6803 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/0.2461, allocations: 3.984 kB / 0.6803 GB, free: 7.77 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.021e-05/0.2461, allocations: 0 / 0.6803 GB, free: 7.77 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002786/0.2464, allocations: 63.91 kB / 0.6803 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.2464, allocations: 0 / 0.6803 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/0.2465, allocations: 19.84 kB / 0.6803 GB, free: 7.688 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.839e-05/0.2466, allocations: 12 kB / 0.6803 GB, free: 7.676 MB / 0.5137 GB 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.0002222/0.2468, allocations: 169.7 kB / 0.6805 GB, free: 7.5 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.952e-05/0.2469, allocations: 31.56 kB / 0.6805 GB, free: 7.469 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007342/0.2477, allocations: 315.9 kB / 0.6808 GB, free: 7.156 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.345e-06/0.2477, allocations: 4 kB / 0.6808 GB, free: 7.152 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.2477, allocations: 0 / 0.6808 GB, free: 7.152 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.2477, allocations: 3.984 kB / 0.6808 GB, free: 7.148 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004037/0.2481, allocations: 321.3 kB / 0.6812 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.2481, allocations: 0 / 0.6812 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002016/0.2483, allocations: 59.91 kB / 0.6812 GB, free: 6.727 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.695e-05/0.2484, allocations: 11.92 kB / 0.6812 GB, free: 6.715 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.906e-05/0.2484, allocations: 15.92 kB / 0.6812 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.2484, allocations: 3.938 kB / 0.6812 GB, free: 6.695 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2484, allocations: 0 / 0.6812 GB, free: 6.695 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005567/0.249, allocations: 321 kB / 0.6815 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001725/0.2492, allocations: 140.7 kB / 0.6817 GB, free: 6.207 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.191e-05/0.2492, allocations: 11.94 kB / 0.6817 GB, free: 6.195 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.961e-05/0.2493, allocations: 4 kB / 0.6817 GB, free: 6.191 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.507e-05/0.2494, allocations: 27.95 kB / 0.6817 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.996e-05/0.2494, allocations: 16 kB / 0.6817 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002467/0.2497, allocations: 220.6 kB / 0.682 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8.52e-07/0.2497, allocations: 0 / 0.682 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004054/0.2501, allocations: 75.83 kB / 0.682 GB, free: 5.859 MB / 0.5137 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) * 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.001258/0.2514, allocations: 414.5 kB / 0.6824 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005845/0.252, allocations: 235.5 kB / 0.6826 GB, free: 5.363 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.252, allocations: 0 / 0.6826 GB, free: 5.363 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002294/0.2522, allocations: 128.7 kB / 0.6828 GB, free: 5.238 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003266/0.2526, allocations: 36.59 kB / 0.6828 GB, free: 5.203 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.2538, allocations: 0.5022 MB / 0.6833 GB, free: 4.672 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000719/0.2545, allocations: 0.7571 MB / 0.684 GB, free: 3.887 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003426/0.2549, allocations: 146.8 kB / 0.6842 GB, free: 3.746 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.255, allocations: 39.42 kB / 0.6842 GB, free: 3.707 MB / 0.5137 GB Notification: Performance of SimCode: time 4.91e-07/0.255, allocations: 0 / 0.6842 GB, free: 3.707 MB / 0.5137 GB Notification: Performance of Templates: time 0.008279/0.2633, allocations: 2.911 MB / 0.6871 GB, free: 0.8359 MB / 0.5137 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)