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 2.651/2.651, allocations: 287.5 MB / 302.4 MB, free: 8.332 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.001458/0.001458, allocations: 170.1 kB / 371 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 2.192/2.192, allocations: 205.4 MB / 0.6297 GB, free: 10.57 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.001017/0.001017, allocations: 84.84 kB / 0.743 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005323/0.0005325, allocations: 14.78 kB / 0.8658 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2406/0.2412, allocations: 115.3 MB / 0.9783 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.005742/0.247, allocations: 3.569 MB / 0.9818 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.9111/1.158, allocations: 136.4 MB / 1.115 GB, free: 1.617 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001041/1.159, allocations: 14.59 kB / 1.115 GB, free: 1.613 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0007158/1.16, allocations: 129.5 kB / 1.115 GB, free: 1.555 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.002132/1.162, allocations: 344 kB / 1.116 GB, free: 1.465 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003332/1.166, allocations: 0.5996 MB / 1.116 GB, free: 1.402 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002342/1.168, allocations: 1.007 MB / 1.117 GB, free: 1.242 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001213/1.169, allocations: 447.9 kB / 1.118 GB, free: 1.18 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001006/1.17, allocations: 298.3 kB / 1.118 GB, free: 1.102 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007291/1.171, allocations: 316.4 kB / 1.118 GB, free: 1.012 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001565/1.171, allocations: 20.94 kB / 1.118 GB, free: 1.012 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001257/1.172, allocations: 258.3 kB / 1.118 GB, free: 1 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002821/1.173, allocations: 162.4 kB / 1.119 GB, free: 0.9648 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003679/1.173, allocations: 177.6 kB / 1.119 GB, free: 16.9 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002648/1.176, allocations: 1.032 MB / 1.12 GB, free: 16.82 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.746e-06/1.176, allocations: 0 / 1.12 GB, free: 16.82 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.208e-06/1.176, allocations: 1.125 kB / 1.12 GB, free: 16.82 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.274e-05/1.176, allocations: 0 / 1.12 GB, free: 16.82 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.00377/1.18, allocations: 1.11 MB / 1.121 GB, free: 16.11 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/1.18, allocations: 15.33 kB / 1.121 GB, free: 16.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001912/1.182, allocations: 210.2 kB / 1.121 GB, free: 16.04 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001992/1.184, allocations: 0.6725 MB / 1.122 GB, free: 15.75 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.649e-05/1.184, allocations: 64.42 kB / 1.122 GB, free: 15.74 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001652/1.184, allocations: 74.03 kB / 1.122 GB, free: 15.74 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002547/1.187, allocations: 0.8676 MB / 1.123 GB, free: 15.58 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.01e-05/1.187, allocations: 1.75 kB / 1.123 GB, free: 15.58 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001358/1.187, allocations: 32.94 kB / 1.123 GB, free: 15.58 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.599e-05/1.187, allocations: 23.17 kB / 1.123 GB, free: 15.58 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002972/1.19, allocations: 1.079 MB / 1.124 GB, free: 15.56 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006894/1.197, allocations: 2.407 MB / 1.126 GB, free: 14.77 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003652/1.2, allocations: 0.8131 MB / 1.127 GB, free: 14.72 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009034/1.201, allocations: 296.4 kB / 1.127 GB, free: 14.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001323/1.202, allocations: 30.81 kB / 1.127 GB, free: 14.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001331/1.203, allocations: 451.8 kB / 1.128 GB, free: 14.62 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 4.279e-06/1.203, allocations: 0 / 1.128 GB, free: 14.62 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.005109/1.208, allocations: 1.128 MB / 1.129 GB, free: 14.42 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001421/1.208, allocations: 191.8 kB / 1.129 GB, free: 14.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001106/1.209, allocations: 0.565 MB / 1.129 GB, free: 14.07 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002284/1.21, allocations: 38.05 kB / 1.13 GB, free: 14.04 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004134/1.21, allocations: 363.8 kB / 1.13 GB, free: 13.86 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004358/1.211, allocations: 240.8 kB / 1.13 GB, free: 13.71 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.703e-05/1.211, allocations: 15.41 kB / 1.13 GB, free: 13.71 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002415/1.211, allocations: 375 kB / 1.13 GB, free: 13.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000937/1.212, allocations: 261.3 kB / 1.131 GB, free: 13.39 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009932/1.213, allocations: 340.5 kB / 1.131 GB, free: 13.34 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/1.214, allocations: 299.4 kB / 1.131 GB, free: 13.32 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/1.214, allocations: 0 / 1.131 GB, free: 13.32 MB / 0.698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003377/1.217, allocations: 0.8122 MB / 1.132 GB, free: 13.21 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.326e-05/1.217, allocations: 6.656 kB / 1.132 GB, free: 13.21 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/1.217, allocations: 1.906 kB / 1.132 GB, free: 13.21 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001013/1.218, allocations: 86.39 kB / 1.132 GB, free: 13.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001389/1.22, allocations: 152.6 kB / 1.132 GB, free: 13.19 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003147/1.223, allocations: 1.537 MB / 1.134 GB, free: 11.88 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001399/1.224, allocations: 82.69 kB / 1.134 GB, free: 11.86 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001143/1.225, allocations: 33.59 kB / 1.134 GB, free: 11.86 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.0007409/1.225, allocations: 265 kB / 1.134 GB, free: 11.72 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002393/1.226, allocations: 78.39 kB / 1.134 GB, free: 11.68 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004114/1.23, allocations: 1.031 MB / 1.135 GB, free: 11.54 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.812e-05/1.23, allocations: 8.188 kB / 1.135 GB, free: 11.54 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/1.23, allocations: 9.312 kB / 1.135 GB, free: 11.53 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.977e-05/1.23, allocations: 4.266 kB / 1.135 GB, free: 11.53 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001955/1.232, allocations: 0.8507 MB / 1.136 GB, free: 11.31 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.618e-06/1.232, allocations: 1.375 kB / 1.136 GB, free: 11.31 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001328/1.233, allocations: 146.8 kB / 1.136 GB, free: 11.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009058/1.234, allocations: 87.02 kB / 1.136 GB, free: 11.29 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001151/1.234, allocations: 22.19 kB / 1.136 GB, free: 11.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00295/1.237, allocations: 1.558 MB / 1.138 GB, free: 9.984 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/1.237, allocations: 0 / 1.138 GB, free: 9.984 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003456/1.241, allocations: 0.869 MB / 1.139 GB, free: 9.832 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006422/1.241, allocations: 273.3 kB / 1.139 GB, free: 9.684 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00018/1.242, allocations: 21.98 kB / 1.139 GB, free: 9.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001081/1.243, allocations: 71.02 kB / 1.139 GB, free: 9.66 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001957/1.243, allocations: 62.92 kB / 1.139 GB, free: 9.633 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001093/1.243, allocations: 31.83 kB / 1.139 GB, free: 9.629 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008808/1.244, allocations: 412.7 kB / 1.14 GB, free: 9.473 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.21e-07/1.244, allocations: 0 / 1.14 GB, free: 9.473 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001406/1.245, allocations: 270.4 kB / 1.14 GB, free: 9.422 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001932/1.247, allocations: 0.5478 MB / 1.14 GB, free: 9.191 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003214/1.251, allocations: 0.7984 MB / 1.141 GB, free: 8.945 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/1.251, allocations: 0 / 1.141 GB, free: 8.945 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001715/1.252, allocations: 0.4962 MB / 1.142 GB, free: 8.762 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002191/1.255, allocations: 254.7 kB / 1.142 GB, free: 8.684 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007293/1.262, allocations: 2.042 MB / 1.144 GB, free: 7.562 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009509/1.263, allocations: 0.9969 MB / 1.145 GB, free: 6.742 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001821/1.265, allocations: 257.6 kB / 1.145 GB, free: 6.613 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004531/1.265, allocations: 99.66 kB / 1.145 GB, free: 6.59 MB / 0.698 GB Notification: Performance of SimCode: time 1.553e-06/1.265, allocations: 4 kB / 1.145 GB, free: 6.586 MB / 0.698 GB Notification: Performance of Templates: time 0.04038/1.306, allocations: 12.76 MB / 1.158 GB, free: 204 kB / 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)