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.2143/0.2166, allocations: 80.83 MB / 0.6706 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection): time 0.003973/0.2206, allocations: 1.709 MB / 0.6723 GB, free: 388 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002617/0.2233, allocations: 1.512 MB / 0.6738 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.2235, allocations: 4 kB / 0.6738 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002694/0.2237, allocations: 23.86 kB / 0.6738 GB, free: 14.83 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.000325/0.2241, allocations: 51.7 kB / 0.6738 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000518/0.2246, allocations: 115.7 kB / 0.674 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003244/0.2249, allocations: 221.6 kB / 0.6742 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.2251, allocations: 20.17 kB / 0.6742 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001883/0.2253, allocations: 75.88 kB / 0.6743 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000189/0.2255, allocations: 87.66 kB / 0.6743 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.79e-05/0.2255, allocations: 16 kB / 0.6744 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003091/0.2259, allocations: 119.9 kB / 0.6745 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001165/0.226, allocations: 71.81 kB / 0.6745 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001504/0.2261, allocations: 99.39 kB / 0.6746 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005994/0.2267, allocations: 303 kB / 0.6749 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2268, allocations: 0 / 0.6749 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2268, allocations: 0 / 0.6749 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.329e-05/0.2268, allocations: 0 / 0.6749 GB, free: 13.67 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.0009299/0.2277, allocations: 0.5307 MB / 0.6754 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.2278, allocations: 12.03 kB / 0.6755 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001801/0.228, allocations: 28.56 kB / 0.6755 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003257/0.2283, allocations: 255 kB / 0.6757 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.836e-05/0.2283, allocations: 12 kB / 0.6757 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.865e-05/0.2284, allocations: 20 kB / 0.6758 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003596/0.2287, allocations: 203 kB / 0.676 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.2288, allocations: 0 / 0.676 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.943e-05/0.2288, allocations: 4 kB / 0.676 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.2288, allocations: 4 kB / 0.676 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008658/0.2297, allocations: 0.7334 MB / 0.6767 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009754/0.2306, allocations: 0.5704 MB / 0.6772 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005315/0.2312, allocations: 304.6 kB / 0.6775 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001652/0.2314, allocations: 109.4 kB / 0.6776 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006529/0.232, allocations: 457.7 kB / 0.6781 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00051/0.2325, allocations: 171.4 kB / 0.6782 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=35): time 1.893e-06/0.2326, allocations: 3.938 kB / 0.6782 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of matching and sorting (n=35): time 0.0008124/0.2334, allocations: 375 kB / 0.6786 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/0.2335, allocations: 81.11 kB / 0.6787 GB, free: 9.551 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003564/0.2339, allocations: 287.1 kB / 0.6789 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001009/0.234, allocations: 37.7 kB / 0.679 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.21e-05/0.2341, allocations: 120.7 kB / 0.6791 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.2342, allocations: 114.3 kB / 0.6792 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.993e-05/0.2343, allocations: 65.56 kB / 0.6793 GB, free: 8.902 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001738/0.2345, allocations: 342.8 kB / 0.6796 GB, free: 8.559 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001547/0.2346, allocations: 79.95 kB / 0.6797 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001572/0.2348, allocations: 113.6 kB / 0.6798 GB, free: 8.363 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003285/0.2351, allocations: 209.3 kB / 0.68 GB, free: 8.156 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.2351, allocations: 0 / 0.68 GB, free: 8.156 MB / 0.5137 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004407/0.2356, allocations: 273.2 kB / 0.6802 GB, free: 7.883 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.2356, allocations: 11.92 kB / 0.6802 GB, free: 7.871 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.2356, allocations: 4 kB / 0.6802 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.2357, allocations: 4.031 kB / 0.6803 GB, free: 7.863 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002234/0.2359, allocations: 63.91 kB / 0.6803 GB, free: 7.801 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.2359, allocations: 0 / 0.6803 GB, free: 7.801 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.954e-05/0.236, allocations: 19.84 kB / 0.6803 GB, free: 7.781 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.652e-05/0.236, allocations: 15.98 kB / 0.6803 GB, free: 7.766 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.0001626/0.2362, allocations: 153.8 kB / 0.6805 GB, free: 7.605 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.166e-05/0.2363, allocations: 35.5 kB / 0.6805 GB, free: 7.57 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005492/0.2368, allocations: 331.8 kB / 0.6808 GB, free: 7.242 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.2368, allocations: 4 kB / 0.6808 GB, free: 7.238 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.2369, allocations: 0 / 0.6808 GB, free: 7.238 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.2369, allocations: 3.984 kB / 0.6809 GB, free: 7.234 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003582/0.2372, allocations: 317.3 kB / 0.6812 GB, free: 6.875 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.2372, allocations: 0 / 0.6812 GB, free: 6.875 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001813/0.2374, allocations: 59.91 kB / 0.6812 GB, free: 6.816 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.091e-05/0.2375, allocations: 3.938 kB / 0.6812 GB, free: 6.812 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.002e-05/0.2375, allocations: 27.92 kB / 0.6812 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.2375, allocations: 0 / 0.6812 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.2375, allocations: 0 / 0.6812 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000538/0.238, allocations: 313.1 kB / 0.6815 GB, free: 6.461 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001798/0.2382, allocations: 140.7 kB / 0.6817 GB, free: 6.305 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.605e-05/0.2383, allocations: 7.938 kB / 0.6817 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.529e-05/0.2384, allocations: 15.98 kB / 0.6817 GB, free: 6.281 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.687e-05/0.2385, allocations: 27.97 kB / 0.6817 GB, free: 6.254 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.131e-05/0.2385, allocations: 8 kB / 0.6817 GB, free: 6.246 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002266/0.2387, allocations: 224.6 kB / 0.6819 GB, free: 6.027 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2387, allocations: 0 / 0.6819 GB, free: 6.027 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003716/0.2391, allocations: 75.83 kB / 0.682 GB, free: 5.953 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.001175/0.2403, allocations: 425.7 kB / 0.6824 GB, free: 5.676 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004828/0.2408, allocations: 231.5 kB / 0.6826 GB, free: 5.449 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.2408, allocations: 0 / 0.6826 GB, free: 5.449 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002156/0.241, allocations: 128.7 kB / 0.6828 GB, free: 5.324 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003181/0.2414, allocations: 28.66 kB / 0.6828 GB, free: 5.297 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000916/0.2423, allocations: 0.5022 MB / 0.6833 GB, free: 4.766 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003798/0.2427, allocations: 0.761 MB / 0.684 GB, free: 3.977 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003182/0.243, allocations: 142.8 kB / 0.6842 GB, free: 3.84 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.548e-05/0.2431, allocations: 47.42 kB / 0.6842 GB, free: 3.793 MB / 0.5137 GB Notification: Performance of SimCode: time 4.31e-07/0.2431, allocations: 0 / 0.6842 GB, free: 3.793 MB / 0.5137 GB Notification: Performance of Templates: time 0.007163/0.2503, allocations: 2.927 MB / 0.6871 GB, free: 0.9062 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)