Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.707/1.707, allocations: 292.3 MB / 308.1 MB, free: 4.301 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.001159/0.001159, allocations: 190.4 kB / 376.9 MB, free: 1.797 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.442/1.442, allocations: 205 MB / 0.6354 GB, free: 9.797 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001029/0.001029, allocations: 106.9 kB / 0.748 GB, free: 61.21 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001053/0.001053, allocations: 55.91 kB / 0.8704 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2291/0.2301, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.00758/0.2377, allocations: 4.976 MB / 0.9871 GB, free: 5.387 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.6179/0.8557, allocations: 148.3 MB / 1.132 GB, free: 6.324 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001172/0.8569, allocations: 21.28 kB / 1.132 GB, free: 6.316 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0006876/0.8577, allocations: 146.5 kB / 1.132 GB, free: 6.23 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.001778/0.8595, allocations: 470.8 kB / 1.133 GB, free: 5.965 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001849/0.8613, allocations: 0.7618 MB / 1.133 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001257/0.8626, allocations: 1.481 MB / 1.135 GB, free: 4.832 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000994/0.8636, allocations: 0.9752 MB / 1.136 GB, free: 4.301 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007034/0.8643, allocations: 0.6081 MB / 1.136 GB, free: 4 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005739/0.8649, allocations: 0.6797 MB / 1.137 GB, free: 3.637 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001624/0.8651, allocations: 100.8 kB / 1.137 GB, free: 3.637 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008046/0.8659, allocations: 371.8 kB / 1.137 GB, free: 3.551 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002547/0.8661, allocations: 349.3 kB / 1.138 GB, free: 3.34 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0005735/0.8667, allocations: 0.6957 MB / 1.138 GB, free: 2.875 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001954/0.8687, allocations: 1.982 MB / 1.14 GB, free: 2.035 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.8687, allocations: 0 / 1.14 GB, free: 2.035 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.453e-06/0.8687, allocations: 0 / 1.14 GB, free: 2.035 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.796e-05/0.8687, allocations: 0 / 1.14 GB, free: 2.035 MB / 0.7448 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.002903/0.8717, allocations: 1.754 MB / 1.142 GB, free: 0.8867 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.8717, allocations: 13.38 kB / 1.142 GB, free: 0.8828 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00096/0.8727, allocations: 231.8 kB / 1.142 GB, free: 0.7969 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001066/0.8738, allocations: 0.8772 MB / 1.143 GB, free: 224 kB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.275e-05/0.8738, allocations: 106.1 kB / 1.143 GB, free: 176 kB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001366/0.874, allocations: 131.2 kB / 1.143 GB, free: 132 kB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002055/0.876, allocations: 1.39 MB / 1.145 GB, free: 15.51 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.516e-05/0.8761, allocations: 4 kB / 1.145 GB, free: 15.5 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001148/0.8762, allocations: 56.38 kB / 1.145 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.481e-05/0.8762, allocations: 31.66 kB / 1.145 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002094/0.8783, allocations: 1.474 MB / 1.146 GB, free: 15.07 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005501/0.8838, allocations: 3.573 MB / 1.15 GB, free: 13.17 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001609/0.8855, allocations: 0.9511 MB / 1.151 GB, free: 12.81 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006406/0.8861, allocations: 404.2 kB / 1.151 GB, free: 12.64 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001026/0.8863, allocations: 46.55 kB / 1.151 GB, free: 12.63 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000959/0.8872, allocations: 0.5733 MB / 1.152 GB, free: 12.39 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=104): time 4.218e-06/0.8872, allocations: 0.6562 kB / 1.152 GB, free: 12.39 MB / 0.7605 GB Notification: Performance of matching and sorting (n=104): time 0.003523/0.8908, allocations: 1.484 MB / 1.153 GB, free: 11.76 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/0.8909, allocations: 193 kB / 1.153 GB, free: 11.54 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009169/0.8918, allocations: 0.7423 MB / 1.154 GB, free: 11.22 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 7.91e-05/0.8919, allocations: 52.2 kB / 1.154 GB, free: 11.17 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004169/0.8923, allocations: 0.5493 MB / 1.155 GB, free: 10.74 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002702/0.8926, allocations: 351 kB / 1.155 GB, free: 10.47 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003063/0.8929, allocations: 212.5 kB / 1.155 GB, free: 10.38 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001914/0.8931, allocations: 405 kB / 1.156 GB, free: 10.02 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000619/0.8938, allocations: 359.8 kB / 1.156 GB, free: 9.891 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007386/0.8945, allocations: 474.4 kB / 1.156 GB, free: 9.684 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001379/0.8959, allocations: 0.8235 MB / 1.157 GB, free: 9.301 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.8959, allocations: 4 kB / 1.157 GB, free: 9.297 MB / 0.7605 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002301/0.8982, allocations: 1.114 MB / 1.158 GB, free: 8.852 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.8983, allocations: 8.469 kB / 1.158 GB, free: 8.852 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.8983, allocations: 1.25 kB / 1.158 GB, free: 8.852 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005739/0.8988, allocations: 84.59 kB / 1.158 GB, free: 8.832 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009161/0.8998, allocations: 221.8 kB / 1.158 GB, free: 8.812 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002186/0.902, allocations: 1.537 MB / 1.16 GB, free: 7.371 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009404/0.9029, allocations: 104.1 kB / 1.16 GB, free: 7.312 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.982e-05/0.903, allocations: 57.38 kB / 1.16 GB, free: 7.297 MB / 0.7605 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 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * 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 (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.0006183/0.9037, allocations: 305.5 kB / 1.16 GB, free: 7.07 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001877/0.9039, allocations: 105.2 kB / 1.161 GB, free: 7.016 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00295/0.9068, allocations: 1.388 MB / 1.162 GB, free: 6.457 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.879e-06/0.9068, allocations: 13 kB / 1.162 GB, free: 6.457 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.9068, allocations: 0 / 1.162 GB, free: 6.457 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/0.9069, allocations: 7.125 kB / 1.162 GB, free: 6.457 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003882/0.9107, allocations: 2.546 MB / 1.164 GB, free: 5.27 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.9108, allocations: 0.9375 kB / 1.164 GB, free: 5.27 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00074/0.9115, allocations: 195.3 kB / 1.165 GB, free: 5.246 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004914/0.912, allocations: 80.97 kB / 1.165 GB, free: 5.23 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.573e-05/0.9121, allocations: 33.75 kB / 1.165 GB, free: 5.211 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001778/0.9139, allocations: 1.564 MB / 1.166 GB, free: 3.754 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.9139, allocations: 6.906 kB / 1.166 GB, free: 3.75 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003515/0.9174, allocations: 2.347 MB / 1.169 GB, free: 2.344 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004778/0.9179, allocations: 316.5 kB / 1.169 GB, free: 2.121 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001292/0.9181, allocations: 30.16 kB / 1.169 GB, free: 2.098 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006631/0.9187, allocations: 61.81 kB / 1.169 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001704/0.9189, allocations: 78.47 kB / 1.169 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.303e-05/0.919, allocations: 41.45 kB / 1.169 GB, free: 2.059 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0007806/0.9198, allocations: 0.563 MB / 1.17 GB, free: 1.82 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9198, allocations: 0 / 1.17 GB, free: 1.82 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001187/0.921, allocations: 381.6 kB / 1.17 GB, free: 1.707 MB / 0.7605 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 (115): * Single equations (assignments): 112 * 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.001186/0.9222, allocations: 0.5662 MB / 1.17 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001929/0.9241, allocations: 1.034 MB / 1.172 GB, free: 1.031 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.9241, allocations: 4 kB / 1.172 GB, free: 1.027 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0009739/0.9251, allocations: 0.6079 MB / 1.172 GB, free: 0.7461 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001264/0.9264, allocations: 287 kB / 1.172 GB, free: 0.6562 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00532/0.9317, allocations: 3.534 MB / 1.176 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006928/0.9324, allocations: 1.194 MB / 1.177 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.00103/0.9335, allocations: 297.5 kB / 1.177 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003314/0.9338, allocations: 130.2 kB / 1.177 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of SimCode: time 5.91e-07/0.9338, allocations: 3.25 kB / 1.177 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of Templates: time 0.03668/0.9705, allocations: 17.18 MB / 1.194 GB, free: 12.28 MB / 0.7761 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)