Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.353/1.353, allocations: 251.5 MB / 267.4 MB, free: 11.14 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.001093/0.001093, allocations: 179.2 kB / 326.5 MB, free: 2.746 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.484/1.484, allocations: 205 MB / 0.5767 GB, free: 21.03 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.0008091/0.0008088, allocations: 90.62 kB / 0.6804 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003208/0.0003208, allocations: 8.969 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1672, allocations: 105.4 MB / 0.8968 GB, free: 68.24 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.00353/0.1708, allocations: 3.835 MB / 0.9005 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1417/0.3125, allocations: 147.9 MB / 1.045 GB, free: 11.93 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006653/0.3132, allocations: 15.94 kB / 1.045 GB, free: 11.92 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004825/0.3137, allocations: 135 kB / 1.045 GB, free: 11.79 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.001132/0.3148, allocations: 365.1 kB / 1.045 GB, free: 11.43 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001525/0.3164, allocations: 0.6631 MB / 1.046 GB, free: 10.77 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.00101/0.3174, allocations: 1.098 MB / 1.047 GB, free: 9.668 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007279/0.3181, allocations: 0.5629 MB / 1.048 GB, free: 9.094 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003779/0.3185, allocations: 306.4 kB / 1.048 GB, free: 8.793 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003587/0.3189, allocations: 326.2 kB / 1.048 GB, free: 8.473 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 7.046e-05/0.319, allocations: 20 kB / 1.048 GB, free: 8.453 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000548/0.3195, allocations: 299.7 kB / 1.049 GB, free: 8.16 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001683/0.3197, allocations: 171.2 kB / 1.049 GB, free: 7.992 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003073/0.32, allocations: 385.4 kB / 1.049 GB, free: 7.613 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00113/0.3211, allocations: 1.285 MB / 1.05 GB, free: 6.324 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.3212, allocations: 4 kB / 1.05 GB, free: 6.32 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3212, allocations: 0 / 1.05 GB, free: 6.32 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.055e-05/0.3212, allocations: 0 / 1.05 GB, free: 6.32 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.001762/0.3229, allocations: 1.095 MB / 1.051 GB, free: 5.176 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.323, allocations: 12.03 kB / 1.051 GB, free: 5.164 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008238/0.3238, allocations: 195.5 kB / 1.052 GB, free: 4.973 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009122/0.3248, allocations: 0.6878 MB / 1.052 GB, free: 4.246 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.746e-05/0.3248, allocations: 58 kB / 1.052 GB, free: 4.188 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.858e-05/0.3249, allocations: 76 kB / 1.052 GB, free: 4.113 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001318/0.3262, allocations: 0.8714 MB / 1.053 GB, free: 3.203 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.3263, allocations: 0 / 1.053 GB, free: 3.203 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.164e-05/0.3264, allocations: 32 kB / 1.053 GB, free: 3.172 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.764e-05/0.3264, allocations: 20 kB / 1.053 GB, free: 3.152 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001562/0.3279, allocations: 1.061 MB / 1.054 GB, free: 2.086 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3661/0.6941, allocations: 2.386 MB / 1.057 GB, free: 159.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001544/0.6957, allocations: 0.8085 MB / 1.058 GB, free: 159.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004718/0.6962, allocations: 288 kB / 1.058 GB, free: 159.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.042e-05/0.6963, allocations: 32.03 kB / 1.058 GB, free: 159.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007057/0.697, allocations: 433.3 kB / 1.058 GB, free: 159.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 3.025e-06/0.697, allocations: 0 / 1.058 GB, free: 159.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.002958/0.7, allocations: 1.094 MB / 1.059 GB, free: 159.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.728e-05/0.7001, allocations: 189 kB / 1.059 GB, free: 159 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008541/0.7009, allocations: 0.5695 MB / 1.06 GB, free: 158.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.137e-05/0.701, allocations: 41.08 kB / 1.06 GB, free: 158.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000295/0.7013, allocations: 358.9 kB / 1.06 GB, free: 158.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001825/0.7015, allocations: 245.9 kB / 1.061 GB, free: 158.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.7016, allocations: 59.06 kB / 1.061 GB, free: 158.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.7018, allocations: 378.3 kB / 1.061 GB, free: 158.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004945/0.7023, allocations: 248.9 kB / 1.061 GB, free: 158.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000579/0.7029, allocations: 328.5 kB / 1.062 GB, free: 158.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000998/0.7039, allocations: 0.5649 MB / 1.062 GB, free: 158.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.7039, allocations: 5.875 kB / 1.062 GB, free: 158.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001964/0.7059, allocations: 0.7818 MB / 1.063 GB, free: 158.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.7059, allocations: 10.02 kB / 1.063 GB, free: 158.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.7059, allocations: 0.9688 kB / 1.063 GB, free: 158.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006386/0.7066, allocations: 85.03 kB / 1.063 GB, free: 158.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006803/0.7073, allocations: 151.6 kB / 1.063 GB, free: 158.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001909/0.7092, allocations: 1.52 MB / 1.065 GB, free: 156.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006602/0.7099, allocations: 85.22 kB / 1.065 GB, free: 156.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.617e-05/0.71, allocations: 36.7 kB / 1.065 GB, free: 156.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 (84): * Single equations (assignments): 83 * 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.0004425/0.7104, allocations: 260.1 kB / 1.065 GB, free: 156.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001848/0.7106, allocations: 75.39 kB / 1.065 GB, free: 156.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002484/0.7131, allocations: 1.015 MB / 1.066 GB, free: 156.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.602e-05/0.7131, allocations: 9.172 kB / 1.066 GB, free: 156.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.7131, allocations: 0 / 1.066 GB, free: 156.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003587/0.7135, allocations: 253.2 kB / 1.066 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000141/0.7136, allocations: 16.16 kB / 1.066 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005803/0.7142, allocations: 69.36 kB / 1.066 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001599/0.7144, allocations: 61.41 kB / 1.066 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001937/0.7163, allocations: 0.903 MB / 1.067 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002168/0.7185, allocations: 1.303 MB / 1.069 GB, free: 155.9 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000639/0.7192, allocations: 328.2 kB / 1.069 GB, free: 155.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006763/0.7199, allocations: 421.4 kB / 1.069 GB, free: 155.8 MB / 0.698 GB Notification: Performance of Backend: time 3.9e-07/0.7199, allocations: 0.7812 kB / 1.069 GB, free: 155.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003004/0.7229, allocations: 1.131 MB / 1.07 GB, free: 155.5 MB / 0.698 GB Notification: Performance of SimCode: time 0.003277/0.7262, allocations: 2.31 MB / 1.073 GB, free: 154 MB / 0.698 GB Notification: Performance of Templates: time 0.03502/0.7612, allocations: 13.83 MB / 1.086 GB, free: 147.9 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)