Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.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.CheckSkyCover,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover") [/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.2037/0.2058, allocations: 80.83 MB / 0.6706 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover): time 0.003642/0.2095, allocations: 1.725 MB / 0.6723 GB, free: 400 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001735/0.2112, allocations: 1.125 MB / 0.6734 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.009e-05/0.2113, allocations: 0 / 0.6734 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002672/0.2116, allocations: 31.77 kB / 0.6734 GB, free: 15.23 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.0002631/0.2119, allocations: 51.72 kB / 0.6735 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003538/0.2123, allocations: 123.6 kB / 0.6736 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003045/0.2126, allocations: 233.6 kB / 0.6738 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.2127, allocations: 33.03 kB / 0.6739 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.2129, allocations: 95.69 kB / 0.674 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001554/0.213, allocations: 83.73 kB / 0.674 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.127e-05/0.2131, allocations: 16 kB / 0.6741 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002124/0.2133, allocations: 119.9 kB / 0.6742 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001175/0.2134, allocations: 79.8 kB / 0.6742 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.2135, allocations: 99.34 kB / 0.6743 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003783/0.2139, allocations: 311 kB / 0.6746 GB, free: 14 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.2139, allocations: 0 / 0.6746 GB, free: 14 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.984e-06/0.2139, allocations: 3.938 kB / 0.6746 GB, free: 14 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.2139, allocations: 0 / 0.6746 GB, free: 14 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0008603/0.2148, allocations: 0.5567 MB / 0.6752 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.2149, allocations: 12.03 kB / 0.6752 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.8e-05/0.2149, allocations: 32.5 kB / 0.6752 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003355/0.2153, allocations: 274.3 kB / 0.6755 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/0.2153, allocations: 16 kB / 0.6755 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.562e-05/0.2154, allocations: 12 kB / 0.6755 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003772/0.2157, allocations: 218.8 kB / 0.6757 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.2158, allocations: 0 / 0.6757 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.228e-05/0.2158, allocations: 4 kB / 0.6757 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.2158, allocations: 8 kB / 0.6757 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009687/0.2168, allocations: 0.7412 MB / 0.6765 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00098/0.2178, allocations: 0.5861 MB / 0.677 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005325/0.2183, allocations: 324 kB / 0.6773 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001691/0.2185, allocations: 120.8 kB / 0.6775 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006768/0.2192, allocations: 461.4 kB / 0.6779 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003895/0.2196, allocations: 183 kB / 0.6781 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=37): time 1.913e-06/0.2196, allocations: 3.938 kB / 0.6781 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of matching and sorting (n=37): time 0.0007221/0.2203, allocations: 386.4 kB / 0.6784 GB, free: 9.828 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.303e-05/0.2204, allocations: 88.8 kB / 0.6785 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003169/0.2207, allocations: 309 kB / 0.6788 GB, free: 9.414 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.701e-05/0.2208, allocations: 29.7 kB / 0.6789 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.78e-05/0.2208, allocations: 121 kB / 0.679 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001032/0.221, allocations: 122.3 kB / 0.6791 GB, free: 9.137 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.571e-05/0.2211, allocations: 77.59 kB / 0.6792 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.2212, allocations: 334.8 kB / 0.6795 GB, free: 8.719 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.2214, allocations: 83.95 kB / 0.6796 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001714/0.2216, allocations: 113.7 kB / 0.6797 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003298/0.2219, allocations: 228.9 kB / 0.6799 GB, free: 8.293 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2219, allocations: 0 / 0.6799 GB, free: 8.293 MB / 0.5137 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004416/0.2224, allocations: 296.8 kB / 0.6802 GB, free: 7.996 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.2224, allocations: 8.719 kB / 0.6802 GB, free: 7.988 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.2224, allocations: 4.031 kB / 0.6802 GB, free: 7.984 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.2224, allocations: 0 / 0.6802 GB, free: 7.984 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002202/0.2226, allocations: 67.91 kB / 0.6802 GB, free: 7.918 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.2227, allocations: 0 / 0.6802 GB, free: 7.918 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.233e-05/0.2227, allocations: 23.83 kB / 0.6803 GB, free: 7.895 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.616e-05/0.2228, allocations: 12 kB / 0.6803 GB, free: 7.883 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 (38): * Single equations (assignments): 38 * 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.0001571/0.2229, allocations: 161.7 kB / 0.6804 GB, free: 7.715 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.822e-05/0.223, allocations: 31.56 kB / 0.6805 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006131/0.2236, allocations: 340.9 kB / 0.6808 GB, free: 7.332 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.2236, allocations: 4 kB / 0.6808 GB, free: 7.328 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.2236, allocations: 3.984 kB / 0.6808 GB, free: 7.324 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.2237, allocations: 0 / 0.6808 GB, free: 7.324 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002973/0.224, allocations: 329.3 kB / 0.6811 GB, free: 6.953 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.224, allocations: 4 kB / 0.6811 GB, free: 6.949 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001901/0.2242, allocations: 67.91 kB / 0.6812 GB, free: 6.883 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.461e-06/0.2242, allocations: 7.938 kB / 0.6812 GB, free: 6.875 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.024e-05/0.2242, allocations: 11.98 kB / 0.6812 GB, free: 6.863 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.2242, allocations: 3.938 kB / 0.6812 GB, free: 6.859 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.2242, allocations: 0 / 0.6812 GB, free: 6.859 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004726/0.2247, allocations: 344.8 kB / 0.6815 GB, free: 6.504 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001997/0.2249, allocations: 140.7 kB / 0.6817 GB, free: 6.348 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.323e-05/0.2249, allocations: 15.88 kB / 0.6817 GB, free: 6.332 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.752e-05/0.225, allocations: 12 kB / 0.6817 GB, free: 6.32 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.026e-05/0.2251, allocations: 23.95 kB / 0.6817 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.2251, allocations: 16 kB / 0.6817 GB, free: 6.281 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001897/0.2253, allocations: 236.4 kB / 0.682 GB, free: 6.051 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2253, allocations: 0 / 0.682 GB, free: 6.051 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003119/0.2256, allocations: 75.89 kB / 0.682 GB, free: 5.977 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 (37): * Single equations (assignments): 36 * 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.0009054/0.2266, allocations: 417.4 kB / 0.6824 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004194/0.227, allocations: 247.9 kB / 0.6827 GB, free: 5.465 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.227, allocations: 4 kB / 0.6827 GB, free: 5.461 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002135/0.2272, allocations: 136.2 kB / 0.6828 GB, free: 5.328 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003144/0.2275, allocations: 50.84 kB / 0.6828 GB, free: 5.281 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008608/0.2284, allocations: 0.5197 MB / 0.6833 GB, free: 4.734 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.2288, allocations: 0.765 MB / 0.6841 GB, free: 3.945 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003299/0.2291, allocations: 142.9 kB / 0.6842 GB, free: 3.809 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.287e-05/0.2292, allocations: 43.42 kB / 0.6843 GB, free: 3.766 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.2292, allocations: 4 kB / 0.6843 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of Templates: time 0.007192/0.2364, allocations: 3.25 MB / 0.6875 GB, free: 0.5234 MB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.makefile (rm -f Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.pipe ; mkfifo Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.pipe >> ../files/Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.sim & ./Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.pipe 2>&1)