Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.656/2.656, allocations: 251.3 MB / 266.2 MB, free: 11.54 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001357/0.001357, allocations: 192.3 kB / 325.8 MB, free: 2.801 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.526/2.526, allocations: 205.4 MB / 0.5767 GB, free: 20.74 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009804/0.0009799, allocations: 89.17 kB / 0.6812 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005219/0.000522, allocations: 12.47 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.2091, allocations: 106.3 MB / 0.899 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005608/0.2148, allocations: 3.613 MB / 0.9026 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.215/0.4298, allocations: 136.5 MB / 1.036 GB, free: 4.91 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000838/0.4307, allocations: 15.94 kB / 1.036 GB, free: 4.895 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006484/0.4314, allocations: 122.9 kB / 1.036 GB, free: 4.773 MB / 0.6823 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105:25:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48:21:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. Notification: Performance of NFTyping.typeBindings: time 0.001974/0.4334, allocations: 353.3 kB / 1.036 GB, free: 4.43 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00289/0.4363, allocations: 0.6153 MB / 1.037 GB, free: 3.82 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002209/0.4385, allocations: 1.043 MB / 1.038 GB, free: 2.77 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001988/0.4405, allocations: 0.6273 MB / 1.039 GB, free: 2.133 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001158/0.4418, allocations: 302.5 kB / 1.039 GB, free: 1.836 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007169/0.4425, allocations: 322.2 kB / 1.039 GB, free: 1.52 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001425/0.4427, allocations: 24 kB / 1.039 GB, free: 1.496 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001054/0.4437, allocations: 287.7 kB / 1.039 GB, free: 1.215 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002659/0.444, allocations: 171.2 kB / 1.04 GB, free: 1.047 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003028/0.4443, allocations: 185.1 kB / 1.04 GB, free: 0.8594 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002277/0.4466, allocations: 1.084 MB / 1.041 GB, free: 15.77 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.014e-06/0.4467, allocations: 0 / 1.041 GB, free: 15.77 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.655e-06/0.4467, allocations: 0 / 1.041 GB, free: 15.77 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.599e-05/0.4467, allocations: 0 / 1.041 GB, free: 15.77 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.003477/0.4502, allocations: 1.154 MB / 1.042 GB, free: 14.57 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/0.4503, allocations: 15.97 kB / 1.042 GB, free: 14.55 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001935/0.4523, allocations: 219.4 kB / 1.042 GB, free: 14.34 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001949/0.4542, allocations: 0.6959 MB / 1.043 GB, free: 13.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.719e-05/0.4544, allocations: 66 kB / 1.043 GB, free: 13.53 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001874/0.4546, allocations: 84 kB / 1.043 GB, free: 13.45 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00288/0.4575, allocations: 0.9223 MB / 1.044 GB, free: 12.49 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.642e-05/0.4576, allocations: 3.938 kB / 1.044 GB, free: 12.48 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001564/0.4577, allocations: 44 kB / 1.044 GB, free: 12.44 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.285e-05/0.4578, allocations: 20 kB / 1.044 GB, free: 12.42 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003554/0.4613, allocations: 1.116 MB / 1.045 GB, free: 11.3 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007573/0.469, allocations: 2.552 MB / 1.048 GB, free: 8.684 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002659/0.4717, allocations: 0.7433 MB / 1.048 GB, free: 7.934 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001049/0.4728, allocations: 286.7 kB / 1.049 GB, free: 7.652 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001061/0.4739, allocations: 478.2 kB / 1.049 GB, free: 7.094 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001451/0.4753, allocations: 443.3 kB / 1.049 GB, free: 6.641 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 3.868e-06/0.4754, allocations: 0 / 1.049 GB, free: 6.641 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.005414/0.4808, allocations: 1.112 MB / 1.051 GB, free: 5.504 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001445/0.481, allocations: 188.6 kB / 1.051 GB, free: 5.273 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001216/0.4822, allocations: 0.5862 MB / 1.051 GB, free: 4.68 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001816/0.4824, allocations: 41.7 kB / 1.051 GB, free: 4.633 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004621/0.4829, allocations: 396.1 kB / 1.052 GB, free: 4.238 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003565/0.4833, allocations: 244.5 kB / 1.052 GB, free: 3.996 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.66e-05/0.4833, allocations: 8 kB / 1.052 GB, free: 3.988 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002357/0.4836, allocations: 374.8 kB / 1.052 GB, free: 3.613 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001008/0.4846, allocations: 257.8 kB / 1.053 GB, free: 3.359 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001148/0.4858, allocations: 339 kB / 1.053 GB, free: 3.016 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001073/0.4869, allocations: 294.9 kB / 1.053 GB, free: 2.73 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.4869, allocations: 0 / 1.053 GB, free: 2.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003475/0.4904, allocations: 0.8019 MB / 1.054 GB, free: 1.914 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.415e-05/0.4905, allocations: 12.09 kB / 1.054 GB, free: 1.902 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.4905, allocations: 0 / 1.054 GB, free: 1.902 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001005/0.4915, allocations: 80.78 kB / 1.054 GB, free: 1.82 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001578/0.4931, allocations: 155.8 kB / 1.054 GB, free: 1.668 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003245/0.4964, allocations: 1.528 MB / 1.056 GB, free: 0 / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.6385/1.135, allocations: 82.52 kB / 1.056 GB, free: 155.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001652/1.135, allocations: 32.19 kB / 1.056 GB, free: 155.9 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000874/1.136, allocations: 258.2 kB / 1.056 GB, free: 155.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003103/1.136, allocations: 74.53 kB / 1.056 GB, free: 155.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005612/1.142, allocations: 1.028 MB / 1.057 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.257e-05/1.142, allocations: 7.938 kB / 1.057 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/1.142, allocations: 5.25 kB / 1.057 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.947e-05/1.142, allocations: 3.188 kB / 1.057 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001638/1.144, allocations: 0.8593 MB / 1.058 GB, free: 155.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.104e-06/1.144, allocations: 0 / 1.058 GB, free: 155.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00125/1.145, allocations: 145 kB / 1.058 GB, free: 155.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008739/1.146, allocations: 90.08 kB / 1.058 GB, free: 155.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.934e-05/1.146, allocations: 22.14 kB / 1.058 GB, free: 155.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002419/1.149, allocations: 1.554 MB / 1.06 GB, free: 154.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/1.149, allocations: 4.531 kB / 1.06 GB, free: 154.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003184/1.152, allocations: 0.8531 MB / 1.061 GB, free: 154.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000628/1.152, allocations: 276.8 kB / 1.061 GB, free: 153.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001761/1.153, allocations: 15.33 kB / 1.061 GB, free: 153.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001086/1.154, allocations: 70.16 kB / 1.061 GB, free: 153.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002143/1.154, allocations: 64.12 kB / 1.061 GB, free: 153.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.807e-05/1.154, allocations: 29.72 kB / 1.061 GB, free: 153.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00101/1.155, allocations: 426.5 kB / 1.061 GB, free: 153.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.21e-07/1.155, allocations: 0 / 1.061 GB, free: 153.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001649/1.157, allocations: 293.3 kB / 1.062 GB, free: 153.8 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002261/1.159, allocations: 0.5729 MB / 1.062 GB, free: 153.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003591/1.163, allocations: 0.7782 MB / 1.063 GB, free: 153.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/1.163, allocations: 2.844 kB / 1.063 GB, free: 153.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002232/1.165, allocations: 0.4905 MB / 1.064 GB, free: 153.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00287/1.168, allocations: 252.1 kB / 1.064 GB, free: 153.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008791/1.177, allocations: 2.122 MB / 1.066 GB, free: 152.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001117/1.184, allocations: 1.024 MB / 1.067 GB, free: 151.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002213/1.187, allocations: 261 kB / 1.067 GB, free: 151.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006274/1.187, allocations: 94.8 kB / 1.067 GB, free: 151.6 MB / 0.698 GB Notification: Performance of SimCode: time 1.383e-06/1.187, allocations: 0 / 1.067 GB, free: 151.6 MB / 0.698 GB Notification: Performance of Templates: time 0.07453/1.262, allocations: 12.95 MB / 1.08 GB, free: 147.2 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile (rm -f Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)