Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.603/1.603, allocations: 288.4 MB / 303.7 MB, free: 8.031 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009633/0.0009633, allocations: 178.5 kB / 372.3 MB, free: 10.1 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.453/1.453, allocations: 205.4 MB / 0.631 GB, free: 9.898 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007124/0.0007124, allocations: 94.36 kB / 0.7444 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005726/0.0005726, allocations: 12.62 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/0.2332, allocations: 115.3 MB / 0.9801 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.003714/0.237, allocations: 3.586 MB / 0.9836 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.5895/0.8265, allocations: 136.6 MB / 1.117 GB, free: 2.383 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000528/0.827, allocations: 18.84 kB / 1.117 GB, free: 2.375 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004156/0.8275, allocations: 130.3 kB / 1.117 GB, free: 2.312 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 8.0.1-maint.8.0.x/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 8.0.1-maint.8.0.x/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 8.0.1-maint.8.0.x/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.001093/0.8286, allocations: 366.6 kB / 1.118 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0016/0.8302, allocations: 0.5855 MB / 1.118 GB, free: 2.16 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001165/0.8314, allocations: 1.053 MB / 1.119 GB, free: 1.984 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007719/0.8321, allocations: 0.5706 MB / 1.12 GB, free: 1.852 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004971/0.8326, allocations: 301.9 kB / 1.12 GB, free: 1.773 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004266/0.8331, allocations: 326.1 kB / 1.12 GB, free: 1.684 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 8.549e-05/0.8332, allocations: 21.84 kB / 1.12 GB, free: 1.684 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00074/0.8339, allocations: 282.8 kB / 1.121 GB, free: 1.664 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002051/0.8341, allocations: 164.2 kB / 1.121 GB, free: 1.629 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003619/0.8345, allocations: 397.4 kB / 1.121 GB, free: 1.461 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001153/0.8357, allocations: 1.029 MB / 1.122 GB, free: 1.375 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.8357, allocations: 1.219 kB / 1.122 GB, free: 1.375 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.565e-06/0.8357, allocations: 0 / 1.122 GB, free: 1.375 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.48e-05/0.8357, allocations: 1.859 kB / 1.122 GB, free: 1.375 MB / 0.6823 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.001842/0.8376, allocations: 1.11 MB / 1.123 GB, free: 16.66 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.8376, allocations: 8.781 kB / 1.123 GB, free: 16.66 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008407/0.8385, allocations: 190.9 kB / 1.123 GB, free: 16.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009687/0.8394, allocations: 0.7087 MB / 1.124 GB, free: 16.28 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.413e-05/0.8395, allocations: 58.44 kB / 1.124 GB, free: 16.28 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001206/0.8396, allocations: 79.81 kB / 1.124 GB, free: 16.27 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001538/0.8412, allocations: 0.8716 MB / 1.125 GB, free: 16.12 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.8412, allocations: 5.031 kB / 1.125 GB, free: 16.11 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.742e-05/0.8413, allocations: 33.03 kB / 1.125 GB, free: 16.11 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.532e-05/0.8413, allocations: 19.06 kB / 1.125 GB, free: 16.11 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00169/0.843, allocations: 1.086 MB / 1.126 GB, free: 16.1 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003713/0.8468, allocations: 2.438 MB / 1.129 GB, free: 15.27 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001172/0.848, allocations: 0.729 MB / 1.129 GB, free: 15.22 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004602/0.8484, allocations: 288.5 kB / 1.13 GB, free: 15.21 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.413e-05/0.8485, allocations: 40.58 kB / 1.13 GB, free: 15.21 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007776/0.8493, allocations: 439 kB / 1.13 GB, free: 15.13 MB / 0.698 GB Notification: Performance of pre-optimization done (n=76): time 3.857e-06/0.8493, allocations: 0 / 1.13 GB, free: 15.13 MB / 0.698 GB Notification: Performance of matching and sorting (n=76): time 0.002938/0.8523, allocations: 1.129 MB / 1.131 GB, free: 14.93 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.8524, allocations: 190.2 kB / 1.131 GB, free: 14.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006827/0.8531, allocations: 0.5717 MB / 1.132 GB, free: 14.58 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.585e-05/0.8531, allocations: 39.86 kB / 1.132 GB, free: 14.55 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002471/0.8534, allocations: 378.2 kB / 1.132 GB, free: 14.37 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001821/0.8536, allocations: 251.2 kB / 1.132 GB, free: 14.21 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.373e-05/0.8536, allocations: 16.81 kB / 1.132 GB, free: 14.21 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.8538, allocations: 383.7 kB / 1.133 GB, free: 13.89 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004326/0.8542, allocations: 250.7 kB / 1.133 GB, free: 13.89 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005632/0.8548, allocations: 344.7 kB / 1.133 GB, free: 13.84 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009582/0.8558, allocations: 0.5905 MB / 1.134 GB, free: 13.79 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.8558, allocations: 4 kB / 1.134 GB, free: 13.78 MB / 0.698 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00168/0.8575, allocations: 0.8206 MB / 1.135 GB, free: 13.61 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.8575, allocations: 6.062 kB / 1.135 GB, free: 13.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.8575, allocations: 6.562 kB / 1.135 GB, free: 13.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005674/0.8581, allocations: 79.83 kB / 1.135 GB, free: 13.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006975/0.8588, allocations: 158.5 kB / 1.135 GB, free: 13.54 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001934/0.8607, allocations: 1.524 MB / 1.137 GB, free: 12.17 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007428/0.8615, allocations: 99.73 kB / 1.137 GB, free: 12.12 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.485e-05/0.8616, allocations: 37.72 kB / 1.137 GB, free: 12.11 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.000425/0.862, allocations: 250.4 kB / 1.137 GB, free: 11.98 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.8621, allocations: 74.53 kB / 1.137 GB, free: 11.94 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002379/0.8645, allocations: 1.032 MB / 1.138 GB, free: 11.64 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-05/0.8645, allocations: 10.22 kB / 1.138 GB, free: 11.64 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.8645, allocations: 0 / 1.138 GB, free: 11.64 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.8646, allocations: 5.844 kB / 1.138 GB, free: 11.63 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0031/0.8677, allocations: 1.877 MB / 1.14 GB, free: 10.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.8677, allocations: 0 / 1.14 GB, free: 10.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005966/0.8683, allocations: 147.3 kB / 1.14 GB, free: 10.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005206/0.8688, allocations: 93.48 kB / 1.14 GB, free: 10.84 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.336e-05/0.8689, allocations: 24.58 kB / 1.14 GB, free: 10.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001751/0.8707, allocations: 1.54 MB / 1.142 GB, free: 9.465 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.8707, allocations: 0 / 1.142 GB, free: 9.465 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001976/0.8727, allocations: 0.9371 MB / 1.142 GB, free: 9.148 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004104/0.8731, allocations: 273.1 kB / 1.143 GB, free: 8.957 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/0.8732, allocations: 17.81 kB / 1.143 GB, free: 8.957 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005992/0.8738, allocations: 72.59 kB / 1.143 GB, free: 8.934 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000157/0.874, allocations: 62.72 kB / 1.143 GB, free: 8.91 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.685e-05/0.874, allocations: 31.39 kB / 1.143 GB, free: 8.906 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006061/0.8747, allocations: 424.2 kB / 1.143 GB, free: 8.758 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8747, allocations: 0 / 1.143 GB, free: 8.758 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001091/0.8758, allocations: 279.7 kB / 1.144 GB, free: 8.703 MB / 0.698 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001552/0.8773, allocations: 0.5668 MB / 1.144 GB, free: 8.43 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001942/0.8793, allocations: 0.7948 MB / 1.145 GB, free: 8.191 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.8793, allocations: 0 / 1.145 GB, free: 8.191 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009653/0.8803, allocations: 0.4949 MB / 1.145 GB, free: 8.008 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001347/0.8816, allocations: 251.1 kB / 1.146 GB, free: 7.938 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004491/0.8861, allocations: 2.06 MB / 1.148 GB, free: 6.797 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007398/0.8869, allocations: 1.006 MB / 1.149 GB, free: 5.977 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001/0.8879, allocations: 260.6 kB / 1.149 GB, free: 5.844 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002703/0.8882, allocations: 95.89 kB / 1.149 GB, free: 5.824 MB / 0.698 GB Notification: Performance of SimCode: time 8.41e-07/0.8882, allocations: 0 / 1.149 GB, free: 5.824 MB / 0.698 GB Notification: Performance of Templates: time 0.03639/0.9246, allocations: 12.93 MB / 1.162 GB, free: 15.36 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)