Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.623/1.623, allocations: 288.4 MB / 304.3 MB, free: 8.152 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.0009177/0.0009179, allocations: 189.2 kB / 372.9 MB, free: 10.15 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.525/1.525, allocations: 205.4 MB / 0.6316 GB, free: 9.914 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.0008515/0.0008515, allocations: 101.4 kB / 0.745 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003706/0.0003706, allocations: 15.38 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1999/0.2002, allocations: 115.3 MB / 0.9807 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.003576/0.2039, allocations: 3.553 MB / 0.9842 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.5609/0.7648, allocations: 136.4 MB / 1.117 GB, free: 2.383 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007136/0.7656, allocations: 18.22 kB / 1.117 GB, free: 2.375 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004439/0.766, allocations: 126.7 kB / 1.118 GB, free: 2.316 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.001614/0.7676, allocations: 357.8 kB / 1.118 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002164/0.7698, allocations: 0.582 MB / 1.118 GB, free: 2.168 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001148/0.771, allocations: 1.039 MB / 1.12 GB, free: 1.992 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008043/0.7718, allocations: 0.5637 MB / 1.12 GB, free: 1.883 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005835/0.7724, allocations: 297.9 kB / 1.12 GB, free: 1.805 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003981/0.7728, allocations: 312.1 kB / 1.121 GB, free: 1.715 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 6.874e-05/0.7729, allocations: 21.84 kB / 1.121 GB, free: 1.715 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007593/0.7736, allocations: 276.4 kB / 1.121 GB, free: 1.699 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001747/0.7738, allocations: 162.2 kB / 1.121 GB, free: 1.664 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.000323/0.7741, allocations: 389.6 kB / 1.121 GB, free: 1.5 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001082/0.7752, allocations: 1.013 MB / 1.122 GB, free: 1.418 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.7752, allocations: 1.75 kB / 1.122 GB, free: 1.418 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.102e-06/0.7753, allocations: 0 / 1.122 GB, free: 1.418 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.358e-05/0.7753, allocations: 4 kB / 1.122 GB, free: 1.414 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.001819/0.7771, allocations: 1.1 MB / 1.124 GB, free: 16.71 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.7771, allocations: 9.188 kB / 1.124 GB, free: 16.71 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008729/0.778, allocations: 187.8 kB / 1.124 GB, free: 16.65 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008784/0.7789, allocations: 0.7008 MB / 1.124 GB, free: 16.33 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.146e-05/0.779, allocations: 59.19 kB / 1.124 GB, free: 16.32 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.84e-05/0.7791, allocations: 72.72 kB / 1.125 GB, free: 16.32 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/0.7803, allocations: 0.8535 MB / 1.125 GB, free: 16.17 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.7803, allocations: 4 kB / 1.125 GB, free: 16.17 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.476e-05/0.7804, allocations: 32.19 kB / 1.125 GB, free: 16.17 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.526e-05/0.7804, allocations: 18.5 kB / 1.125 GB, free: 16.17 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00143/0.7818, allocations: 1.057 MB / 1.126 GB, free: 16.15 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003522/0.7853, allocations: 2.41 MB / 1.129 GB, free: 15.32 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001243/0.7866, allocations: 0.8014 MB / 1.13 GB, free: 15.18 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004671/0.7871, allocations: 280.1 kB / 1.13 GB, free: 15.18 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.907e-05/0.7872, allocations: 32.3 kB / 1.13 GB, free: 15.17 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007223/0.7879, allocations: 430.6 kB / 1.13 GB, free: 15.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 3.637e-06/0.7879, allocations: 3.938 kB / 1.13 GB, free: 15.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.002867/0.7908, allocations: 1.093 MB / 1.131 GB, free: 14.88 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.281e-05/0.7909, allocations: 193.5 kB / 1.132 GB, free: 14.66 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007791/0.7917, allocations: 0.5544 MB / 1.132 GB, free: 14.54 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.87e-05/0.7918, allocations: 42.02 kB / 1.132 GB, free: 14.51 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002608/0.7921, allocations: 365.8 kB / 1.132 GB, free: 14.33 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001808/0.7922, allocations: 236.9 kB / 1.133 GB, free: 14.18 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-05/0.7923, allocations: 15.16 kB / 1.133 GB, free: 14.18 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.7925, allocations: 382.3 kB / 1.133 GB, free: 13.87 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004467/0.7929, allocations: 233.7 kB / 1.133 GB, free: 13.87 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005655/0.7935, allocations: 334.3 kB / 1.134 GB, free: 13.82 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009358/0.7944, allocations: 0.5543 MB / 1.134 GB, free: 13.77 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.7944, allocations: 11 kB / 1.134 GB, free: 13.76 MB / 0.698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001676/0.7961, allocations: 0.7827 MB / 1.135 GB, free: 13.65 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.7962, allocations: 7.094 kB / 1.135 GB, free: 13.65 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.7962, allocations: 1.219 kB / 1.135 GB, free: 13.65 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005756/0.7968, allocations: 80.77 kB / 1.135 GB, free: 13.64 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006385/0.7974, allocations: 151.5 kB / 1.135 GB, free: 13.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001931/0.7993, allocations: 1.524 MB / 1.137 GB, free: 12.23 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006475/0.8, allocations: 89.44 kB / 1.137 GB, free: 12.19 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.687e-05/0.8001, allocations: 43.84 kB / 1.137 GB, free: 12.17 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 (84): * Single equations (assignments): 83 * 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.0004027/0.8005, allocations: 249.4 kB / 1.137 GB, free: 12.04 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.8006, allocations: 73.88 kB / 1.137 GB, free: 12 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002129/0.8027, allocations: 1.015 MB / 1.138 GB, free: 11.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/0.8028, allocations: 5.141 kB / 1.138 GB, free: 11.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.8028, allocations: 4 kB / 1.138 GB, free: 11.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003533/0.8031, allocations: 268.7 kB / 1.138 GB, free: 11.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.78e-05/0.8032, allocations: 17.56 kB / 1.138 GB, free: 11.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005206/0.8038, allocations: 68.91 kB / 1.138 GB, free: 11.48 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/0.8039, allocations: 62.89 kB / 1.138 GB, free: 11.46 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00179/0.8057, allocations: 0.8913 MB / 1.139 GB, free: 11.2 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001918/0.8076, allocations: 1.292 MB / 1.141 GB, free: 10.79 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004918/0.8081, allocations: 329.8 kB / 1.141 GB, free: 10.73 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005036/0.8087, allocations: 414.8 kB / 1.141 GB, free: 10.57 MB / 0.698 GB Notification: Performance of Backend: time 8.72e-07/0.8087, allocations: 1.656 kB / 1.141 GB, free: 10.57 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002767/0.8114, allocations: 1.137 MB / 1.142 GB, free: 10.11 MB / 0.698 GB Notification: Performance of SimCode: time 0.002983/0.8144, allocations: 2.247 MB / 1.145 GB, free: 8.547 MB / 0.698 GB Notification: Performance of Templates: time 0.02534/0.8398, allocations: 13.64 MB / 1.158 GB, free: 1.707 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)