Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.254/2.254, allocations: 251.1 MB / 266.7 MB, free: 11.57 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.001268/0.001268, allocations: 174.9 kB / 326.3 MB, free: 2.848 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.37/2.37, allocations: 205.4 MB / 0.5772 GB, free: 20.75 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.0008826/0.0008822, allocations: 96.3 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004673/0.0004674, allocations: 13.03 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2091/0.2096, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.005765/0.2154, allocations: 3.592 MB / 0.903 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2106/0.4261, allocations: 136.6 MB / 1.036 GB, free: 4.922 MB / 0.6824 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009775/0.4271, allocations: 19.88 kB / 1.036 GB, free: 4.902 MB / 0.6824 GB Notification: Performance of NFTyping.typeComponents: time 0.0008123/0.428, allocations: 123 kB / 1.037 GB, free: 4.781 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.002176/0.4302, allocations: 357.3 kB / 1.037 GB, free: 4.434 MB / 0.6824 GB Notification: Performance of NFTyping.typeClassSections: time 0.00299/0.4332, allocations: 0.6005 MB / 1.037 GB, free: 3.84 MB / 0.6824 GB Notification: Performance of NFFlatten.flatten: time 0.002458/0.4356, allocations: 1.055 MB / 1.039 GB, free: 2.777 MB / 0.6824 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001554/0.4373, allocations: 0.5538 MB / 1.039 GB, free: 2.207 MB / 0.6824 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001053/0.4384, allocations: 310.6 kB / 1.039 GB, free: 1.902 MB / 0.6824 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009708/0.4394, allocations: 322.2 kB / 1.04 GB, free: 1.586 MB / 0.6824 GB Notification: Performance of NFPackage.collectConstants: time 0.0002493/0.4397, allocations: 24 kB / 1.04 GB, free: 1.562 MB / 0.6824 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001257/0.441, allocations: 271.7 kB / 1.04 GB, free: 1.297 MB / 0.6824 GB Notification: Performance of NFScalarize.scalarize: time 0.0003369/0.4414, allocations: 163.3 kB / 1.04 GB, free: 1.137 MB / 0.6824 GB Notification: Performance of NFVerifyModel.verify: time 0.0003435/0.4417, allocations: 177.1 kB / 1.04 GB, free: 0.957 MB / 0.6824 GB Notification: Performance of NFConvertDAE.convert: time 0.002226/0.4439, allocations: 1.021 MB / 1.041 GB, free: 15.93 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 9.328e-06/0.444, allocations: 0 / 1.041 GB, free: 15.93 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.366e-06/0.444, allocations: 7.938 kB / 1.041 GB, free: 15.93 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.817e-05/0.4441, allocations: 0 / 1.041 GB, free: 15.93 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: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.003634/0.4477, allocations: 1.116 MB / 1.042 GB, free: 14.76 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.618e-05/0.4478, allocations: 8.031 kB / 1.042 GB, free: 14.75 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001689/0.4495, allocations: 191.5 kB / 1.043 GB, free: 14.56 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001976/0.4515, allocations: 0.6804 MB / 1.043 GB, free: 13.84 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.1e-05/0.4517, allocations: 58 kB / 1.043 GB, free: 13.78 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000194/0.4519, allocations: 80 kB / 1.043 GB, free: 13.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002821/0.4547, allocations: 0.8676 MB / 1.044 GB, free: 12.79 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.697e-05/0.4548, allocations: 4 kB / 1.044 GB, free: 12.79 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001599/0.455, allocations: 39.94 kB / 1.044 GB, free: 12.75 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.825e-05/0.455, allocations: 20 kB / 1.044 GB, free: 12.73 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003628/0.4586, allocations: 1.081 MB / 1.045 GB, free: 11.65 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007501/0.4662, allocations: 2.418 MB / 1.048 GB, free: 9.16 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002483/0.4687, allocations: 0.7354 MB / 1.048 GB, free: 8.418 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009791/0.4698, allocations: 286.7 kB / 1.049 GB, free: 8.137 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001442/0.4699, allocations: 36.59 kB / 1.049 GB, free: 8.098 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001423/0.4714, allocations: 443.3 kB / 1.049 GB, free: 7.648 MB / 0.698 GB Notification: Performance of pre-optimization done (n=76): time 4.819e-06/0.4714, allocations: 0 / 1.049 GB, free: 7.648 MB / 0.698 GB Notification: Performance of matching and sorting (n=76): time 0.005531/0.477, allocations: 1.124 MB / 1.05 GB, free: 6.496 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001285/0.4772, allocations: 196.6 kB / 1.05 GB, free: 6.262 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001219/0.4784, allocations: 0.5782 MB / 1.051 GB, free: 5.68 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002042/0.4786, allocations: 45.64 kB / 1.051 GB, free: 5.629 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004584/0.4791, allocations: 368.3 kB / 1.051 GB, free: 5.262 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004139/0.4795, allocations: 252.4 kB / 1.052 GB, free: 5.012 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.409e-05/0.4796, allocations: 16 kB / 1.052 GB, free: 4.996 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002296/0.4798, allocations: 374.8 kB / 1.052 GB, free: 4.621 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009674/0.4808, allocations: 253.9 kB / 1.052 GB, free: 4.371 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001078/0.4819, allocations: 351 kB / 1.053 GB, free: 4.016 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/0.483, allocations: 294.9 kB / 1.053 GB, free: 3.73 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.4831, allocations: 0 / 1.053 GB, free: 3.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.003411/0.4865, allocations: 0.8214 MB / 1.054 GB, free: 2.895 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.975e-05/0.4866, allocations: 4 kB / 1.054 GB, free: 2.891 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.4866, allocations: 0 / 1.054 GB, free: 2.891 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001036/0.4876, allocations: 88.86 kB / 1.054 GB, free: 2.801 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001476/0.4891, allocations: 163.8 kB / 1.054 GB, free: 2.641 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003278/0.4924, allocations: 1.512 MB / 1.055 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001363/0.4938, allocations: 92.58 kB / 1.055 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001566/0.494, allocations: 35.97 kB / 1.055 GB, free: 0.8633 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 (89): * Single equations (assignments): 88 * 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.0007276/0.4948, allocations: 250.3 kB / 1.056 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002512/0.495, allocations: 75.09 kB / 1.056 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5866/1.082, allocations: 1.053 MB / 1.057 GB, free: 156.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.123e-05/1.082, allocations: 4.766 kB / 1.057 GB, free: 156.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.431e-06/1.082, allocations: 0.5625 kB / 1.057 GB, free: 156.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000732/1.083, allocations: 274.4 kB / 1.057 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001833/1.083, allocations: 17.08 kB / 1.057 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001086/1.084, allocations: 67.73 kB / 1.057 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001947/1.084, allocations: 67.17 kB / 1.057 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002956/1.087, allocations: 0.897 MB / 1.058 GB, free: 156.1 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00324/1.09, allocations: 1.315 MB / 1.059 GB, free: 155.9 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008373/1.091, allocations: 329.6 kB / 1.06 GB, free: 155.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007766/1.092, allocations: 422.9 kB / 1.06 GB, free: 155.8 MB / 0.698 GB Notification: Performance of Backend: time 5.31e-07/1.092, allocations: 0 / 1.06 GB, free: 155.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004124/1.096, allocations: 1.153 MB / 1.061 GB, free: 155.5 MB / 0.698 GB Notification: Performance of SimCode: time 0.004378/1.101, allocations: 2.281 MB / 1.063 GB, free: 154.2 MB / 0.698 GB Notification: Performance of Templates: time 0.04569/1.146, allocations: 13.8 MB / 1.077 GB, free: 150 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)