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.1972/0.2009, allocations: 80.83 MB / 0.6706 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover): time 0.003464/0.2044, allocations: 1.725 MB / 0.6723 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001721/0.2061, allocations: 1.121 MB / 0.6734 GB, free: 1.734 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001214/0.2063, allocations: 0 / 0.6734 GB, free: 1.734 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002713/0.2066, allocations: 31.77 kB / 0.6734 GB, free: 1.703 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.0003445/0.207, allocations: 47.72 kB / 0.6735 GB, free: 1.656 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004358/0.2074, allocations: 127.7 kB / 0.6736 GB, free: 1.531 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003219/0.2078, allocations: 241.5 kB / 0.6738 GB, free: 1.297 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.2079, allocations: 33.05 kB / 0.6739 GB, free: 1.262 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001387/0.2081, allocations: 79.81 kB / 0.6739 GB, free: 1.184 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001903/0.2083, allocations: 87.72 kB / 0.674 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.815e-05/0.2083, allocations: 19.94 kB / 0.6741 GB, free: 1.078 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002578/0.2086, allocations: 119.9 kB / 0.6742 GB, free: 0.9609 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.2087, allocations: 87.73 kB / 0.6742 GB, free: 0.875 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001143/0.2088, allocations: 103.3 kB / 0.6743 GB, free: 0.7734 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004677/0.2093, allocations: 315 kB / 0.6746 GB, free: 476 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.2093, allocations: 0 / 0.6746 GB, free: 476 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2093, allocations: 0 / 0.6746 GB, free: 476 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.022e-05/0.2093, allocations: 0 / 0.6746 GB, free: 476 kB / 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.001005/0.2103, allocations: 0.549 MB / 0.6752 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.2104, allocations: 12.03 kB / 0.6752 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.997e-05/0.2105, allocations: 24.66 kB / 0.6752 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003424/0.2108, allocations: 282.1 kB / 0.6755 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.2108, allocations: 12 kB / 0.6755 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.908e-05/0.2109, allocations: 16 kB / 0.6755 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003584/0.2112, allocations: 207 kB / 0.6757 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.2113, allocations: 0 / 0.6757 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.332e-05/0.2113, allocations: 12 kB / 0.6757 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.2113, allocations: 4 kB / 0.6757 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008519/0.2122, allocations: 0.7527 MB / 0.6765 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009531/0.2131, allocations: 0.586 MB / 0.677 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005277/0.2137, allocations: 316 kB / 0.6773 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000173/0.2139, allocations: 116.9 kB / 0.6774 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006184/0.2145, allocations: 465.4 kB / 0.6779 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003036/0.2148, allocations: 183 kB / 0.6781 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=37): time 1.874e-06/0.2148, allocations: 0 / 0.6781 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of matching and sorting (n=37): time 0.0007359/0.2156, allocations: 390.4 kB / 0.6784 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001204/0.2157, allocations: 92.86 kB / 0.6785 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002982/0.216, allocations: 301 kB / 0.6788 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.887e-05/0.216, allocations: 33.7 kB / 0.6788 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.746e-05/0.2161, allocations: 125 kB / 0.679 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.863e-05/0.2162, allocations: 126.2 kB / 0.6791 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.896e-05/0.2163, allocations: 65.69 kB / 0.6791 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.2165, allocations: 334.8 kB / 0.6795 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.2166, allocations: 83.95 kB / 0.6795 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001835/0.2168, allocations: 125.7 kB / 0.6797 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003409/0.2172, allocations: 224.9 kB / 0.6799 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.2172, allocations: 0 / 0.6799 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004591/0.2176, allocations: 292.8 kB / 0.6802 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.2177, allocations: 7.938 kB / 0.6802 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.2177, allocations: 0 / 0.6802 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.836e-05/0.2177, allocations: 4 kB / 0.6802 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002277/0.2179, allocations: 71.78 kB / 0.6802 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/0.2179, allocations: 0 / 0.6802 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.962e-05/0.2181, allocations: 27.77 kB / 0.6803 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.141e-05/0.2181, allocations: 16 kB / 0.6803 GB, free: 10.34 MB / 0.5294 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.0001602/0.2183, allocations: 170.3 kB / 0.6804 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.766e-05/0.2183, allocations: 31.66 kB / 0.6805 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005716/0.2189, allocations: 336.8 kB / 0.6808 GB, free: 9.793 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.2189, allocations: 4 kB / 0.6808 GB, free: 9.789 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.2189, allocations: 3.984 kB / 0.6808 GB, free: 9.785 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.2189, allocations: 4 kB / 0.6808 GB, free: 9.781 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003391/0.2193, allocations: 333.2 kB / 0.6811 GB, free: 9.406 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.2193, allocations: 0 / 0.6811 GB, free: 9.406 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002112/0.2195, allocations: 63.91 kB / 0.6812 GB, free: 9.344 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.2195, allocations: 3.938 kB / 0.6812 GB, free: 9.34 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.295e-05/0.2195, allocations: 11.98 kB / 0.6812 GB, free: 9.328 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.2196, allocations: 8 kB / 0.6812 GB, free: 9.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.2196, allocations: 0 / 0.6812 GB, free: 9.32 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005034/0.2201, allocations: 337 kB / 0.6815 GB, free: 8.973 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.2202, allocations: 140.7 kB / 0.6817 GB, free: 8.816 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.065e-05/0.2203, allocations: 11.94 kB / 0.6817 GB, free: 8.805 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.414e-05/0.2203, allocations: 8 kB / 0.6817 GB, free: 8.797 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.618e-05/0.2204, allocations: 27.95 kB / 0.6817 GB, free: 8.77 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.096e-05/0.2204, allocations: 16 kB / 0.6817 GB, free: 8.754 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000206/0.2207, allocations: 240.4 kB / 0.682 GB, free: 8.52 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.91e-07/0.2207, allocations: 0 / 0.682 GB, free: 8.52 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003337/0.221, allocations: 79.89 kB / 0.682 GB, free: 8.441 MB / 0.5294 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.001063/0.2221, allocations: 418.3 kB / 0.6824 GB, free: 8.172 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00047/0.2226, allocations: 239.9 kB / 0.6827 GB, free: 7.938 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2226, allocations: 0 / 0.6827 GB, free: 7.938 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002155/0.2228, allocations: 144.2 kB / 0.6828 GB, free: 7.797 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.2231, allocations: 45.11 kB / 0.6828 GB, free: 7.75 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/0.2243, allocations: 0.5119 MB / 0.6833 GB, free: 7.211 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005037/0.2248, allocations: 0.7689 MB / 0.6841 GB, free: 6.418 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003802/0.2252, allocations: 150.9 kB / 0.6842 GB, free: 6.27 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.835e-05/0.2253, allocations: 39.42 kB / 0.6843 GB, free: 6.23 MB / 0.5294 GB Notification: Performance of SimCode: time 1.623e-06/0.2254, allocations: 0 / 0.6843 GB, free: 6.23 MB / 0.5294 GB Notification: Performance of Templates: time 0.008659/0.234, allocations: 3.235 MB / 0.6874 GB, free: 3.012 MB / 0.5294 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)