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.005504/0.005504, allocations: 101.2 kB / 15.73 MB, free: 6.043 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.001117/0.001117, allocations: 183.8 kB / 16.67 MB, free: 5.977 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.563/1.563, allocations: 205.1 MB / 222.5 MB, free: 4.52 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.6328/0.6328, allocations: 95.48 MB / 365.4 MB, free: 9.797 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.001446/0.001446, allocations: 67.91 kB / 0.5036 GB, free: 13.48 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.1662, allocations: 69.09 MB / 0.5711 GB, free: 8.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover): time 0.003508/0.1697, allocations: 1.598 MB / 0.5727 GB, free: 6.711 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002369/0.1721, allocations: 1.345 MB / 0.574 GB, free: 5.359 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001186/0.1723, allocations: 4 kB / 0.574 GB, free: 5.355 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000264/0.1726, 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.0003098/0.1729, allocations: 47.77 kB / 0.574 GB, free: 5.285 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005966/0.1735, allocations: 171.4 kB / 0.5742 GB, free: 5.117 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003645/0.1739, allocations: 217.7 kB / 0.5744 GB, free: 4.902 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.174, allocations: 20 kB / 0.5744 GB, free: 4.883 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001855/0.1742, allocations: 79.75 kB / 0.5745 GB, free: 4.805 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002355/0.1745, allocations: 83.72 kB / 0.5746 GB, free: 4.723 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.239e-05/0.1745, allocations: 16 kB / 0.5746 GB, free: 4.707 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004277/0.175, allocations: 183.8 kB / 0.5748 GB, free: 4.527 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000126/0.1751, allocations: 71.83 kB / 0.5748 GB, free: 4.457 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001279/0.1752, allocations: 115.3 kB / 0.575 GB, free: 4.344 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006865/0.1759, allocations: 327 kB / 0.5753 GB, free: 4.023 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.1759, allocations: 0 / 0.5753 GB, free: 4.023 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.1759, allocations: 3.938 kB / 0.5753 GB, free: 4.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.817e-05/0.176, allocations: 0 / 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.001157/0.1771, allocations: 0.5703 MB / 0.5758 GB, free: 3.395 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.1772, allocations: 11.98 kB / 0.5758 GB, free: 3.383 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001328/0.1773, allocations: 28.64 kB / 0.5759 GB, free: 3.355 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003755/0.1777, allocations: 267.8 kB / 0.5761 GB, free: 3.051 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.654e-05/0.1778, allocations: 12 kB / 0.5761 GB, free: 3.039 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.101e-05/0.1778, allocations: 16 kB / 0.5761 GB, free: 3.023 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004026/0.1782, allocations: 199.4 kB / 0.5763 GB, free: 2.816 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.1782, allocations: 0 / 0.5763 GB, free: 2.816 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.425e-05/0.1783, allocations: 8 kB / 0.5763 GB, free: 2.809 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.096e-06/0.1783, allocations: 4 kB / 0.5763 GB, free: 2.805 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008722/0.1791, allocations: 0.7334 MB / 0.5771 GB, free: 2.07 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008557/0.18, allocations: 0.5666 MB / 0.5776 GB, free: 1.453 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000457/0.1805, allocations: 295.6 kB / 0.5779 GB, free: 1.156 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001527/0.1806, allocations: 105.4 kB / 0.578 GB, free: 1.051 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.862e-05/0.1807, allocations: 24.25 kB / 0.578 GB, free: 1.027 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003467/0.181, allocations: 171.4 kB / 0.5782 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of pre-optimization done (n=35): time 1.573e-06/0.1811, allocations: 0 / 0.5782 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of matching and sorting (n=35): time 0.000675/0.1817, allocations: 372.9 kB / 0.5785 GB, free: 488 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.184e-05/0.1818, allocations: 81.11 kB / 0.5786 GB, free: 388 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003077/0.1821, allocations: 301 kB / 0.5789 GB, free: 76 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.338e-05/0.1822, allocations: 37.7 kB / 0.5789 GB, free: 32 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.1823, allocations: 124.7 kB / 0.5791 GB, free: 15.9 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.528e-05/0.1824, allocations: 110.3 kB / 0.5792 GB, free: 15.79 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.656e-05/0.1825, allocations: 65.7 kB / 0.5792 GB, free: 15.72 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.1826, allocations: 338.8 kB / 0.5796 GB, free: 15.38 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/0.1828, allocations: 75.95 kB / 0.5796 GB, free: 15.31 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001675/0.183, allocations: 122.6 kB / 0.5797 GB, free: 15.18 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003248/0.1833, allocations: 230.4 kB / 0.58 GB, free: 14.95 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1833, allocations: 0 / 0.58 GB, free: 14.95 MB / 462.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004559/0.1838, allocations: 323.1 kB / 0.5803 GB, free: 14.62 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.434e-05/0.1838, allocations: 33.64 kB / 0.5803 GB, free: 14.58 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.1838, allocations: 4.031 kB / 0.5803 GB, free: 14.58 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.1839, allocations: 4 kB / 0.5803 GB, free: 14.57 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00023/0.1841, allocations: 59.91 kB / 0.5804 GB, free: 14.52 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.1841, allocations: 0 / 0.5804 GB, free: 14.52 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.1842, allocations: 15.84 kB / 0.5804 GB, free: 14.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.747e-05/0.1843, allocations: 19.98 kB / 0.5804 GB, free: 14.48 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.000138/0.1844, allocations: 157.8 kB / 0.5805 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.558e-05/0.1845, allocations: 31.56 kB / 0.5806 GB, free: 14.29 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005425/0.185, allocations: 328.6 kB / 0.5809 GB, free: 13.96 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.185, allocations: 7.938 kB / 0.5809 GB, free: 13.95 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.1851, allocations: 0 / 0.5809 GB, free: 13.95 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.1851, allocations: 7.984 kB / 0.5809 GB, free: 13.94 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000328/0.1854, allocations: 321.3 kB / 0.5812 GB, free: 13.58 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.1854, allocations: 4 kB / 0.5812 GB, free: 13.57 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001866/0.1856, allocations: 67.91 kB / 0.5813 GB, free: 13.51 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.1856, allocations: 3.938 kB / 0.5813 GB, free: 13.5 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.394e-05/0.1856, allocations: 15.98 kB / 0.5813 GB, free: 13.49 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.1857, allocations: 0 / 0.5813 GB, free: 13.49 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.1857, allocations: 0 / 0.5813 GB, free: 13.49 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000479/0.1861, allocations: 336.1 kB / 0.5816 GB, free: 13.14 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001294/0.1863, allocations: 152.6 kB / 0.5818 GB, free: 12.97 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.569e-05/0.1863, allocations: 4 kB / 0.5818 GB, free: 12.97 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.326e-05/0.1864, allocations: 12 kB / 0.5818 GB, free: 12.96 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.282e-05/0.1865, allocations: 23.97 kB / 0.5818 GB, free: 12.93 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.2e-05/0.1865, allocations: 15.98 kB / 0.5818 GB, free: 12.92 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001936/0.1867, allocations: 228.5 kB / 0.582 GB, free: 12.7 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1867, allocations: 0 / 0.582 GB, free: 12.7 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003398/0.1871, allocations: 71.98 kB / 0.5821 GB, free: 12.63 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.0009972/0.1881, allocations: 424.9 kB / 0.5825 GB, free: 12.35 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004226/0.1885, allocations: 283 kB / 0.5828 GB, free: 12.06 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1885, allocations: 4 kB / 0.5828 GB, free: 12.06 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001975/0.1887, allocations: 131.8 kB / 0.5829 GB, free: 11.93 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002681/0.189, allocations: 36.69 kB / 0.5829 GB, free: 11.89 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008432/0.1898, allocations: 0.5174 MB / 0.5835 GB, free: 11.35 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003453/0.1902, allocations: 0.765 MB / 0.5842 GB, free: 10.56 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002955/0.1905, allocations: 142.9 kB / 0.5843 GB, free: 10.42 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.305e-05/0.1906, allocations: 51.41 kB / 0.5844 GB, free: 10.37 MB / 462.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1906, allocations: 0 / 0.5844 GB, free: 10.37 MB / 462.1 MB Notification: Performance of Templates: time 0.007153/0.1978, allocations: 3.016 MB / 0.5873 GB, free: 7.367 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)