Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.41/1.41, allocations: 251.5 MB / 267.4 MB, free: 11.07 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.0009478/0.0009478, allocations: 178.4 kB / 326.5 MB, free: 2.691 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.493/1.493, allocations: 205 MB / 0.5767 GB, free: 20.98 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.0007164/0.0007166, allocations: 91.91 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002939/0.0002941, allocations: 13.28 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.1821, allocations: 105.4 MB / 0.8967 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.004262/0.1864, allocations: 4.653 MB / 0.9013 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1443/0.3307, allocations: 148.3 MB / 1.046 GB, free: 10.63 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000967/0.3317, allocations: 15.94 kB / 1.046 GB, free: 10.62 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005916/0.3323, allocations: 150.8 kB / 1.046 GB, free: 10.47 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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.00159/0.3339, allocations: 473.8 kB / 1.047 GB, free: 10.01 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001994/0.3359, allocations: 0.7556 MB / 1.047 GB, free: 9.258 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0016/0.3375, allocations: 1.468 MB / 1.049 GB, free: 7.781 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001178/0.3387, allocations: 0.957 MB / 1.05 GB, free: 6.785 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007444/0.3395, allocations: 461.5 kB / 1.05 GB, free: 6.332 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005812/0.3401, allocations: 0.4969 MB / 1.051 GB, free: 5.832 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 9.467e-05/0.3402, allocations: 32 kB / 1.051 GB, free: 5.801 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007099/0.3409, allocations: 303.7 kB / 1.051 GB, free: 5.504 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002236/0.3411, allocations: 230.7 kB / 1.051 GB, free: 5.277 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000463/0.3416, allocations: 0.5702 MB / 1.052 GB, free: 4.703 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001665/0.3433, allocations: 1.899 MB / 1.054 GB, free: 2.797 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3433, allocations: 3.938 kB / 1.054 GB, free: 2.793 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3433, allocations: 0 / 1.054 GB, free: 2.793 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.571e-05/0.3433, allocations: 0 / 1.054 GB, free: 2.793 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.002344/0.3457, allocations: 1.432 MB / 1.055 GB, free: 1.309 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.3457, allocations: 12.03 kB / 1.055 GB, free: 1.297 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008948/0.3466, allocations: 242.8 kB / 1.055 GB, free: 1.059 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001113/0.3477, allocations: 0.8835 MB / 1.056 GB, free: 136 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.955e-05/0.3478, allocations: 102.8 kB / 1.056 GB, free: 32 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.3519/0.6998, allocations: 132.4 kB / 1.056 GB, free: 160.1 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002309/0.7021, allocations: 1.387 MB / 1.058 GB, free: 159.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.226e-05/0.7022, allocations: 6.219 kB / 1.058 GB, free: 159.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.614e-05/0.7023, allocations: 57.22 kB / 1.058 GB, free: 159.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.123e-05/0.7023, allocations: 35.66 kB / 1.058 GB, free: 159.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002099/0.7044, allocations: 1.482 MB / 1.059 GB, free: 159.9 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005817/0.7102, allocations: 3.595 MB / 1.063 GB, free: 159.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001778/0.7121, allocations: 0.9673 MB / 1.064 GB, free: 159.1 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007129/0.7128, allocations: 399 kB / 1.064 GB, free: 159.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001091/0.7129, allocations: 51.34 kB / 1.064 GB, free: 159.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001202/0.7141, allocations: 0.584 MB / 1.065 GB, free: 159 MB / 0.698 GB Notification: Performance of pre-optimization done (n=104): time 4.298e-06/0.7141, allocations: 0 / 1.065 GB, free: 159 MB / 0.698 GB Notification: Performance of matching and sorting (n=104): time 0.003915/0.718, allocations: 1.493 MB / 1.066 GB, free: 158.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.182e-05/0.7181, allocations: 195.9 kB / 1.066 GB, free: 158.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00116/0.7193, allocations: 0.7398 MB / 1.067 GB, free: 158.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.627e-05/0.7194, allocations: 44.61 kB / 1.067 GB, free: 158.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004471/0.7198, allocations: 0.5598 MB / 1.068 GB, free: 158.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002377/0.7201, allocations: 348.9 kB / 1.068 GB, free: 157.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/0.7202, allocations: 88.48 kB / 1.068 GB, free: 157.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.7204, allocations: 403.2 kB / 1.069 GB, free: 157.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006981/0.7211, allocations: 359.3 kB / 1.069 GB, free: 157.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008108/0.7219, allocations: 478.8 kB / 1.069 GB, free: 157.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00148/0.7234, allocations: 0.8359 MB / 1.07 GB, free: 156.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.7234, allocations: 1.094 kB / 1.07 GB, free: 156.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002397/0.7258, allocations: 1.124 MB / 1.071 GB, free: 156.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.7258, allocations: 7.125 kB / 1.071 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.7258, allocations: 1.953 kB / 1.071 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005482/0.7264, allocations: 89.31 kB / 1.071 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008919/0.7273, allocations: 224.4 kB / 1.072 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00166/0.729, allocations: 1.533 MB / 1.073 GB, free: 154.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007796/0.7298, allocations: 116.4 kB / 1.073 GB, free: 154.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.216e-05/0.7299, allocations: 48.78 kB / 1.073 GB, free: 154.7 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 (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.0004989/0.7304, allocations: 313.3 kB / 1.074 GB, free: 154.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000177/0.7305, allocations: 99.59 kB / 1.074 GB, free: 154.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003006/0.7336, allocations: 1.396 MB / 1.075 GB, free: 153.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.697e-05/0.7336, allocations: 9.469 kB / 1.075 GB, free: 153.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.7336, allocations: 0.7031 kB / 1.075 GB, free: 153.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003825/0.734, allocations: 319.2 kB / 1.075 GB, free: 153.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000136/0.7341, allocations: 31.78 kB / 1.075 GB, free: 153.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006216/0.7348, allocations: 75.31 kB / 1.075 GB, free: 153.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002005/0.735, allocations: 76.47 kB / 1.075 GB, free: 153.6 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002149/0.7371, allocations: 1.14 MB / 1.077 GB, free: 153.1 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00212/0.7393, allocations: 1.698 MB / 1.078 GB, free: 152.1 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006038/0.7399, allocations: 454.8 kB / 1.079 GB, free: 151.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006375/0.7405, allocations: 0.5557 MB / 1.079 GB, free: 151.6 MB / 0.698 GB Notification: Performance of Backend: time 8.01e-07/0.7405, allocations: 0 / 1.079 GB, free: 151.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003109/0.7436, allocations: 1.319 MB / 1.081 GB, free: 151 MB / 0.698 GB Notification: Performance of SimCode: time 0.003671/0.7473, allocations: 3.168 MB / 1.084 GB, free: 148.6 MB / 0.698 GB Notification: Performance of Templates: time 0.02507/0.7724, allocations: 17.9 MB / 1.101 GB, free: 132.4 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)