Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.52/2.52, allocations: 251.3 MB / 266.2 MB, free: 11.53 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.002067/0.002067, allocations: 181 kB / 325.8 MB, free: 2.797 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.623/2.623, allocations: 205.4 MB / 0.5767 GB, free: 20.76 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.0009058/0.0009055, allocations: 92.05 kB / 0.6812 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004727/0.0004729, allocations: 13.28 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2229, allocations: 106.3 MB / 0.899 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.005382/0.2283, allocations: 3.631 MB / 0.9026 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2081/0.4365, allocations: 136.5 MB / 1.036 GB, free: 4.926 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007873/0.4373, allocations: 15.94 kB / 1.036 GB, free: 4.91 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006369/0.438, allocations: 123 kB / 1.036 GB, free: 4.789 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.001783/0.4398, allocations: 364.9 kB / 1.036 GB, free: 4.434 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002788/0.4426, allocations: 0.6075 MB / 1.037 GB, free: 3.832 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002148/0.4447, allocations: 1.082 MB / 1.038 GB, free: 2.742 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001364/0.4461, allocations: 0.5689 MB / 1.039 GB, free: 2.156 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008005/0.447, allocations: 302.6 kB / 1.039 GB, free: 1.859 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006174/0.4476, allocations: 330.2 kB / 1.039 GB, free: 1.535 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001143/0.4477, allocations: 24 kB / 1.039 GB, free: 1.512 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009501/0.4487, allocations: 271.7 kB / 1.039 GB, free: 1.246 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002616/0.449, allocations: 167.3 kB / 1.04 GB, free: 1.082 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002827/0.4493, allocations: 181.1 kB / 1.04 GB, free: 0.8984 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001845/0.4511, allocations: 1.033 MB / 1.041 GB, free: 15.86 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.4512, allocations: 0 / 1.041 GB, free: 15.86 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.314e-06/0.4512, allocations: 0 / 1.041 GB, free: 15.86 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.225e-05/0.4512, allocations: 0 / 1.041 GB, free: 15.86 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.003614/0.4549, allocations: 1.151 MB / 1.042 GB, free: 14.66 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.4549, allocations: 8.031 kB / 1.042 GB, free: 14.66 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001555/0.4565, allocations: 187.4 kB / 1.042 GB, free: 14.47 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001838/0.4584, allocations: 0.6844 MB / 1.043 GB, free: 13.74 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002376/0.4586, allocations: 95.69 kB / 1.043 GB, free: 13.64 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001841/0.4588, allocations: 72 kB / 1.043 GB, free: 13.57 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002685/0.4615, allocations: 0.8871 MB / 1.044 GB, free: 12.64 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.409e-05/0.4616, allocations: 0 / 1.044 GB, free: 12.64 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001725/0.4618, allocations: 36 kB / 1.044 GB, free: 12.61 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.674e-05/0.4618, allocations: 20 kB / 1.044 GB, free: 12.59 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003404/0.4652, allocations: 1.1 MB / 1.045 GB, free: 11.49 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006857/0.4721, allocations: 2.433 MB / 1.047 GB, free: 8.98 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003732/0.4759, allocations: 0.8767 MB / 1.048 GB, free: 8.078 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001145/0.4771, allocations: 306.6 kB / 1.048 GB, free: 7.773 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001365/0.4773, allocations: 36.67 kB / 1.048 GB, free: 7.738 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001502/0.4788, allocations: 451.2 kB / 1.049 GB, free: 7.277 MB / 0.698 GB Notification: Performance of pre-optimization done (n=76): time 3.376e-06/0.4788, allocations: 0 / 1.049 GB, free: 7.277 MB / 0.698 GB Notification: Performance of matching and sorting (n=76): time 0.005701/0.4845, allocations: 1.158 MB / 1.05 GB, free: 6.094 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001326/0.4847, allocations: 192.6 kB / 1.05 GB, free: 5.863 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001225/0.486, allocations: 0.5782 MB / 1.051 GB, free: 5.281 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001797/0.4862, allocations: 45.69 kB / 1.051 GB, free: 5.23 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004324/0.4866, allocations: 368.4 kB / 1.051 GB, free: 4.863 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003341/0.487, allocations: 248.3 kB / 1.051 GB, free: 4.617 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.872e-05/0.487, allocations: 16 kB / 1.051 GB, free: 4.602 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002318/0.4873, allocations: 378.8 kB / 1.052 GB, free: 4.223 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001065/0.4884, allocations: 253.9 kB / 1.052 GB, free: 3.977 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001188/0.4896, allocations: 351.1 kB / 1.052 GB, free: 3.621 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/0.4907, allocations: 298.8 kB / 1.053 GB, free: 3.328 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.4908, allocations: 4 kB / 1.053 GB, free: 3.324 MB / 0.698 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.003636/0.4944, allocations: 0.8215 MB / 1.053 GB, free: 2.492 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.043e-05/0.4945, allocations: 8 kB / 1.053 GB, free: 2.484 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.4945, allocations: 0 / 1.053 GB, free: 2.484 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009978/0.4955, allocations: 84.86 kB / 1.054 GB, free: 2.398 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001442/0.497, allocations: 167.7 kB / 1.054 GB, free: 2.234 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003065/0.5001, allocations: 1.521 MB / 1.055 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/0.5015, allocations: 97.45 kB / 1.055 GB, free: 488 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/0.5016, allocations: 31.97 kB / 1.055 GB, free: 456 kB / 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 (87): * Single equations (assignments): 86 * 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.000681/0.5023, allocations: 257.7 kB / 1.056 GB, free: 188 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002131/0.5025, allocations: 71.16 kB / 1.056 GB, free: 116 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6381/1.141, allocations: 1.096 MB / 1.057 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.467e-05/1.141, allocations: 11.19 kB / 1.057 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/1.141, allocations: 0 / 1.057 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.386e-05/1.141, allocations: 3.281 kB / 1.057 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005229/1.146, allocations: 1.942 MB / 1.059 GB, free: 155.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.225e-06/1.146, allocations: 1.312 kB / 1.059 GB, free: 155.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00133/1.147, allocations: 164.5 kB / 1.059 GB, free: 155.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008615/1.148, allocations: 84.09 kB / 1.059 GB, free: 155.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001016/1.148, allocations: 26 kB / 1.059 GB, free: 155.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002436/1.151, allocations: 1.541 MB / 1.06 GB, free: 154.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/1.151, allocations: 4.656 kB / 1.06 GB, free: 154.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003404/1.154, allocations: 0.9767 MB / 1.061 GB, free: 154.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005564/1.155, allocations: 289.1 kB / 1.062 GB, free: 154.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001741/1.155, allocations: 17.17 kB / 1.062 GB, free: 154.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001148/1.156, allocations: 75.33 kB / 1.062 GB, free: 154.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000203/1.156, allocations: 62.11 kB / 1.062 GB, free: 154.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001012/1.157, allocations: 38.48 kB / 1.062 GB, free: 154.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007606/1.157, allocations: 424.4 kB / 1.062 GB, free: 154.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.81e-07/1.157, allocations: 0 / 1.062 GB, free: 154.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001133/1.158, allocations: 278.1 kB / 1.062 GB, free: 154.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.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 90 * 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.001651/1.16, allocations: 0.5656 MB / 1.063 GB, free: 154 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002967/1.163, allocations: 0.8077 MB / 1.064 GB, free: 153.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.022e-06/1.163, allocations: 0 / 1.064 GB, free: 153.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001629/1.165, allocations: 0.5131 MB / 1.064 GB, free: 153.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002117/1.167, allocations: 261.3 kB / 1.065 GB, free: 153.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006613/1.174, allocations: 2.128 MB / 1.067 GB, free: 152.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008275/1.174, allocations: 1.014 MB / 1.068 GB, free: 152.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001538/1.176, allocations: 262 kB / 1.068 GB, free: 152 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004604/1.176, allocations: 104 kB / 1.068 GB, free: 152 MB / 0.698 GB Notification: Performance of SimCode: time 1.123e-06/1.176, allocations: 0 / 1.068 GB, free: 152 MB / 0.698 GB Notification: Performance of Templates: time 0.03651/1.213, allocations: 12.8 MB / 1.08 GB, free: 147.6 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile (rm -f Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & ./Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)