Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.conf.json 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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009358/0.009358, allocations: 100.5 kB / 15.73 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001602/0.001602, allocations: 192.3 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.494/1.494, allocations: 205.1 MB / 222.5 MB, free: 4.488 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.621/0.621, allocations: 95.48 MB / 365.4 MB, free: 9.781 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001604/0.001604, allocations: 79.88 kB / 0.5036 GB, free: 13.47 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1902/0.1919, allocations: 69.08 MB / 0.5711 GB, free: 8.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover): time 0.003469/0.1954, allocations: 1.605 MB / 0.5727 GB, free: 6.703 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002053/0.1975, allocations: 1.337 MB / 0.574 GB, free: 5.359 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.242e-05/0.1975, allocations: 4 kB / 0.574 GB, free: 5.355 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002379/0.1978, allocations: 23.78 kB / 0.574 GB, free: 5.332 MB / 446.1 MB [/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.0002509/0.1981, allocations: 47.77 kB / 0.574 GB, free: 5.285 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004713/0.1986, allocations: 178.4 kB / 0.5742 GB, free: 5.113 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003016/0.1989, allocations: 213.7 kB / 0.5744 GB, free: 4.902 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.199, allocations: 23.98 kB / 0.5744 GB, free: 4.879 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000127/0.1991, allocations: 79.77 kB / 0.5745 GB, free: 4.801 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001764/0.1993, allocations: 87.7 kB / 0.5746 GB, free: 4.715 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.035e-05/0.1994, allocations: 19.94 kB / 0.5746 GB, free: 4.695 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003274/0.1997, allocations: 183.8 kB / 0.5748 GB, free: 4.516 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001169/0.1998, allocations: 71.81 kB / 0.5749 GB, free: 4.445 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000118/0.1999, allocations: 95.36 kB / 0.5749 GB, free: 4.352 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000465/0.2004, allocations: 335 kB / 0.5753 GB, free: 4.023 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.2004, allocations: 0 / 0.5753 GB, free: 4.023 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.156e-06/0.2004, allocations: 0 / 0.5753 GB, free: 4.023 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.347e-05/0.2005, allocations: 3.938 kB / 0.5753 GB, free: 4.02 MB / 446.1 MB 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.0009701/0.2014, allocations: 0.5703 MB / 0.5758 GB, free: 3.395 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.2015, allocations: 15.98 kB / 0.5758 GB, free: 3.379 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.972e-05/0.2016, allocations: 24.66 kB / 0.5759 GB, free: 3.355 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003209/0.2019, allocations: 263.9 kB / 0.5761 GB, free: 3.055 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.2019, allocations: 12 kB / 0.5761 GB, free: 3.043 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.095e-05/0.202, allocations: 16 kB / 0.5761 GB, free: 3.027 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003531/0.2023, allocations: 199.4 kB / 0.5763 GB, free: 2.82 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.2024, allocations: 0 / 0.5763 GB, free: 2.82 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.687e-05/0.2024, allocations: 12 kB / 0.5763 GB, free: 2.809 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.2024, allocations: 4 kB / 0.5763 GB, free: 2.805 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009487/0.2034, allocations: 0.7411 MB / 0.5771 GB, free: 2.062 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00081/0.2042, allocations: 0.5627 MB / 0.5776 GB, free: 1.449 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005099/0.2047, allocations: 291.6 kB / 0.5779 GB, free: 1.156 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000168/0.2049, allocations: 113.4 kB / 0.578 GB, free: 1.043 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.191e-05/0.2049, allocations: 24.25 kB / 0.578 GB, free: 1.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003815/0.2053, allocations: 175.4 kB / 0.5782 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of pre-optimization done (n=35): time 1.694e-06/0.2053, allocations: 4 kB / 0.5782 GB, free: 0.832 MB / 446.1 MB Notification: Performance of matching and sorting (n=35): time 0.000695/0.206, allocations: 365 kB / 0.5785 GB, free: 480 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.317e-05/0.2061, allocations: 85.05 kB / 0.5786 GB, free: 376 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002949/0.2064, allocations: 301 kB / 0.5789 GB, free: 64 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.065e-05/0.2065, allocations: 37.69 kB / 0.579 GB, free: 20 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.2066, allocations: 120.7 kB / 0.5791 GB, free: 15.89 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/0.2067, allocations: 110.3 kB / 0.5792 GB, free: 15.79 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.2068, allocations: 61.69 kB / 0.5792 GB, free: 15.72 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.207, allocations: 342.8 kB / 0.5796 GB, free: 15.38 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/0.2071, allocations: 79.95 kB / 0.5796 GB, free: 15.3 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001726/0.2073, allocations: 122.5 kB / 0.5798 GB, free: 15.17 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003474/0.2077, allocations: 230.5 kB / 0.58 GB, free: 14.94 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.2077, allocations: 0 / 0.58 GB, free: 14.94 MB / 462.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004835/0.2082, allocations: 315.1 kB / 0.5803 GB, free: 14.62 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.851e-05/0.2082, allocations: 33.64 kB / 0.5803 GB, free: 14.58 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.2082, allocations: 0 / 0.5803 GB, free: 14.58 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.286e-05/0.2083, allocations: 8.016 kB / 0.5803 GB, free: 14.57 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002395/0.2085, allocations: 59.91 kB / 0.5804 GB, free: 14.51 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.2085, allocations: 7.938 kB / 0.5804 GB, free: 14.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.722e-05/0.2086, allocations: 19.84 kB / 0.5804 GB, free: 14.48 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.864e-05/0.2087, allocations: 12 kB / 0.5804 GB, free: 14.47 MB / 462.1 MB 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 (36): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * 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.0001589/0.2088, allocations: 157.8 kB / 0.5806 GB, free: 14.31 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.25e-05/0.2089, allocations: 31.56 kB / 0.5806 GB, free: 14.28 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005695/0.2095, allocations: 328.5 kB / 0.5809 GB, free: 13.95 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.2095, allocations: 4 kB / 0.5809 GB, free: 13.95 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.2095, allocations: 3.984 kB / 0.5809 GB, free: 13.94 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.2095, allocations: 0 / 0.5809 GB, free: 13.94 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000349/0.2099, allocations: 333.3 kB / 0.5812 GB, free: 13.57 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.2099, allocations: 0 / 0.5812 GB, free: 13.57 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001867/0.2101, allocations: 63.91 kB / 0.5813 GB, free: 13.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.2101, allocations: 7.938 kB / 0.5813 GB, free: 13.5 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.275e-05/0.2101, allocations: 8 kB / 0.5813 GB, free: 13.49 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.2101, allocations: 4 kB / 0.5813 GB, free: 13.48 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.2101, allocations: 0 / 0.5813 GB, free: 13.48 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005116/0.2106, allocations: 336.1 kB / 0.5816 GB, free: 13.14 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001545/0.2108, allocations: 152.6 kB / 0.5818 GB, free: 12.97 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.427e-05/0.2108, allocations: 8 kB / 0.5818 GB, free: 12.96 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.384e-05/0.2109, allocations: 15.98 kB / 0.5818 GB, free: 12.95 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.42e-05/0.211, allocations: 23.97 kB / 0.5818 GB, free: 12.92 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.317e-05/0.211, allocations: 16 kB / 0.5818 GB, free: 12.91 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002183/0.2113, allocations: 228.4 kB / 0.5821 GB, free: 12.69 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2113, allocations: 0 / 0.5821 GB, free: 12.69 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003595/0.2116, allocations: 71.98 kB / 0.5821 GB, free: 12.62 MB / 462.1 MB 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.001104/0.2127, allocations: 424.2 kB / 0.5825 GB, free: 12.34 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004885/0.2132, allocations: 283 kB / 0.5828 GB, free: 12.05 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.2133, allocations: 4 kB / 0.5828 GB, free: 12.05 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002068/0.2135, allocations: 131.8 kB / 0.5829 GB, free: 11.92 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/0.2138, allocations: 34.53 kB / 0.583 GB, free: 11.89 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009598/0.2147, allocations: 0.5135 MB / 0.5835 GB, free: 11.35 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003912/0.2151, allocations: 0.7689 MB / 0.5842 GB, free: 10.55 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003563/0.2155, allocations: 146.8 kB / 0.5843 GB, free: 10.41 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.96e-05/0.2156, allocations: 43.42 kB / 0.5844 GB, free: 10.37 MB / 462.1 MB Notification: Performance of SimCode: time 2.11e-07/0.2156, allocations: 0 / 0.5844 GB, free: 10.37 MB / 462.1 MB Notification: Performance of Templates: time 0.008102/0.2237, allocations: 2.986 MB / 0.5873 GB, free: 7.391 MB / 462.1 MB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.sim & ./Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.pipe 2>&1)