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.1897/0.1917, allocations: 80.84 MB / 0.6706 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation): time 0.002836/0.1946, allocations: 1.602 MB / 0.6722 GB, free: 408 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001378/0.196, allocations: 1.035 MB / 0.6732 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.242e-05/0.1961, allocations: 0 / 0.6732 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002436/0.1963, allocations: 23.84 kB / 0.6732 GB, free: 15.34 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.0002108/0.1966, allocations: 47.72 kB / 0.6733 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002516/0.1968, allocations: 82.27 kB / 0.6734 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002589/0.1971, allocations: 213.7 kB / 0.6736 GB, free: 15 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.1972, allocations: 31.91 kB / 0.6736 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 7.998e-05/0.1973, allocations: 67.77 kB / 0.6737 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001833/0.1975, allocations: 87.77 kB / 0.6737 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.823e-05/0.1975, allocations: 20 kB / 0.6738 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001085/0.1976, allocations: 59.98 kB / 0.6738 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.786e-05/0.1977, allocations: 71.81 kB / 0.6739 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.1978, allocations: 99.39 kB / 0.674 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003422/0.1982, allocations: 255.1 kB / 0.6742 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.1982, allocations: 0 / 0.6742 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.114e-06/0.1982, allocations: 4 kB / 0.6742 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.447e-06/0.1982, allocations: 0 / 0.6742 GB, free: 14.32 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.0009252/0.1992, allocations: 0.5151 MB / 0.6747 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.625e-05/0.1992, allocations: 8.031 kB / 0.6747 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.834e-05/0.1993, allocations: 28.59 kB / 0.6748 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003283/0.1997, allocations: 267.2 kB / 0.675 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.414e-05/0.1997, allocations: 12.12 kB / 0.675 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.079e-05/0.1997, allocations: 23.94 kB / 0.6751 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003583/0.2001, allocations: 195 kB / 0.6752 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.2001, allocations: 4 kB / 0.6752 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.378e-05/0.2001, allocations: 8 kB / 0.6752 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.2002, allocations: 8 kB / 0.6753 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008797/0.201, allocations: 0.7256 MB / 0.676 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009019/0.202, allocations: 0.5586 MB / 0.6765 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003673/0.2023, allocations: 223.5 kB / 0.6767 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001574/0.2025, allocations: 100.8 kB / 0.6768 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 5.666e-05/0.2026, allocations: 23.97 kB / 0.6768 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003641/0.2029, allocations: 165.5 kB / 0.677 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=33): time 1.653e-06/0.2029, allocations: 3.938 kB / 0.677 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33): time 0.0006329/0.2036, allocations: 363.6 kB / 0.6774 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.194e-05/0.2037, allocations: 81.11 kB / 0.6774 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002616/0.2039, allocations: 292.2 kB / 0.6777 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/0.204, allocations: 33.69 kB / 0.6777 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.465e-05/0.204, allocations: 124.7 kB / 0.6779 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 8.628e-05/0.2041, allocations: 106.5 kB / 0.678 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.029e-05/0.2042, allocations: 61.69 kB / 0.678 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.2043, allocations: 334.8 kB / 0.6783 GB, free: 9.859 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/0.2045, allocations: 75.95 kB / 0.6784 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001394/0.2046, allocations: 105.6 kB / 0.6785 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002888/0.2049, allocations: 205.6 kB / 0.6787 GB, free: 9.473 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2049, allocations: 0 / 0.6787 GB, free: 9.473 MB / 0.5137 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003837/0.2053, allocations: 269.2 kB / 0.679 GB, free: 9.203 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.2053, allocations: 4 kB / 0.679 GB, free: 9.199 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.2053, allocations: 0 / 0.679 GB, free: 9.199 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.2054, allocations: 7.938 kB / 0.679 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002063/0.2056, allocations: 55.91 kB / 0.679 GB, free: 9.137 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.2056, allocations: 0 / 0.679 GB, free: 9.137 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.103e-05/0.2057, allocations: 23.78 kB / 0.6791 GB, free: 9.113 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.537e-05/0.2057, allocations: 15.98 kB / 0.6791 GB, free: 9.098 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.0001353/0.2058, allocations: 161.8 kB / 0.6792 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.066e-05/0.2059, allocations: 23.72 kB / 0.6792 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.508e-05/0.206, allocations: 38.64 kB / 0.6793 GB, free: 8.871 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.206, allocations: 7.938 kB / 0.6793 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.206, allocations: 0 / 0.6793 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.206, allocations: 0 / 0.6793 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003182/0.2063, allocations: 321.2 kB / 0.6796 GB, free: 8.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2063, allocations: 4 kB / 0.6796 GB, free: 8.496 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001571/0.2065, allocations: 51.92 kB / 0.6796 GB, free: 8.445 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.2065, allocations: 8 kB / 0.6797 GB, free: 8.438 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.88e-05/0.2065, allocations: 15.92 kB / 0.6797 GB, free: 8.422 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.2066, allocations: 3.938 kB / 0.6797 GB, free: 8.418 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2066, allocations: 0 / 0.6797 GB, free: 8.418 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004022/0.207, allocations: 308.6 kB / 0.68 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001231/0.2071, allocations: 136.7 kB / 0.6801 GB, free: 7.945 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.63e-05/0.2071, allocations: 11.94 kB / 0.6801 GB, free: 7.934 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.357e-05/0.2072, allocations: 11.94 kB / 0.6801 GB, free: 7.922 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.237e-05/0.2073, allocations: 31.95 kB / 0.6802 GB, free: 7.891 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.059e-05/0.2073, allocations: 11.98 kB / 0.6802 GB, free: 7.879 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001825/0.2075, allocations: 223.5 kB / 0.6804 GB, free: 7.66 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2075, allocations: 0 / 0.6804 GB, free: 7.66 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002602/0.2078, allocations: 51.98 kB / 0.6804 GB, free: 7.609 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.0009148/0.2087, allocations: 393.8 kB / 0.6808 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003733/0.2091, allocations: 224.3 kB / 0.681 GB, free: 7.141 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.2091, allocations: 0 / 0.681 GB, free: 7.141 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001759/0.2093, allocations: 123.8 kB / 0.6811 GB, free: 7.02 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000251/0.2095, allocations: 35.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.0008564/0.2104, allocations: 0.4971 MB / 0.6817 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/0.2107, allocations: 0.7535 MB / 0.6824 GB, free: 5.68 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002693/0.211, allocations: 134.2 kB / 0.6825 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.464e-05/0.2111, allocations: 43.41 kB / 0.6826 GB, free: 5.508 MB / 0.5137 GB Notification: Performance of SimCode: time 2.5e-07/0.2111, allocations: 7.938 kB / 0.6826 GB, free: 5.5 MB / 0.5137 GB Notification: Performance of Templates: time 0.006015/0.2171, allocations: 2.524 MB / 0.685 GB, free: 2.996 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)