Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation.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.ConvertRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation") [/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.1745/0.1768, allocations: 80.83 MB / 0.6706 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation): time 0.002967/0.1798, allocations: 1.616 MB / 0.6722 GB, free: 424 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001406/0.1812, allocations: 1.028 MB / 0.6732 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.838e-05/0.1813, allocations: 7.938 kB / 0.6732 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002297/0.1816, allocations: 23.8 kB / 0.6732 GB, free: 15.35 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.0002187/0.1818, allocations: 51.75 kB / 0.6733 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002519/0.182, allocations: 75.78 kB / 0.6734 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002584/0.1823, allocations: 217.6 kB / 0.6736 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.1824, allocations: 27.88 kB / 0.6736 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 9.62e-05/0.1825, allocations: 71.81 kB / 0.6737 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001735/0.1827, allocations: 79.8 kB / 0.6737 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.259e-05/0.1828, allocations: 16 kB / 0.6738 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001195/0.1829, allocations: 63.97 kB / 0.6738 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.183, allocations: 71.81 kB / 0.6739 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 9.2e-05/0.1831, allocations: 99.39 kB / 0.674 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003188/0.1834, allocations: 258.8 kB / 0.6742 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1834, allocations: 0 / 0.6742 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1834, allocations: 0 / 0.6742 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.177e-06/0.1834, allocations: 0 / 0.6742 GB, free: 14.34 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.0006911/0.1841, allocations: 0.5264 MB / 0.6747 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.1842, allocations: 8.031 kB / 0.6747 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.199e-05/0.1843, allocations: 24.8 kB / 0.6748 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002453/0.1845, allocations: 271.4 kB / 0.675 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.1845, allocations: 12.12 kB / 0.675 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.653e-05/0.1846, allocations: 20 kB / 0.6751 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000312/0.1849, allocations: 191 kB / 0.6752 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.1849, allocations: 0 / 0.6752 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.923e-05/0.1849, allocations: 8 kB / 0.6753 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.1849, allocations: 4 kB / 0.6753 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008058/0.1858, allocations: 0.7372 MB / 0.676 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007979/0.1866, allocations: 0.5587 MB / 0.6765 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003231/0.1869, allocations: 219.5 kB / 0.6767 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001426/0.187, allocations: 104.8 kB / 0.6768 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.411e-05/0.1871, allocations: 15.97 kB / 0.6768 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003291/0.1874, allocations: 169.5 kB / 0.677 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=33): time 1.723e-06/0.1874, allocations: 3.938 kB / 0.677 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33): time 0.0005997/0.188, allocations: 359.7 kB / 0.6774 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.121e-05/0.1881, allocations: 85.11 kB / 0.6774 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002736/0.1884, allocations: 300.1 kB / 0.6777 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.541e-05/0.1884, allocations: 33.7 kB / 0.6778 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.839e-05/0.1885, allocations: 116.8 kB / 0.6779 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 9.019e-05/0.1886, allocations: 123 kB / 0.678 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.654e-05/0.1887, allocations: 57.69 kB / 0.678 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.1888, allocations: 338.8 kB / 0.6784 GB, free: 9.859 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.1889, allocations: 75.95 kB / 0.6784 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001396/0.1891, allocations: 105.7 kB / 0.6785 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002918/0.1894, allocations: 201.6 kB / 0.6787 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1894, allocations: 0 / 0.6787 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003761/0.1898, allocations: 265.3 kB / 0.679 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.1898, allocations: 4 kB / 0.679 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.1898, allocations: 3.938 kB / 0.679 GB, free: 9.203 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.1898, allocations: 11.92 kB / 0.679 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002073/0.19, allocations: 56 kB / 0.6791 GB, free: 9.137 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.1901, allocations: 4 kB / 0.6791 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.927e-05/0.1901, allocations: 27.81 kB / 0.6791 GB, free: 9.105 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.269e-05/0.1902, allocations: 12 kB / 0.6791 GB, free: 9.094 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 (timCon.tStart,$PRE.timCon.tStart,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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.000129/0.1903, allocations: 157.7 kB / 0.6792 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.02e-05/0.1904, allocations: 31.8 kB / 0.6793 GB, free: 8.898 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.777e-05/0.1904, allocations: 30.66 kB / 0.6793 GB, free: 8.871 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.1905, allocations: 11.94 kB / 0.6793 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.1905, allocations: 0 / 0.6793 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.1905, allocations: 3.984 kB / 0.6793 GB, free: 8.855 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002689/0.1907, allocations: 317.4 kB / 0.6796 GB, free: 8.496 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.1908, allocations: 7.938 kB / 0.6796 GB, free: 8.488 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001594/0.1909, allocations: 51.97 kB / 0.6797 GB, free: 8.438 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.1909, allocations: 4 kB / 0.6797 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.864e-05/0.191, allocations: 8 kB / 0.6797 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.191, allocations: 3.938 kB / 0.6797 GB, free: 8.422 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.191, allocations: 0 / 0.6797 GB, free: 8.422 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004034/0.1914, allocations: 320.6 kB / 0.68 GB, free: 8.09 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.1915, allocations: 136.9 kB / 0.6801 GB, free: 7.938 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.305e-05/0.1915, allocations: 11.94 kB / 0.6801 GB, free: 7.926 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.253e-05/0.1916, allocations: 11.92 kB / 0.6802 GB, free: 7.914 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.254e-05/0.1917, allocations: 19.97 kB / 0.6802 GB, free: 7.895 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.017e-05/0.1917, allocations: 16 kB / 0.6802 GB, free: 7.879 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001775/0.1919, allocations: 223.5 kB / 0.6804 GB, free: 7.66 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1919, allocations: 4 kB / 0.6804 GB, free: 7.656 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002538/0.1922, allocations: 55.94 kB / 0.6805 GB, free: 7.602 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,timCon.tStart) * Number of discrete states: 1 (timCon.tStart) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * 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.0008568/0.193, allocations: 392.9 kB / 0.6808 GB, free: 7.352 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003655/0.1934, allocations: 220.3 kB / 0.681 GB, free: 7.137 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.1934, allocations: 4 kB / 0.681 GB, free: 7.133 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001747/0.1936, allocations: 119.8 kB / 0.6812 GB, free: 7.016 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002313/0.1938, allocations: 31.92 kB / 0.6812 GB, free: 6.984 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007453/0.1946, allocations: 0.5046 MB / 0.6817 GB, free: 6.457 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003022/0.1949, allocations: 0.7535 MB / 0.6824 GB, free: 5.672 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002788/0.1952, allocations: 142.2 kB / 0.6826 GB, free: 5.535 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.745e-05/0.1953, allocations: 39.42 kB / 0.6826 GB, free: 5.496 MB / 0.5137 GB Notification: Performance of SimCode: time 2.21e-07/0.1953, allocations: 3.938 kB / 0.6826 GB, free: 5.492 MB / 0.5137 GB Notification: Performance of Templates: time 0.005556/0.2008, allocations: 2.503 MB / 0.685 GB, free: 3.008 MB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation.makefile (rm -f Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation.pipe ; mkfifo Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation.pipe >> ../files/Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation.sim & ./Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation.pipe 2>&1)