Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.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.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.164/2.164, allocations: 251.1 MB / 266.7 MB, free: 11.64 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.001444/0.001444, allocations: 189.9 kB / 326.3 MB, free: 2.879 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.327/2.327, allocations: 205.4 MB / 0.5772 GB, free: 21.19 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.001003/0.001003, allocations: 96.52 kB / 0.6817 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004626/0.0004628, allocations: 17.03 kB / 0.7957 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.2672, allocations: 106.3 MB / 0.8995 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.01023/0.2775, allocations: 4.29 MB / 0.9037 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2202/0.4977, allocations: 136.9 MB / 1.037 GB, free: 4.469 MB / 0.6824 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001132/0.4989, allocations: 15.94 kB / 1.037 GB, free: 4.453 MB / 0.6824 GB Notification: Performance of NFTyping.typeComponents: time 0.0006732/0.4996, allocations: 142.8 kB / 1.037 GB, free: 4.312 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.002182/0.5018, allocations: 454.4 kB / 1.038 GB, free: 3.871 MB / 0.6824 GB Notification: Performance of NFTyping.typeClassSections: time 0.002941/0.5048, allocations: 0.6568 MB / 1.039 GB, free: 3.219 MB / 0.6824 GB Notification: Performance of NFFlatten.flatten: time 0.002719/0.5075, allocations: 1.393 MB / 1.04 GB, free: 1.816 MB / 0.6824 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00195/0.5095, allocations: 0.8925 MB / 1.041 GB, free: 0.9023 MB / 0.6824 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001214/0.5107, allocations: 449.7 kB / 1.041 GB, free: 472 kB / 0.6824 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001009/0.5118, allocations: 489.2 kB / 1.042 GB, free: 15.98 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002039/0.512, allocations: 28 kB / 1.042 GB, free: 15.95 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001091/0.5131, allocations: 275.8 kB / 1.042 GB, free: 15.68 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003386/0.5135, allocations: 226.8 kB / 1.042 GB, free: 15.46 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004222/0.5139, allocations: 256.9 kB / 1.042 GB, free: 15.2 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002766/0.5167, allocations: 1.52 MB / 1.044 GB, free: 13.68 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.5167, allocations: 0 / 1.044 GB, free: 13.68 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.236e-06/0.5168, allocations: 0 / 1.044 GB, free: 13.68 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.269e-05/0.5168, allocations: 0 / 1.044 GB, free: 13.68 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: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.004689/0.5215, allocations: 1.451 MB / 1.045 GB, free: 12.18 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.543e-05/0.5216, allocations: 11.97 kB / 1.045 GB, free: 12.16 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001805/0.5234, allocations: 246.8 kB / 1.046 GB, free: 11.92 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002315/0.5258, allocations: 0.8491 MB / 1.046 GB, free: 11.03 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001345/0.526, allocations: 102.8 kB / 1.047 GB, free: 10.93 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003199/0.5263, allocations: 132 kB / 1.047 GB, free: 10.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004306/0.5306, allocations: 1.387 MB / 1.048 GB, free: 9.352 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.468e-05/0.5307, allocations: 0 / 1.048 GB, free: 9.352 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002178/0.5309, allocations: 56 kB / 1.048 GB, free: 9.297 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.83e-05/0.531, allocations: 32 kB / 1.048 GB, free: 9.266 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004739/0.5357, allocations: 1.47 MB / 1.05 GB, free: 7.789 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0104/0.5462, allocations: 3.601 MB / 1.053 GB, free: 4.113 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003048/0.5493, allocations: 0.9496 MB / 1.054 GB, free: 3.16 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001236/0.5506, allocations: 407.6 kB / 1.054 GB, free: 2.758 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001731/0.5508, allocations: 41.08 kB / 1.054 GB, free: 2.719 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001672/0.5525, allocations: 0.5787 MB / 1.055 GB, free: 2.117 MB / 0.698 GB Notification: Performance of pre-optimization done (n=104): time 1.186e-05/0.5525, allocations: 0 / 1.055 GB, free: 2.117 MB / 0.698 GB Notification: Performance of matching and sorting (n=104): time 0.006365/0.5589, allocations: 1.489 MB / 1.056 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001607/0.5591, allocations: 192.9 kB / 1.057 GB, free: 384 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5918/1.151, allocations: 0.7303 MB / 1.057 GB, free: 156.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002455/1.151, allocations: 49.14 kB / 1.057 GB, free: 156.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005368/1.152, allocations: 0.5541 MB / 1.058 GB, free: 156.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003841/1.152, allocations: 347 kB / 1.058 GB, free: 156.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.829e-05/1.152, allocations: 18.53 kB / 1.058 GB, free: 156.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001694/1.152, allocations: 402.7 kB / 1.059 GB, free: 155.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001127/1.154, allocations: 362.6 kB / 1.059 GB, free: 155.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001198/1.155, allocations: 472 kB / 1.059 GB, free: 155.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001234/1.156, allocations: 422.3 kB / 1.06 GB, free: 155.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/1.156, allocations: 0 / 1.06 GB, free: 155.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.003755/1.16, allocations: 1.114 MB / 1.061 GB, free: 155.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/1.16, allocations: 5.906 kB / 1.061 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/1.16, allocations: 2.906 kB / 1.061 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009439/1.161, allocations: 87.41 kB / 1.061 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001885/1.163, allocations: 227.1 kB / 1.061 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002553/1.165, allocations: 1.528 MB / 1.063 GB, free: 154.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001612/1.167, allocations: 115.5 kB / 1.063 GB, free: 154.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001513/1.167, allocations: 51.66 kB / 1.063 GB, free: 154.4 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 (125): * Single equations (assignments): 124 * 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.000763/1.168, allocations: 309.1 kB / 1.063 GB, free: 154.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002419/1.168, allocations: 101.5 kB / 1.063 GB, free: 154.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00508/1.173, allocations: 1.415 MB / 1.065 GB, free: 154.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.412e-05/1.173, allocations: 13.67 kB / 1.065 GB, free: 154.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/1.173, allocations: 0 / 1.065 GB, free: 154.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007793/1.174, allocations: 350.5 kB / 1.065 GB, free: 153.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002381/1.174, allocations: 20.19 kB / 1.065 GB, free: 153.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00127/1.176, allocations: 75.17 kB / 1.065 GB, free: 153.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002432/1.176, allocations: 79.23 kB / 1.065 GB, free: 153.9 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004063/1.18, allocations: 1.134 MB / 1.066 GB, free: 153.7 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005119/1.185, allocations: 1.688 MB / 1.068 GB, free: 153.4 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001426/1.187, allocations: 445.5 kB / 1.068 GB, free: 153.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001279/1.188, allocations: 0.5491 MB / 1.069 GB, free: 153.3 MB / 0.698 GB Notification: Performance of Backend: time 8.82e-07/1.188, allocations: 0.6875 kB / 1.069 GB, free: 153.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005166/1.193, allocations: 1.312 MB / 1.07 GB, free: 153 MB / 0.698 GB Notification: Performance of SimCode: time 0.006959/1.2, allocations: 3.073 MB / 1.073 GB, free: 151.2 MB / 0.698 GB Notification: Performance of Templates: time 0.04919/1.249, allocations: 17.47 MB / 1.09 GB, free: 142.6 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)