Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7167/0.7167, allocations: 128.7 MB / 144.5 MB, free: 1.387 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001198/0.001198, allocations: 190.3 kB / 174.2 MB, free: 5.93 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.444/1.444, allocations: 205 MB / 408.9 MB, free: 9.707 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009701/0.00097, allocations: 100.6 kB / 485.1 MB, free: 13.58 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001098/0.001098, allocations: 55.38 kB / 0.558 GB, free: 97.5 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1344, allocations: 75.48 MB / 0.6317 GB, free: 33.05 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.004993/0.1394, allocations: 4.785 MB / 0.6363 GB, free: 28.23 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.4349/0.5744, allocations: 148.2 MB / 0.7811 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006458/0.575, allocations: 14.72 kB / 0.7811 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0004245/0.5755, allocations: 105.4 kB / 0.7812 GB, free: 13.94 MB / 0.5261 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105:25:writable] Warning: Pure function ‘BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48:21:writable] Warning: Pure function ‘BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3‘ contains a call to impure function ‘BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48:20:writable] Warning: Pure function ‘BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3‘ contains a call to impure function ‘BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47:20:writable] Warning: Pure function ‘BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3‘ contains a call to impure function ‘BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. Notification: Performance of NFTyping.typeBindings: time 0.001228/0.5768, allocations: 455.8 kB / 0.7817 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001539/0.5783, allocations: 0.7424 MB / 0.7824 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001186/0.5795, allocations: 1.397 MB / 0.7837 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009264/0.5804, allocations: 0.9259 MB / 0.7846 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006541/0.5811, allocations: 0.5973 MB / 0.7852 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006882/0.5818, allocations: 0.6655 MB / 0.7859 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001621/0.582, allocations: 95.22 kB / 0.786 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007004/0.5827, allocations: 377.8 kB / 0.7863 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002537/0.5829, allocations: 316.1 kB / 0.7866 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0005485/0.5835, allocations: 0.682 MB / 0.7873 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001739/0.5852, allocations: 2.007 MB / 0.7893 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.5853, allocations: 11.5 kB / 0.7893 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of FrontEnd: time 7.91e-07/0.5853, allocations: 0 / 0.7893 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.519e-05/0.5853, allocations: 0 / 0.7893 GB, free: 12.59 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.002893/0.5882, allocations: 1.695 MB / 0.7909 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.5882, allocations: 12.88 kB / 0.7909 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00197/0.5902, allocations: 353.5 kB / 0.7913 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001126/0.5914, allocations: 0.807 MB / 0.7921 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.495e-05/0.5915, allocations: 106.9 kB / 0.7922 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001606/0.5916, allocations: 132.5 kB / 0.7923 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002401/0.594, allocations: 1.396 MB / 0.7937 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.573e-05/0.5941, allocations: 0 / 0.7937 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/0.5942, allocations: 53.72 kB / 0.7937 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.013e-05/0.5942, allocations: 33.22 kB / 0.7937 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00271/0.5969, allocations: 1.559 MB / 0.7953 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006205/0.6032, allocations: 3.53 MB / 0.7987 GB, free: 8.945 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002632/0.6058, allocations: 1.038 MB / 0.7997 GB, free: 8.754 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008845/0.6067, allocations: 435.1 kB / 0.8001 GB, free: 8.691 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000676/0.6074, allocations: 489.2 kB / 0.8006 GB, free: 8.184 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001218/0.6086, allocations: 0.6311 MB / 0.8012 GB, free: 7.938 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=104): time 2.805e-06/0.6087, allocations: 0 / 0.8012 GB, free: 7.938 MB / 0.5261 GB Notification: Performance of matching and sorting (n=104): time 0.004082/0.6127, allocations: 1.546 MB / 0.8027 GB, free: 7.508 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.836e-05/0.6128, allocations: 116.4 kB / 0.8028 GB, free: 7.383 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000936/0.6138, allocations: 0.6754 MB / 0.8035 GB, free: 7.145 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.868e-05/0.6139, allocations: 44.39 kB / 0.8035 GB, free: 7.113 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004001/0.6143, allocations: 0.521 MB / 0.804 GB, free: 6.789 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002847/0.6146, allocations: 349.9 kB / 0.8044 GB, free: 6.539 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003077/0.6149, allocations: 195.9 kB / 0.8046 GB, free: 6.484 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001865/0.6151, allocations: 395 kB / 0.8049 GB, free: 6.141 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008283/0.6159, allocations: 365.4 kB / 0.8053 GB, free: 6.082 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008648/0.6168, allocations: 468.4 kB / 0.8057 GB, free: 5.953 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00168/0.6185, allocations: 0.8496 MB / 0.8066 GB, free: 5.828 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.6185, allocations: 0 / 0.8066 GB, free: 5.828 MB / 0.5261 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002601/0.6211, allocations: 1.112 MB / 0.8077 GB, free: 5.57 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/0.6212, allocations: 5.531 kB / 0.8077 GB, free: 5.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.6212, allocations: 0 / 0.8077 GB, free: 5.57 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005669/0.6218, allocations: 84.52 kB / 0.8077 GB, free: 5.535 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/0.6228, allocations: 230.7 kB / 0.808 GB, free: 5.477 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001913/0.6247, allocations: 1.516 MB / 0.8094 GB, free: 4.113 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000948/0.6257, allocations: 115.6 kB / 0.8096 GB, free: 4.047 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.154e-05/0.6258, allocations: 39.75 kB / 0.8096 GB, free: 4.039 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 (weaDat.conTim.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim1.tStart,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005169/0.6263, allocations: 302.7 kB / 0.8099 GB, free: 3.902 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001762/0.6265, allocations: 92.44 kB / 0.81 GB, free: 3.855 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003229/0.6297, allocations: 1.418 MB / 0.8114 GB, free: 3.438 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/0.6297, allocations: 14.03 kB / 0.8114 GB, free: 3.434 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.6297, allocations: 2.469 kB / 0.8114 GB, free: 3.434 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/0.6298, allocations: 7.969 kB / 0.8114 GB, free: 3.426 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004166/0.6339, allocations: 2.528 MB / 0.8138 GB, free: 2.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.634, allocations: 0 / 0.8138 GB, free: 2.27 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008785/0.6348, allocations: 210.5 kB / 0.814 GB, free: 2.211 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004894/0.6353, allocations: 83.64 kB / 0.8141 GB, free: 2.168 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-05/0.6354, allocations: 30.08 kB / 0.8142 GB, free: 2.148 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001706/0.6371, allocations: 1.563 MB / 0.8157 GB, free: 0.625 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.6371, allocations: 0 / 0.8157 GB, free: 0.625 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003895/0.641, allocations: 2.369 MB / 0.818 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004669/0.6415, allocations: 318.4 kB / 0.8183 GB, free: 14.76 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001233/0.6417, allocations: 27.81 kB / 0.8183 GB, free: 14.74 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007057/0.6424, allocations: 63.16 kB / 0.8184 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000142/0.6425, allocations: 75.89 kB / 0.8185 GB, free: 14.67 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.336e-05/0.6426, allocations: 37.61 kB / 0.8185 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0005842/0.6432, allocations: 0.5158 MB / 0.819 GB, free: 14.36 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6432, allocations: 0 / 0.819 GB, free: 14.36 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001038/0.6443, allocations: 386.8 kB / 0.8194 GB, free: 14.24 MB / 0.5417 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.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim.tStart,weaDat.conTim1.tStart) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001234/0.6455, allocations: 0.5756 MB / 0.8199 GB, free: 13.97 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002348/0.6479, allocations: 1.046 MB / 0.8209 GB, free: 13.44 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/0.6479, allocations: 6.656 kB / 0.821 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001231/0.6491, allocations: 0.6362 MB / 0.8216 GB, free: 13.08 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001245/0.6504, allocations: 233.7 kB / 0.8218 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00532/0.6557, allocations: 3.431 MB / 0.8251 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007649/0.6565, allocations: 1.168 MB / 0.8263 GB, free: 9.664 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.00121/0.6577, allocations: 289.9 kB / 0.8266 GB, free: 9.512 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003652/0.6581, allocations: 127 kB / 0.8267 GB, free: 9.465 MB / 0.5417 GB Notification: Performance of SimCode: time 1.223e-06/0.6581, allocations: 0 / 0.8267 GB, free: 9.465 MB / 0.5417 GB Notification: Performance of Templates: time 0.02614/0.6842, allocations: 16.05 MB / 0.8424 GB, free: 10.14 MB / 0.5573 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)