Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.623/1.623, allocations: 287.4 MB / 303.2 MB, free: 8.246 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.001/0.001, allocations: 178.1 kB / 371.8 MB, free: 10.84 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.548/1.548, allocations: 205.4 MB / 0.6305 GB, free: 10.6 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.001067/0.001067, allocations: 96.91 kB / 0.7438 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004226/0.000423, allocations: 16.05 kB / 0.8667 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.2061, allocations: 115.3 MB / 0.9793 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.003979/0.2101, allocations: 3.557 MB / 0.9827 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.774/0.9841, allocations: 136.4 MB / 1.116 GB, free: 1.691 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00105/0.9852, allocations: 14.09 kB / 1.116 GB, free: 1.688 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006382/0.9859, allocations: 128.7 kB / 1.116 GB, free: 1.629 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0/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.0/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.0/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.001773/0.9877, allocations: 342.9 kB / 1.116 GB, free: 1.539 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002676/0.9904, allocations: 0.5991 MB / 1.117 GB, free: 1.48 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001685/0.9921, allocations: 1.027 MB / 1.118 GB, free: 1.309 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00114/0.9932, allocations: 0.5645 MB / 1.119 GB, free: 1.207 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006529/0.9939, allocations: 298.7 kB / 1.119 GB, free: 1.125 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000548/0.9944, allocations: 310.4 kB / 1.119 GB, free: 1.039 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001146/0.9946, allocations: 21.34 kB / 1.119 GB, free: 1.039 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001003/0.9956, allocations: 265.2 kB / 1.119 GB, free: 1.023 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002464/0.9959, allocations: 163.6 kB / 1.12 GB, free: 0.9883 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002514/0.9961, allocations: 182.1 kB / 1.12 GB, free: 16.92 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001711/0.9978, allocations: 1.025 MB / 1.121 GB, free: 16.84 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.9979, allocations: 5.688 kB / 1.121 GB, free: 16.84 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.474e-06/0.9979, allocations: 0.9688 kB / 1.121 GB, free: 16.84 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.578e-05/0.9979, allocations: 4 kB / 1.121 GB, free: 16.84 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.002739/1.001, allocations: 1.097 MB / 1.122 GB, free: 16.13 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.351e-05/1.001, allocations: 9.797 kB / 1.122 GB, free: 16.13 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001768/1.003, allocations: 204.4 kB / 1.122 GB, free: 16.07 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001776/1.004, allocations: 0.7107 MB / 1.123 GB, free: 15.75 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.256e-05/1.004, allocations: 59.84 kB / 1.123 GB, free: 15.74 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001881/1.005, allocations: 77.56 kB / 1.123 GB, free: 15.74 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002454/1.007, allocations: 0.8637 MB / 1.124 GB, free: 15.59 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.806e-05/1.007, allocations: 0 / 1.124 GB, free: 15.59 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001137/1.007, allocations: 32.72 kB / 1.124 GB, free: 15.59 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.228e-05/1.007, allocations: 19.53 kB / 1.124 GB, free: 15.59 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002569/1.01, allocations: 1.082 MB / 1.125 GB, free: 15.57 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005779/1.016, allocations: 2.409 MB / 1.127 GB, free: 14.77 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003204/1.019, allocations: 0.8172 MB / 1.128 GB, free: 14.72 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000766/1.02, allocations: 293.2 kB / 1.128 GB, free: 14.71 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001011/1.02, allocations: 32.83 kB / 1.128 GB, free: 14.71 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001149/1.021, allocations: 447.4 kB / 1.129 GB, free: 14.63 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 4.879e-06/1.021, allocations: 0 / 1.129 GB, free: 14.63 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.00434/1.025, allocations: 1.128 MB / 1.13 GB, free: 14.42 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001187/1.026, allocations: 192.9 kB / 1.13 GB, free: 14.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/1.027, allocations: 0.5554 MB / 1.131 GB, free: 14.08 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000127/1.027, allocations: 43.36 kB / 1.131 GB, free: 14.05 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003745/1.027, allocations: 361.5 kB / 1.131 GB, free: 13.87 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002977/1.027, allocations: 246.5 kB / 1.131 GB, free: 13.71 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5e-05/1.028, allocations: 14.44 kB / 1.131 GB, free: 13.71 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000204/1.028, allocations: 378.6 kB / 1.132 GB, free: 13.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007923/1.029, allocations: 254.8 kB / 1.132 GB, free: 13.39 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009103/1.029, allocations: 344.9 kB / 1.132 GB, free: 13.34 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00164/1.031, allocations: 0.5868 MB / 1.133 GB, free: 13.28 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/1.031, allocations: 0 / 1.133 GB, free: 13.28 MB / 0.698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00288/1.034, allocations: 0.8099 MB / 1.133 GB, free: 13.17 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/1.034, allocations: 5.562 kB / 1.133 GB, free: 13.17 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/1.034, allocations: 4.781 kB / 1.133 GB, free: 13.17 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008411/1.035, allocations: 84.53 kB / 1.134 GB, free: 13.16 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001055/1.036, allocations: 156.2 kB / 1.134 GB, free: 13.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00283/1.039, allocations: 1.535 MB / 1.135 GB, free: 11.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001148/1.04, allocations: 85.66 kB / 1.135 GB, free: 11.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001155/1.04, allocations: 34.97 kB / 1.135 GB, free: 11.8 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.0007692/1.041, allocations: 263.4 kB / 1.136 GB, free: 11.67 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002032/1.041, allocations: 77.31 kB / 1.136 GB, free: 11.63 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003686/1.045, allocations: 1.03 MB / 1.137 GB, free: 11.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.053e-05/1.045, allocations: 7.484 kB / 1.137 GB, free: 11.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/1.045, allocations: 0 / 1.137 GB, free: 11.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006924/1.046, allocations: 266 kB / 1.137 GB, free: 11.35 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000162/1.046, allocations: 19.27 kB / 1.137 GB, free: 11.35 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009042/1.047, allocations: 69.48 kB / 1.137 GB, free: 11.35 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001757/1.047, allocations: 59.7 kB / 1.137 GB, free: 11.34 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002909/1.05, allocations: 0.9116 MB / 1.138 GB, free: 11.19 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003346/1.053, allocations: 1.332 MB / 1.139 GB, free: 10.89 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008949/1.054, allocations: 332.5 kB / 1.14 GB, free: 10.89 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008823/1.055, allocations: 412.7 kB / 1.14 GB, free: 10.79 MB / 0.698 GB Notification: Performance of Backend: time 6.91e-07/1.055, allocations: 1.344 kB / 1.14 GB, free: 10.79 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004536/1.06, allocations: 1.136 MB / 1.141 GB, free: 10.38 MB / 0.698 GB Notification: Performance of SimCode: time 0.004598/1.064, allocations: 2.253 MB / 1.143 GB, free: 8.816 MB / 0.698 GB Notification: Performance of Templates: time 0.0277/1.092, allocations: 13.92 MB / 1.157 GB, free: 1.848 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)