Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.666/1.666, allocations: 288.4 MB / 304.3 MB, free: 8.039 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.001123/0.001123, allocations: 191.2 kB / 372.9 MB, free: 10.14 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.558/1.558, allocations: 205.4 MB / 0.6316 GB, free: 9.926 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.0007821/0.0007821, allocations: 96.69 kB / 0.745 GB, free: 5.836 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005819/0.000582, allocations: 12.06 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1864/0.187, allocations: 115.3 MB / 0.9807 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.003587/0.1906, allocations: 3.549 MB / 0.9842 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.5058/0.6964, allocations: 136.4 MB / 1.117 GB, free: 2.359 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005888/0.6971, allocations: 18.75 kB / 1.117 GB, free: 2.352 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.000505/0.6976, allocations: 129.3 kB / 1.118 GB, free: 2.293 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.001214/0.6988, allocations: 346.1 kB / 1.118 GB, free: 2.203 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00165/0.7005, allocations: 0.5972 MB / 1.118 GB, free: 2.145 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0009012/0.7014, allocations: 1.028 MB / 1.119 GB, free: 1.973 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006929/0.7021, allocations: 0.5696 MB / 1.12 GB, free: 1.859 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003824/0.7025, allocations: 291.9 kB / 1.12 GB, free: 1.785 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003714/0.7028, allocations: 307.6 kB / 1.121 GB, free: 1.699 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 6.808e-05/0.7029, allocations: 21.81 kB / 1.121 GB, free: 1.699 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000677/0.7036, allocations: 277.5 kB / 1.121 GB, free: 1.684 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001672/0.7038, allocations: 163 kB / 1.121 GB, free: 1.648 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003213/0.7041, allocations: 388.4 kB / 1.121 GB, free: 17.48 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000903/0.705, allocations: 1.04 MB / 1.122 GB, free: 17.39 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.705, allocations: 0 / 1.122 GB, free: 17.39 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.263e-06/0.705, allocations: 0 / 1.122 GB, free: 17.39 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.184e-05/0.7051, allocations: 0 / 1.122 GB, free: 17.39 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: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.001701/0.7068, allocations: 1.097 MB / 1.124 GB, free: 16.69 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.7068, allocations: 12.66 kB / 1.124 GB, free: 16.68 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009884/0.7078, allocations: 206.3 kB / 1.124 GB, free: 16.62 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008523/0.7087, allocations: 0.7015 MB / 1.124 GB, free: 16.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.493e-05/0.7088, allocations: 60.62 kB / 1.124 GB, free: 16.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.707e-05/0.7089, allocations: 76.47 kB / 1.125 GB, free: 16.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001367/0.7102, allocations: 0.8681 MB / 1.125 GB, free: 16.14 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/0.7103, allocations: 0 / 1.125 GB, free: 16.14 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.063e-05/0.7103, allocations: 35.94 kB / 1.125 GB, free: 16.14 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/0.7104, allocations: 19.97 kB / 1.125 GB, free: 16.14 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001686/0.7121, allocations: 1.08 MB / 1.127 GB, free: 16.12 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003616/0.7157, allocations: 2.419 MB / 1.129 GB, free: 15.31 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001994/0.7177, allocations: 0.8237 MB / 1.13 GB, free: 15.25 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004706/0.7182, allocations: 288.4 kB / 1.13 GB, free: 15.25 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.011e-05/0.7183, allocations: 31.69 kB / 1.13 GB, free: 15.25 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007529/0.719, allocations: 456.2 kB / 1.13 GB, free: 15.16 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 3.667e-06/0.7191, allocations: 0 / 1.13 GB, free: 15.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.002765/0.7218, allocations: 1.125 MB / 1.132 GB, free: 14.95 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.616e-05/0.7219, allocations: 192.8 kB / 1.132 GB, free: 14.73 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006295/0.7226, allocations: 0.5597 MB / 1.132 GB, free: 14.61 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.044e-05/0.7226, allocations: 39.52 kB / 1.132 GB, free: 14.58 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002546/0.7229, allocations: 362.4 kB / 1.133 GB, free: 14.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.00018/0.7231, allocations: 247.4 kB / 1.133 GB, free: 14.25 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.419e-05/0.7231, allocations: 15.31 kB / 1.133 GB, free: 14.25 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.7233, allocations: 380.1 kB / 1.133 GB, free: 13.93 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000493/0.7238, allocations: 251.1 kB / 1.133 GB, free: 13.93 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005364/0.7243, allocations: 347.1 kB / 1.134 GB, free: 13.88 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/0.7254, allocations: 0.5835 MB / 1.134 GB, free: 13.82 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.7254, allocations: 1.375 kB / 1.134 GB, free: 13.82 MB / 0.698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001821/0.7272, allocations: 0.8105 MB / 1.135 GB, free: 13.65 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.7273, allocations: 8.438 kB / 1.135 GB, free: 13.65 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.7273, allocations: 5.031 kB / 1.135 GB, free: 13.65 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006149/0.7279, allocations: 87.36 kB / 1.135 GB, free: 13.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006873/0.7286, allocations: 150.7 kB / 1.135 GB, free: 13.58 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002165/0.7308, allocations: 1.527 MB / 1.137 GB, free: 12.21 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009282/0.7317, allocations: 86.27 kB / 1.137 GB, free: 12.17 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.047e-05/0.7318, allocations: 34.34 kB / 1.137 GB, free: 12.16 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.0006435/0.7325, allocations: 268.8 kB / 1.137 GB, free: 12.02 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001591/0.7326, allocations: 74.97 kB / 1.137 GB, free: 11.98 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002456/0.7351, allocations: 1.029 MB / 1.138 GB, free: 11.68 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.419e-05/0.7351, allocations: 5.234 kB / 1.138 GB, free: 11.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.7351, allocations: 0 / 1.138 GB, free: 11.68 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004716/0.7356, allocations: 275.6 kB / 1.139 GB, free: 11.49 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/0.7357, allocations: 14.19 kB / 1.139 GB, free: 11.49 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005625/0.7363, allocations: 65.41 kB / 1.139 GB, free: 11.47 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001626/0.7365, allocations: 65.03 kB / 1.139 GB, free: 11.44 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001992/0.7385, allocations: 0.9096 MB / 1.14 GB, free: 11.18 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002142/0.7406, allocations: 1.327 MB / 1.141 GB, free: 10.75 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000558/0.7412, allocations: 337.4 kB / 1.141 GB, free: 10.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006006/0.7418, allocations: 410.7 kB / 1.142 GB, free: 10.55 MB / 0.698 GB Notification: Performance of Backend: time 3e-07/0.7418, allocations: 7.938 kB / 1.142 GB, free: 10.54 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002928/0.7448, allocations: 1.145 MB / 1.143 GB, free: 10.09 MB / 0.698 GB Notification: Performance of SimCode: time 0.00317/0.748, allocations: 2.241 MB / 1.145 GB, free: 8.539 MB / 0.698 GB Notification: Performance of Templates: time 0.02407/0.772, allocations: 14.06 MB / 1.159 GB, free: 1.48 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)