Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.462/2.462, allocations: 251.1 MB / 266.7 MB, free: 11.65 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001301/0.001301, allocations: 172.7 kB / 326.3 MB, free: 2.867 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.395/2.395, allocations: 205.4 MB / 0.5772 GB, free: 20.85 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000867/0.0008668, allocations: 90.44 kB / 0.6817 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004886/0.0004887, allocations: 11.88 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2117, allocations: 106.3 MB / 0.8995 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.005491/0.2173, allocations: 3.639 MB / 0.9031 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2096/0.427, allocations: 136.5 MB / 1.036 GB, free: 4.973 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008903/0.4279, allocations: 11.94 kB / 1.036 GB, free: 4.961 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006395/0.4286, allocations: 127 kB / 1.036 GB, free: 4.836 MB / 0.6823 GB [/home/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‘. [/home/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‘. [/home/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‘. [/home/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.002032/0.4306, allocations: 353.8 kB / 1.037 GB, free: 4.492 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002855/0.4335, allocations: 0.6209 MB / 1.037 GB, free: 3.879 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.00256/0.4361, allocations: 1.074 MB / 1.038 GB, free: 2.797 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001537/0.4377, allocations: 0.5689 MB / 1.039 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008704/0.4386, allocations: 306.6 kB / 1.039 GB, free: 1.91 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006644/0.4393, allocations: 334.2 kB / 1.04 GB, free: 1.582 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001189/0.4394, allocations: 20 kB / 1.04 GB, free: 1.562 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009594/0.4404, allocations: 263.8 kB / 1.04 GB, free: 1.305 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002776/0.4407, allocations: 167.3 kB / 1.04 GB, free: 1.141 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002906/0.441, allocations: 185.1 kB / 1.04 GB, free: 0.9531 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001934/0.443, allocations: 1.029 MB / 1.041 GB, free: 15.92 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 9.167e-06/0.443, allocations: 8 kB / 1.041 GB, free: 15.91 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.595e-06/0.443, allocations: 0 / 1.041 GB, free: 15.91 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.425e-05/0.4431, allocations: 0 / 1.041 GB, free: 15.91 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.003944/0.447, allocations: 1.143 MB / 1.042 GB, free: 14.72 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.066e-05/0.4471, allocations: 8.031 kB / 1.042 GB, free: 14.71 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001711/0.4488, allocations: 191.4 kB / 1.043 GB, free: 14.53 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001917/0.4508, allocations: 0.6844 MB / 1.043 GB, free: 13.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002417/0.4511, allocations: 95.69 kB / 1.043 GB, free: 13.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001842/0.4513, allocations: 76 kB / 1.043 GB, free: 13.62 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002623/0.4539, allocations: 0.8832 MB / 1.044 GB, free: 12.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.032e-05/0.454, allocations: 0 / 1.044 GB, free: 12.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001351/0.4541, allocations: 36 kB / 1.044 GB, free: 12.66 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.54e-05/0.4542, allocations: 16 kB / 1.044 GB, free: 12.65 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003356/0.4575, allocations: 1.1 MB / 1.045 GB, free: 11.55 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006779/0.4644, allocations: 2.439 MB / 1.048 GB, free: 9.035 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003665/0.4681, allocations: 0.8884 MB / 1.049 GB, free: 8.121 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001108/0.4692, allocations: 302.6 kB / 1.049 GB, free: 7.82 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001369/0.4694, allocations: 44.59 kB / 1.049 GB, free: 7.777 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001443/0.4709, allocations: 447.2 kB / 1.049 GB, free: 7.32 MB / 0.698 GB Notification: Performance of pre-optimization done (n=76): time 4.288e-06/0.4709, allocations: 0 / 1.049 GB, free: 7.32 MB / 0.698 GB Notification: Performance of matching and sorting (n=76): time 0.005606/0.4765, allocations: 1.151 MB / 1.051 GB, free: 6.145 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001582/0.4767, allocations: 192.6 kB / 1.051 GB, free: 5.914 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/0.4779, allocations: 0.5821 MB / 1.051 GB, free: 5.328 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001437/0.478, allocations: 41.7 kB / 1.051 GB, free: 5.281 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004254/0.4785, allocations: 372.4 kB / 1.052 GB, free: 4.91 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003209/0.4788, allocations: 248.3 kB / 1.052 GB, free: 4.664 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.836e-05/0.4789, allocations: 16 kB / 1.052 GB, free: 4.648 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002252/0.4791, allocations: 378.8 kB / 1.052 GB, free: 4.27 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001053/0.4802, allocations: 257.9 kB / 1.053 GB, free: 4.02 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00118/0.4814, allocations: 347.1 kB / 1.053 GB, free: 3.668 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001149/0.4825, allocations: 302.8 kB / 1.053 GB, free: 3.371 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.239e-06/0.4826, allocations: 0 / 1.053 GB, free: 3.371 MB / 0.698 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.003555/0.4861, allocations: 0.8292 MB / 1.054 GB, free: 2.531 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/0.4862, allocations: 4 kB / 1.054 GB, free: 2.527 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.4862, allocations: 0 / 1.054 GB, free: 2.527 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009793/0.4872, allocations: 80.88 kB / 1.054 GB, free: 2.445 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001377/0.4886, allocations: 163.7 kB / 1.054 GB, free: 2.285 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00308/0.4917, allocations: 1.522 MB / 1.056 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001359/0.4931, allocations: 96.52 kB / 1.056 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001175/0.4932, allocations: 35.97 kB / 1.056 GB, free: 0.4922 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 (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.0006512/0.4939, allocations: 254.5 kB / 1.056 GB, free: 240 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002016/0.4941, allocations: 71.16 kB / 1.056 GB, free: 168 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5993/1.093, allocations: 1.097 MB / 1.057 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.837e-05/1.093, allocations: 6.203 kB / 1.057 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/1.093, allocations: 0.875 kB / 1.057 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006436/1.094, allocations: 273.7 kB / 1.057 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001764/1.094, allocations: 21.75 kB / 1.057 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001087/1.095, allocations: 67.02 kB / 1.058 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002098/1.096, allocations: 67.36 kB / 1.058 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00359/1.099, allocations: 0.9572 MB / 1.059 GB, free: 156.1 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003895/1.103, allocations: 1.376 MB / 1.06 GB, free: 155.8 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001064/1.104, allocations: 350.7 kB / 1.06 GB, free: 155.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008578/1.105, allocations: 428.4 kB / 1.061 GB, free: 155.7 MB / 0.698 GB Notification: Performance of Backend: time 7.81e-07/1.105, allocations: 0 / 1.061 GB, free: 155.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004552/1.11, allocations: 1.147 MB / 1.062 GB, free: 155.5 MB / 0.698 GB Notification: Performance of SimCode: time 0.004582/1.114, allocations: 2.317 MB / 1.064 GB, free: 154.1 MB / 0.698 GB Notification: Performance of Templates: time 0.04337/1.158, allocations: 13.84 MB / 1.078 GB, free: 149.8 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)