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.1728/0.1748, allocations: 80.83 MB / 0.6706 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection): time 0.003537/0.1784, allocations: 1.698 MB / 0.6723 GB, free: 320 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002227/0.1807, allocations: 1.524 MB / 0.6738 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.421e-05/0.1808, allocations: 4 kB / 0.6738 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002467/0.1811, allocations: 15.86 kB / 0.6738 GB, free: 14.76 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.0002714/0.1814, allocations: 47.7 kB / 0.6738 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004161/0.1818, allocations: 125.9 kB / 0.674 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002691/0.1821, allocations: 217.6 kB / 0.6742 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.1822, allocations: 24.17 kB / 0.6742 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001624/0.1824, allocations: 79.8 kB / 0.6743 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001991/0.1826, allocations: 79.73 kB / 0.6744 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.133e-05/0.1826, allocations: 20 kB / 0.6744 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002871/0.1829, allocations: 119.9 kB / 0.6745 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.183, allocations: 71.81 kB / 0.6746 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001066/0.1831, allocations: 95.39 kB / 0.6746 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004393/0.1836, allocations: 302.7 kB / 0.6749 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1836, allocations: 0 / 0.6749 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.492e-06/0.1836, allocations: 0 / 0.6749 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.1836, allocations: 0 / 0.6749 GB, free: 13.6 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.0007324/0.1844, allocations: 0.5419 MB / 0.6755 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.1844, allocations: 8.031 kB / 0.6755 GB, free: 13 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00013/0.1845, allocations: 28.8 kB / 0.6755 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002485/0.1848, allocations: 259.1 kB / 0.6757 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.1848, allocations: 15.94 kB / 0.6758 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.641e-05/0.1849, allocations: 16 kB / 0.6758 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00031/0.1852, allocations: 191 kB / 0.676 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.1852, allocations: 0 / 0.676 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.836e-05/0.1852, allocations: 4 kB / 0.676 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.605e-06/0.1852, allocations: 8 kB / 0.676 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007914/0.186, allocations: 0.7334 MB / 0.6767 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008165/0.1869, allocations: 0.5706 MB / 0.6772 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004541/0.1873, allocations: 300.6 kB / 0.6775 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001554/0.1875, allocations: 113.4 kB / 0.6776 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005797/0.1881, allocations: 457.7 kB / 0.6781 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003344/0.1884, allocations: 171.4 kB / 0.6782 GB, free: 9.949 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=35): time 1.714e-06/0.1884, allocations: 0 / 0.6782 GB, free: 9.949 MB / 0.5137 GB Notification: Performance of matching and sorting (n=35): time 0.0006043/0.189, allocations: 375.1 kB / 0.6786 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.196e-05/0.1891, allocations: 89.09 kB / 0.6787 GB, free: 9.473 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002604/0.1894, allocations: 295.1 kB / 0.679 GB, free: 9.168 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.1894, allocations: 33.7 kB / 0.679 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.971e-05/0.1895, allocations: 116.8 kB / 0.6791 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 9.15e-05/0.1896, allocations: 126.9 kB / 0.6792 GB, free: 8.883 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.16e-05/0.1897, allocations: 65.56 kB / 0.6793 GB, free: 8.812 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.1898, allocations: 334.8 kB / 0.6796 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.1899, allocations: 83.95 kB / 0.6797 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000153/0.1901, allocations: 109.6 kB / 0.6798 GB, free: 8.281 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003213/0.1904, allocations: 221.4 kB / 0.68 GB, free: 8.062 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.1904, allocations: 0 / 0.68 GB, free: 8.062 MB / 0.5137 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004204/0.1909, allocations: 273.3 kB / 0.6803 GB, free: 7.789 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.1909, allocations: 11.92 kB / 0.6803 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1909, allocations: 0 / 0.6803 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.1909, allocations: 4 kB / 0.6803 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002089/0.1911, allocations: 59.91 kB / 0.6803 GB, free: 7.715 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.1912, allocations: 4.031 kB / 0.6803 GB, free: 7.711 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.246e-05/0.1913, allocations: 27.84 kB / 0.6804 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.232e-05/0.1913, allocations: 11.98 kB / 0.6804 GB, free: 7.672 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.0001346/0.1914, allocations: 157.8 kB / 0.6805 GB, free: 7.508 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.322e-05/0.1915, allocations: 27.8 kB / 0.6806 GB, free: 7.48 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005063/0.192, allocations: 331.8 kB / 0.6809 GB, free: 7.152 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.192, allocations: 4 kB / 0.6809 GB, free: 7.148 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.192, allocations: 0 / 0.6809 GB, free: 7.148 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.192, allocations: 3.984 kB / 0.6809 GB, free: 7.145 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002819/0.1923, allocations: 317.3 kB / 0.6812 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.1923, allocations: 0 / 0.6812 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000183/0.1925, allocations: 63.91 kB / 0.6812 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.1925, allocations: 3.938 kB / 0.6812 GB, free: 6.719 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.275e-05/0.1925, allocations: 11.98 kB / 0.6813 GB, free: 6.707 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.1926, allocations: 7.938 kB / 0.6813 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1926, allocations: 4 kB / 0.6813 GB, free: 6.695 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004235/0.193, allocations: 313.2 kB / 0.6816 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.1931, allocations: 144.8 kB / 0.6817 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.442e-05/0.1931, allocations: 7.938 kB / 0.6817 GB, free: 6.203 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.303e-05/0.1932, allocations: 8 kB / 0.6817 GB, free: 6.195 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.38e-05/0.1933, allocations: 27.95 kB / 0.6817 GB, free: 6.168 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.961e-05/0.1933, allocations: 12 kB / 0.6818 GB, free: 6.156 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001738/0.1935, allocations: 228.6 kB / 0.682 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1935, allocations: 0 / 0.682 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002942/0.1938, allocations: 71.88 kB / 0.682 GB, free: 5.863 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.0009209/0.1947, allocations: 423.9 kB / 0.6824 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003724/0.1951, allocations: 235.5 kB / 0.6827 GB, free: 5.355 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1951, allocations: 3.938 kB / 0.6827 GB, free: 5.352 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001742/0.1953, allocations: 120.8 kB / 0.6828 GB, free: 5.234 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002415/0.1956, allocations: 32.66 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.0007683/0.1963, allocations: 0.5173 MB / 0.6833 GB, free: 4.656 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.1966, allocations: 0.7533 MB / 0.6841 GB, free: 3.875 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003/0.197, allocations: 142.9 kB / 0.6842 GB, free: 3.738 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.081e-05/0.197, allocations: 39.42 kB / 0.6842 GB, free: 3.699 MB / 0.5137 GB Notification: Performance of SimCode: time 2.5e-07/0.197, allocations: 0 / 0.6842 GB, free: 3.699 MB / 0.5137 GB Notification: Performance of Templates: time 0.006222/0.2033, allocations: 2.921 MB / 0.6871 GB, free: 0.8203 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)