Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.465/2.465, 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.001406/0.001406, allocations: 180.9 kB / 326.3 MB, free: 2.883 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.318/2.318, allocations: 205.4 MB / 0.5772 GB, free: 21.2 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.0009717/0.0009716, allocations: 94.58 kB / 0.6817 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006379/0.0006381, allocations: 12.94 kB / 0.7957 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1975/0.1981, allocations: 106.3 MB / 0.8995 GB, free: 66.06 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.005542/0.2037, allocations: 3.565 MB / 0.903 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2551/0.4589, allocations: 136.5 MB / 1.036 GB, free: 5.629 MB / 0.6824 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001024/0.46, allocations: 15.94 kB / 1.036 GB, free: 5.613 MB / 0.6824 GB Notification: Performance of NFTyping.typeComponents: time 0.0008933/0.461, allocations: 119 kB / 1.036 GB, free: 5.496 MB / 0.6824 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.00287/0.4638, allocations: 360.1 kB / 1.037 GB, free: 5.145 MB / 0.6824 GB Notification: Performance of NFTyping.typeClassSections: time 0.004161/0.468, allocations: 0.5968 MB / 1.037 GB, free: 4.555 MB / 0.6824 GB Notification: Performance of NFFlatten.flatten: time 0.002971/0.471, allocations: 1.043 MB / 1.038 GB, free: 3.504 MB / 0.6824 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001987/0.4731, allocations: 0.5498 MB / 1.039 GB, free: 2.949 MB / 0.6824 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001198/0.4743, allocations: 306.6 kB / 1.039 GB, free: 2.648 MB / 0.6824 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009333/0.4753, allocations: 314.3 kB / 1.039 GB, free: 2.34 MB / 0.6824 GB Notification: Performance of NFPackage.collectConstants: time 0.0001768/0.4755, allocations: 20 kB / 1.039 GB, free: 2.32 MB / 0.6824 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001547/0.4771, allocations: 263.8 kB / 1.04 GB, free: 2.062 MB / 0.6824 GB Notification: Performance of NFScalarize.scalarize: time 0.0004001/0.4775, allocations: 159.3 kB / 1.04 GB, free: 1.906 MB / 0.6824 GB Notification: Performance of NFVerifyModel.verify: time 0.0004236/0.478, allocations: 181.1 kB / 1.04 GB, free: 1.723 MB / 0.6824 GB Notification: Performance of NFConvertDAE.convert: time 0.00289/0.4809, allocations: 1.017 MB / 1.041 GB, free: 0.7031 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 8.836e-06/0.4809, allocations: 0 / 1.041 GB, free: 0.7031 MB / 0.6824 GB Notification: Performance of FrontEnd: time 3.227e-06/0.481, allocations: 0 / 1.041 GB, free: 0.7031 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 3.179e-05/0.481, allocations: 0 / 1.041 GB, free: 0.7031 MB / 0.6824 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.004509/0.4855, allocations: 1.112 MB / 1.042 GB, free: 15.54 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.645e-05/0.4856, allocations: 8.031 kB / 1.042 GB, free: 15.53 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002299/0.4879, allocations: 187.5 kB / 1.042 GB, free: 15.34 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002507/0.4905, allocations: 0.6727 MB / 1.043 GB, free: 14.63 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001346/0.4907, allocations: 58 kB / 1.043 GB, free: 14.57 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002814/0.491, allocations: 80 kB / 1.043 GB, free: 14.49 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003619/0.4946, allocations: 0.852 MB / 1.044 GB, free: 13.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.353e-05/0.4947, allocations: 3.938 kB / 1.044 GB, free: 13.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000205/0.4949, allocations: 32 kB / 1.044 GB, free: 13.57 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-05/0.495, allocations: 20 kB / 1.044 GB, free: 13.55 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004663/0.4997, allocations: 1.057 MB / 1.045 GB, free: 12.48 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0101/0.5099, allocations: 2.381 MB / 1.047 GB, free: 10.04 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003576/0.5135, allocations: 0.7982 MB / 1.048 GB, free: 9.215 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0014/0.5149, allocations: 289.3 kB / 1.048 GB, free: 8.93 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001797/0.5152, allocations: 32.67 kB / 1.048 GB, free: 8.898 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001881/0.5171, allocations: 431.2 kB / 1.049 GB, free: 8.461 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 5.781e-06/0.5171, allocations: 0 / 1.049 GB, free: 8.461 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.007395/0.5245, allocations: 1.088 MB / 1.05 GB, free: 7.344 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001563/0.5247, allocations: 188.6 kB / 1.05 GB, free: 7.117 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001681/0.5264, allocations: 0.5655 MB / 1.051 GB, free: 6.543 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002291/0.5267, allocations: 37.7 kB / 1.051 GB, free: 6.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005982/0.5273, allocations: 368.3 kB / 1.051 GB, free: 6.133 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004629/0.5278, allocations: 236.5 kB / 1.051 GB, free: 5.898 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.5279, allocations: 20 kB / 1.051 GB, free: 5.879 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002937/0.5282, allocations: 374.8 kB / 1.052 GB, free: 5.504 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001356/0.5296, allocations: 237.9 kB / 1.052 GB, free: 5.273 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001555/0.5312, allocations: 335.1 kB / 1.052 GB, free: 4.93 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001493/0.5327, allocations: 274.9 kB / 1.052 GB, free: 4.664 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.5327, allocations: 0 / 1.052 GB, free: 4.664 MB / 0.698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004987/0.5377, allocations: 0.7902 MB / 1.053 GB, free: 3.863 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.969e-05/0.5378, allocations: 4 kB / 1.053 GB, free: 3.859 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.322e-05/0.5379, allocations: 4 kB / 1.053 GB, free: 3.855 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001526/0.5394, allocations: 84.86 kB / 1.053 GB, free: 3.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002015/0.5415, allocations: 147.8 kB / 1.053 GB, free: 3.625 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004601/0.5461, allocations: 1.524 MB / 1.055 GB, free: 1.957 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001898/0.5481, allocations: 91.3 kB / 1.055 GB, free: 1.867 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002241/0.5483, allocations: 27.98 kB / 1.055 GB, free: 1.84 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.0009992/0.5494, allocations: 262.3 kB / 1.055 GB, free: 1.574 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003444/0.5497, allocations: 71.16 kB / 1.055 GB, free: 1.504 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006288/0.556, allocations: 1.017 MB / 1.056 GB, free: 484 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.345e-05/0.5561, allocations: 7.984 kB / 1.056 GB, free: 476 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.154e-06/0.5562, allocations: 0 / 1.056 GB, free: 476 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001068/0.5572, allocations: 271.8 kB / 1.057 GB, free: 184 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003488/0.5576, allocations: 20 kB / 1.057 GB, free: 164 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001758/0.5594, allocations: 63.89 kB / 1.057 GB, free: 100 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003521/0.5598, allocations: 64.91 kB / 1.057 GB, free: 36 kB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.575/1.135, allocations: 0.8878 MB / 1.058 GB, free: 156.7 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003084/1.138, allocations: 1.296 MB / 1.059 GB, free: 156.5 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008225/1.139, allocations: 331 kB / 1.059 GB, free: 156.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007285/1.14, allocations: 413.3 kB / 1.06 GB, free: 156.4 MB / 0.698 GB Notification: Performance of Backend: time 8.62e-07/1.14, allocations: 0 / 1.06 GB, free: 156.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003886/1.143, allocations: 1.124 MB / 1.061 GB, free: 156.1 MB / 0.698 GB Notification: Performance of SimCode: time 0.004074/1.148, allocations: 2.254 MB / 1.063 GB, free: 154.8 MB / 0.698 GB Notification: Performance of Templates: time 0.0416/1.189, allocations: 13.47 MB / 1.076 GB, free: 151 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)