Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 112 kB / 16.38 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 191.3 kB / 17.31 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.361/1.361, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.854/1.854, allocations: 292.3 MB / 0.5496 GB, free: 17.44 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 67.91 kB / 0.6729 GB, free: 5.852 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2243/0.2258, allocations: 114.6 MB / 0.7848 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.3892/0.6151, allocations: 4.135 MB / 0.7888 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.2116/0.8267, allocations: 150.2 MB / 0.9355 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007804/0.8275, allocations: 19.88 kB / 0.9355 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0006454/0.8282, allocations: 166.5 kB / 0.9357 GB, free: 15.52 MB / 0.7325 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.001712/0.83, allocations: 417.4 kB / 0.9361 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001976/0.8319, allocations: 0.7738 MB / 0.9369 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001429/0.8334, allocations: 1.18 MB / 0.938 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009249/0.8343, allocations: 0.5917 MB / 0.9386 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006461/0.835, allocations: 430.5 kB / 0.939 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006516/0.8356, allocations: 447.4 kB / 0.9394 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002123/0.8359, allocations: 104 kB / 0.9395 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008007/0.8367, allocations: 399.7 kB / 0.9399 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002927/0.837, allocations: 267.1 kB / 0.9402 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0005653/0.8375, allocations: 497.3 kB / 0.9406 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001733/0.8393, allocations: 1.425 MB / 0.942 GB, free: 9.035 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.8393, allocations: 0 / 0.942 GB, free: 9.035 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.393e-06/0.8393, allocations: 0 / 0.942 GB, free: 9.035 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.995e-05/0.8394, allocations: 4 kB / 0.942 GB, free: 9.031 MB / 0.7325 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.002302/0.8417, allocations: 1.29 MB / 0.9433 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.8417, allocations: 8.031 kB / 0.9433 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001078/0.8428, allocations: 199.5 kB / 0.9435 GB, free: 7.492 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009821/0.8438, allocations: 0.7267 MB / 0.9442 GB, free: 6.719 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.244e-05/0.8439, allocations: 58 kB / 0.9442 GB, free: 6.664 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.889e-05/0.8439, allocations: 76 kB / 0.9443 GB, free: 6.59 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001375/0.8453, allocations: 0.8618 MB / 0.9452 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.8454, allocations: 4 kB / 0.9452 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.4e-05/0.8454, allocations: 40 kB / 0.9452 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.617e-05/0.8455, allocations: 19.94 kB / 0.9452 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00175/0.8472, allocations: 1.073 MB / 0.9463 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003774/0.851, allocations: 2.361 MB / 0.9486 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00221/0.8532, allocations: 0.8141 MB / 0.9494 GB, free: 1.305 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005412/0.8538, allocations: 298.6 kB / 0.9497 GB, free: 1.008 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.594e-05/0.8539, allocations: 32.69 kB / 0.9497 GB, free: 0.9766 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008391/0.8547, allocations: 443.2 kB / 0.9501 GB, free: 0.5273 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=73): time 3.016e-06/0.8547, allocations: 0 / 0.9501 GB, free: 0.5273 MB / 0.7325 GB Notification: Performance of matching and sorting (n=73): time 0.003081/0.8578, allocations: 1.12 MB / 0.9512 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.878e-05/0.8579, allocations: 192.6 kB / 0.9514 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007378/0.8587, allocations: 0.5577 MB / 0.9519 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 6.722e-05/0.8588, allocations: 41.7 kB / 0.952 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003129/0.8591, allocations: 360.3 kB / 0.9523 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002137/0.8593, allocations: 244.5 kB / 0.9526 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002557/0.8596, allocations: 152 kB / 0.9527 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001723/0.8598, allocations: 378.8 kB / 0.9531 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005487/0.8603, allocations: 253.9 kB / 0.9533 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006484/0.861, allocations: 343.1 kB / 0.9536 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001169/0.8622, allocations: 0.5838 MB / 0.9542 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.8622, allocations: 0 / 0.9542 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002137/0.8643, allocations: 0.8136 MB / 0.955 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.8644, allocations: 8.781 kB / 0.955 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.8644, allocations: 1.812 kB / 0.955 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005971/0.865, allocations: 84.86 kB / 0.9551 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006315/0.8656, allocations: 147.8 kB / 0.9552 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002249/0.8679, allocations: 1.647 MB / 0.9568 GB, free: 9.348 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007011/0.8686, allocations: 77.52 kB / 0.9569 GB, free: 9.273 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.319e-05/0.8687, allocations: 39.97 kB / 0.9569 GB, free: 9.234 MB / 0.7481 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.0004753/0.8692, allocations: 257.7 kB / 0.9572 GB, free: 8.973 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000221/0.8694, allocations: 71.16 kB / 0.9573 GB, free: 8.902 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002379/0.8718, allocations: 0.9633 MB / 0.9582 GB, free: 7.934 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.27e-05/0.8718, allocations: 3.984 kB / 0.9582 GB, free: 7.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.8718, allocations: 1.406 kB / 0.9582 GB, free: 7.93 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004114/0.8722, allocations: 255.8 kB / 0.9584 GB, free: 7.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001444/0.8724, allocations: 19.98 kB / 0.9585 GB, free: 7.641 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005792/0.873, allocations: 51.95 kB / 0.9585 GB, free: 7.59 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/0.8731, allocations: 60.91 kB / 0.9586 GB, free: 7.531 MB / 0.7481 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002011/0.8751, allocations: 0.8967 MB / 0.9594 GB, free: 6.621 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00223/0.8774, allocations: 1.321 MB / 0.9607 GB, free: 5.285 MB / 0.7481 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005754/0.878, allocations: 335.8 kB / 0.9611 GB, free: 4.957 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0005572/0.8785, allocations: 419 kB / 0.9615 GB, free: 4.547 MB / 0.7481 GB Notification: Performance of Backend: time 5.51e-07/0.8785, allocations: 0 / 0.9615 GB, free: 4.547 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003156/0.8817, allocations: 1.149 MB / 0.9626 GB, free: 3.656 MB / 0.7481 GB Notification: Performance of SimCode: time 0.002951/0.8847, allocations: 1.939 MB / 0.9645 GB, free: 1.691 MB / 0.7481 GB Notification: Performance of Templates: time 0.02545/0.9101, allocations: 14.93 MB / 0.9791 GB, free: 2.98 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)