Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.481/2.481, allocations: 251.3 MB / 266.2 MB, free: 11.5 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.001464/0.001463, allocations: 182.3 kB / 325.8 MB, free: 2.762 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.464/2.464, allocations: 205.4 MB / 0.5767 GB, free: 20.73 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.0009329/0.0009328, allocations: 86.75 kB / 0.6812 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004733/0.0004735, allocations: 12.88 kB / 0.7953 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2066, allocations: 106.3 MB / 0.899 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.005843/0.2125, allocations: 3.584 MB / 0.9025 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2462/0.4588, allocations: 136.5 MB / 1.036 GB, free: 4.922 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007754/0.4597, allocations: 15.88 kB / 1.036 GB, free: 4.906 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005829/0.4603, allocations: 131 kB / 1.036 GB, free: 4.777 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.001652/0.4619, allocations: 345.1 kB / 1.036 GB, free: 4.441 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002458/0.4644, allocations: 0.6048 MB / 1.037 GB, free: 3.844 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001773/0.4662, allocations: 1.043 MB / 1.038 GB, free: 2.793 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001269/0.4675, allocations: 0.6234 MB / 1.038 GB, free: 2.16 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006432/0.4682, allocations: 298.6 kB / 1.039 GB, free: 1.867 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005841/0.4688, allocations: 322.2 kB / 1.039 GB, free: 1.551 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001065/0.4689, allocations: 24 kB / 1.039 GB, free: 1.527 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000903/0.4698, allocations: 271.7 kB / 1.039 GB, free: 1.262 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002415/0.47, allocations: 163.2 kB / 1.04 GB, free: 1.102 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002325/0.4703, allocations: 181.2 kB / 1.04 GB, free: 0.918 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001741/0.472, allocations: 1.08 MB / 1.041 GB, free: 15.84 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.4721, allocations: 4 kB / 1.041 GB, free: 15.83 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.934e-06/0.4721, allocations: 0 / 1.041 GB, free: 15.83 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.862e-05/0.4721, allocations: 0 / 1.041 GB, free: 15.83 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.003091/0.4752, allocations: 1.147 MB / 1.042 GB, free: 14.63 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.4753, allocations: 12.03 kB / 1.042 GB, free: 14.62 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002496/0.4778, allocations: 267.3 kB / 1.042 GB, free: 14.36 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001935/0.4798, allocations: 0.7037 MB / 1.043 GB, free: 13.61 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.455e-05/0.4799, allocations: 66 kB / 1.043 GB, free: 13.55 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001931/0.4801, allocations: 84 kB / 1.043 GB, free: 13.46 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002888/0.483, allocations: 0.9691 MB / 1.044 GB, free: 12.46 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.006e-05/0.4831, allocations: 0 / 1.044 GB, free: 12.46 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001513/0.4832, allocations: 39.94 kB / 1.044 GB, free: 12.42 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.24e-05/0.4833, allocations: 24 kB / 1.044 GB, free: 12.39 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003707/0.487, allocations: 1.175 MB / 1.045 GB, free: 11.21 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01053/0.4975, allocations: 2.587 MB / 1.048 GB, free: 8.562 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00682/0.5044, allocations: 0.8743 MB / 1.049 GB, free: 7.68 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001909/0.5064, allocations: 314.7 kB / 1.049 GB, free: 7.367 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001849/0.5066, allocations: 32.67 kB / 1.049 GB, free: 7.336 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00242/0.5091, allocations: 479.1 kB / 1.049 GB, free: 6.848 MB / 0.698 GB Notification: Performance of pre-optimization done (n=74): time 1.134e-05/0.5091, allocations: 0 / 1.049 GB, free: 6.848 MB / 0.698 GB Notification: Performance of matching and sorting (n=74): time 0.009126/0.5183, allocations: 1.194 MB / 1.05 GB, free: 5.629 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001814/0.5185, allocations: 192.6 kB / 1.051 GB, free: 5.398 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001762/0.5203, allocations: 0.5743 MB / 1.051 GB, free: 4.816 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002383/0.5206, allocations: 41.7 kB / 1.051 GB, free: 4.77 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000619/0.5212, allocations: 396.2 kB / 1.052 GB, free: 4.375 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004592/0.5217, allocations: 244.5 kB / 1.052 GB, free: 4.133 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.5218, allocations: 20 kB / 1.052 GB, free: 4.113 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002646/0.5221, allocations: 378.7 kB / 1.052 GB, free: 3.734 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001822/0.5239, allocations: 277.8 kB / 1.053 GB, free: 3.461 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002007/0.526, allocations: 371.1 kB / 1.053 GB, free: 3.086 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001982/0.528, allocations: 310.9 kB / 1.053 GB, free: 2.785 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/0.528, allocations: 3.938 kB / 1.053 GB, free: 2.781 MB / 0.698 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.005715/0.5338, allocations: 0.8605 MB / 1.054 GB, free: 1.906 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.284e-05/0.5338, allocations: 4 kB / 1.054 GB, free: 1.902 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.5339, allocations: 4.094 kB / 1.054 GB, free: 1.898 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001435/0.5353, allocations: 80.77 kB / 1.054 GB, free: 1.816 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002134/0.5375, allocations: 171.8 kB / 1.054 GB, free: 1.648 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.585/1.122, allocations: 1.519 MB / 1.056 GB, free: 155.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001506/1.124, allocations: 95.86 kB / 1.056 GB, free: 155.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001175/1.124, allocations: 35.55 kB / 1.056 GB, free: 155.3 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 (85): * Single equations (assignments): 84 * 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.0006662/1.125, allocations: 263 kB / 1.056 GB, free: 155.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002103/1.125, allocations: 73.91 kB / 1.056 GB, free: 155.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004421/1.129, allocations: 1.095 MB / 1.057 GB, free: 155.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.539e-05/1.13, allocations: 7.562 kB / 1.057 GB, free: 155.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/1.13, allocations: 2.406 kB / 1.057 GB, free: 155.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.533e-05/1.13, allocations: 3.281 kB / 1.057 GB, free: 155.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001554/1.131, allocations: 0.8726 MB / 1.058 GB, free: 154.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.738e-06/1.131, allocations: 0.5625 kB / 1.058 GB, free: 154.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00139/1.133, allocations: 164 kB / 1.058 GB, free: 154.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008924/1.134, allocations: 89.14 kB / 1.058 GB, free: 154.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001224/1.134, allocations: 24.03 kB / 1.058 GB, free: 154.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002513/1.136, allocations: 1.548 MB / 1.06 GB, free: 153.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/1.136, allocations: 0 / 1.06 GB, free: 153.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003731/1.14, allocations: 0.9157 MB / 1.061 GB, free: 153.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006834/1.141, allocations: 272 kB / 1.061 GB, free: 153.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000207/1.141, allocations: 23.09 kB / 1.061 GB, free: 153.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001192/1.142, allocations: 77.95 kB / 1.061 GB, free: 153.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002211/1.142, allocations: 59.86 kB / 1.061 GB, free: 153.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001049/1.143, allocations: 33.06 kB / 1.061 GB, free: 153.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008262/1.143, allocations: 416.9 kB / 1.062 GB, free: 153.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.41e-07/1.143, allocations: 1.312 kB / 1.062 GB, free: 153.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001198/1.145, allocations: 286 kB / 1.062 GB, free: 153.2 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 (86): * Single equations (assignments): 83 * 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.001639/1.146, allocations: 0.5669 MB / 1.062 GB, free: 153 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003059/1.149, allocations: 0.8394 MB / 1.063 GB, free: 152.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/1.149, allocations: 0 / 1.063 GB, free: 152.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001799/1.151, allocations: 0.526 MB / 1.064 GB, free: 152.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002092/1.153, allocations: 248 kB / 1.064 GB, free: 152.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007132/1.16, allocations: 2.153 MB / 1.066 GB, free: 151.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008522/1.161, allocations: 1.022 MB / 1.067 GB, free: 151.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001742/1.163, allocations: 278.8 kB / 1.067 GB, free: 151 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005455/1.164, allocations: 101.7 kB / 1.067 GB, free: 151 MB / 0.698 GB Notification: Performance of SimCode: time 1.052e-06/1.164, allocations: 0 / 1.067 GB, free: 151 MB / 0.698 GB Notification: Performance of Templates: time 0.03981/1.204, allocations: 12.86 MB / 1.08 GB, free: 146.7 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile (rm -f Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)