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.1954/0.1976, allocations: 80.83 MB / 0.6706 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation): time 0.003115/0.2008, allocations: 1.606 MB / 0.6722 GB, free: 388 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001596/0.2024, allocations: 1.027 MB / 0.6732 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.902e-05/0.2025, allocations: 0 / 0.6732 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000298/0.2028, allocations: 31.84 kB / 0.6732 GB, free: 15.32 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.0003085/0.2031, allocations: 51.7 kB / 0.6733 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003134/0.2034, allocations: 77.83 kB / 0.6734 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003216/0.2038, allocations: 213.6 kB / 0.6736 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000168/0.2039, allocations: 23.92 kB / 0.6736 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.2041, allocations: 75.83 kB / 0.6737 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002655/0.2043, allocations: 83.72 kB / 0.6737 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.197e-05/0.2044, allocations: 16 kB / 0.6737 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001632/0.2046, allocations: 63.97 kB / 0.6738 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000148/0.2047, allocations: 75.81 kB / 0.6739 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001368/0.2049, allocations: 91.41 kB / 0.674 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004047/0.2053, allocations: 263 kB / 0.6742 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.2053, allocations: 0 / 0.6742 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.296e-06/0.2053, allocations: 0 / 0.6742 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.198e-06/0.2053, allocations: 0 / 0.6742 GB, free: 14.3 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.0009755/0.2063, allocations: 0.5151 MB / 0.6747 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/0.2064, allocations: 15.97 kB / 0.6747 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.869e-05/0.2065, allocations: 24.66 kB / 0.6748 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003367/0.2068, allocations: 263.2 kB / 0.675 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.673e-05/0.2068, allocations: 16.12 kB / 0.675 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.216e-05/0.2069, allocations: 16 kB / 0.675 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000379/0.2073, allocations: 199 kB / 0.6752 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.2073, allocations: 4 kB / 0.6752 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.754e-05/0.2073, allocations: 11.98 kB / 0.6752 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.2073, allocations: 4 kB / 0.6753 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008165/0.2082, allocations: 0.7295 MB / 0.676 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009216/0.2091, allocations: 0.5547 MB / 0.6765 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003484/0.2094, allocations: 223.5 kB / 0.6767 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001405/0.2096, allocations: 108.8 kB / 0.6768 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.645e-05/0.2096, allocations: 15.97 kB / 0.6768 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003175/0.21, allocations: 169.5 kB / 0.677 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=33): time 3.136e-06/0.21, allocations: 0 / 0.677 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33): time 0.0006272/0.2106, allocations: 367.4 kB / 0.6774 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.217e-05/0.2107, allocations: 81.11 kB / 0.6774 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003268/0.211, allocations: 292.2 kB / 0.6777 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.633e-05/0.2111, allocations: 29.7 kB / 0.6777 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.2112, allocations: 128.7 kB / 0.6779 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 9.793e-05/0.2113, allocations: 106.5 kB / 0.678 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.339e-05/0.2114, allocations: 57.69 kB / 0.678 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.2116, allocations: 334.8 kB / 0.6783 GB, free: 9.844 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/0.2117, allocations: 79.95 kB / 0.6784 GB, free: 9.766 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001572/0.2119, allocations: 101.7 kB / 0.6785 GB, free: 9.66 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000333/0.2122, allocations: 209.5 kB / 0.6787 GB, free: 9.453 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.2122, allocations: 0 / 0.6787 GB, free: 9.453 MB / 0.5137 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004099/0.2126, allocations: 269.2 kB / 0.679 GB, free: 9.184 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.2127, allocations: 8 kB / 0.679 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.2127, allocations: 0 / 0.679 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.2127, allocations: 3.938 kB / 0.679 GB, free: 9.172 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001989/0.2129, allocations: 55.91 kB / 0.679 GB, free: 9.117 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.2129, allocations: 4 kB / 0.679 GB, free: 9.113 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.329e-05/0.213, allocations: 19.78 kB / 0.6791 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.503e-05/0.213, allocations: 15.98 kB / 0.6791 GB, free: 9.078 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.0001259/0.2132, allocations: 161.8 kB / 0.6792 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.946e-05/0.2132, allocations: 23.72 kB / 0.6792 GB, free: 8.887 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.771e-05/0.2133, allocations: 38.64 kB / 0.6793 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.2133, allocations: 7.938 kB / 0.6793 GB, free: 8.844 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.2133, allocations: 0 / 0.6793 GB, free: 8.844 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.2133, allocations: 0 / 0.6793 GB, free: 8.844 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002728/0.2136, allocations: 321.2 kB / 0.6796 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.2136, allocations: 8 kB / 0.6796 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001605/0.2138, allocations: 59.91 kB / 0.6797 GB, free: 8.414 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.2138, allocations: 0 / 0.6797 GB, free: 8.414 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.627e-05/0.2138, allocations: 11.98 kB / 0.6797 GB, free: 8.402 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.728e-06/0.2138, allocations: 7.938 kB / 0.6797 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2138, allocations: 0 / 0.6797 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004365/0.2143, allocations: 300.6 kB / 0.68 GB, free: 8.082 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001227/0.2144, allocations: 140.7 kB / 0.6801 GB, free: 7.926 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.6e-05/0.2145, allocations: 8 kB / 0.6801 GB, free: 7.918 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.74e-05/0.2145, allocations: 15.88 kB / 0.6801 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.354e-05/0.2146, allocations: 23.91 kB / 0.6801 GB, free: 7.879 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.041e-05/0.2146, allocations: 15.98 kB / 0.6802 GB, free: 7.863 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001827/0.2148, allocations: 223.5 kB / 0.6804 GB, free: 7.645 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2148, allocations: 0 / 0.6804 GB, free: 7.645 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002557/0.2151, allocations: 52 kB / 0.6804 GB, free: 7.594 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.0009228/0.216, allocations: 392.9 kB / 0.6808 GB, free: 7.348 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000385/0.2164, allocations: 224.2 kB / 0.681 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2164, allocations: 7.938 kB / 0.681 GB, free: 7.121 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001928/0.2166, allocations: 123.9 kB / 0.6811 GB, free: 7 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002448/0.2169, allocations: 35.92 kB / 0.6812 GB, free: 6.965 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008728/0.2178, allocations: 0.4971 MB / 0.6817 GB, free: 6.445 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004203/0.2182, allocations: 0.7535 MB / 0.6824 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002935/0.2185, allocations: 138.2 kB / 0.6825 GB, free: 5.527 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.568e-05/0.2186, allocations: 39.42 kB / 0.6826 GB, free: 5.488 MB / 0.5137 GB Notification: Performance of SimCode: time 1.623e-06/0.2186, allocations: 0 / 0.6826 GB, free: 5.488 MB / 0.5137 GB Notification: Performance of Templates: time 0.006077/0.2247, allocations: 2.506 MB / 0.685 GB, free: 3 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)