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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.771/1.771, allocations: 292.3 MB / 308.1 MB, free: 4.309 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.001393/0.001393, allocations: 194.3 kB / 376.9 MB, free: 1.785 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.687/1.687, allocations: 205.1 MB / 0.6354 GB, free: 9.758 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009978/0.0009974, allocations: 91.83 kB / 0.7479 GB, free: 61.26 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001164, allocations: 55.92 kB / 0.8704 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.297, allocations: 114.5 MB / 0.9822 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.007076/0.3041, allocations: 4.163 MB / 0.9863 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.8489/1.153, allocations: 147.9 MB / 1.131 GB, free: 7.156 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001311/1.154, allocations: 13.72 kB / 1.131 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0008787/1.155, allocations: 128.7 kB / 1.131 GB, free: 7.078 MB / 0.7448 GB [/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‘. Notification: Performance of NFTyping.typeBindings: time 0.001979/1.157, allocations: 358.8 kB / 1.131 GB, free: 6.883 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.002353/1.16, allocations: 0.6727 MB / 1.132 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001713/1.161, allocations: 1.096 MB / 1.133 GB, free: 5.996 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001242/1.163, allocations: 0.5812 MB / 1.133 GB, free: 5.699 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009661/1.164, allocations: 373.5 kB / 1.134 GB, free: 5.531 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001168/1.165, allocations: 417.5 kB / 1.134 GB, free: 5.324 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0004017/1.165, allocations: 51.97 kB / 1.134 GB, free: 5.324 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001394/1.167, allocations: 324.8 kB / 1.135 GB, free: 5.246 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0004121/1.167, allocations: 211.4 kB / 1.135 GB, free: 5.133 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0007146/1.168, allocations: 447.1 kB / 1.135 GB, free: 4.844 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0019/1.17, allocations: 1.358 MB / 1.137 GB, free: 4.273 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/1.17, allocations: 0 / 1.137 GB, free: 4.273 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.183e-06/1.17, allocations: 0.5625 kB / 1.137 GB, free: 4.273 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.259e-05/1.17, allocations: 2.844 kB / 1.137 GB, free: 4.273 MB / 0.7448 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.003097/1.173, allocations: 1.29 MB / 1.138 GB, free: 3.379 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/1.173, allocations: 9.375 kB / 1.138 GB, free: 3.379 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001068/1.174, allocations: 204.9 kB / 1.138 GB, free: 3.316 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009444/1.175, allocations: 0.6957 MB / 1.139 GB, free: 2.852 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.351e-05/1.175, allocations: 59.19 kB / 1.139 GB, free: 2.824 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.4e-05/1.175, allocations: 79.31 kB / 1.139 GB, free: 2.797 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001317/1.176, allocations: 0.8631 MB / 1.14 GB, free: 2.398 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/1.177, allocations: 3.938 kB / 1.14 GB, free: 2.395 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.1e-05/1.177, allocations: 41.81 kB / 1.14 GB, free: 2.363 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/1.177, allocations: 16.34 kB / 1.14 GB, free: 2.363 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001498/1.178, allocations: 1.074 MB / 1.141 GB, free: 2.121 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003198/1.181, allocations: 2.385 MB / 1.143 GB, free: 0.7656 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001985/1.183, allocations: 0.8123 MB / 1.144 GB, free: 492 kB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004573/1.184, allocations: 293.4 kB / 1.144 GB, free: 380 kB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.076e-05/1.184, allocations: 24.33 kB / 1.144 GB, free: 368 kB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007225/1.185, allocations: 449.7 kB / 1.145 GB, free: 176 kB / 0.7448 GB Notification: Performance of pre-optimization done (n=73): time 1.994e-06/1.185, allocations: 0 / 1.145 GB, free: 176 kB / 0.7448 GB Notification: Performance of matching and sorting (n=73): time 0.002839/1.187, allocations: 1.12 MB / 1.146 GB, free: 15.69 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001191/1.188, allocations: 190.7 kB / 1.146 GB, free: 15.47 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007077/1.188, allocations: 0.5625 MB / 1.146 GB, free: 15.22 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 7.847e-05/1.188, allocations: 36.95 kB / 1.146 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003255/1.189, allocations: 371.5 kB / 1.147 GB, free: 14.89 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002205/1.189, allocations: 244 kB / 1.147 GB, free: 14.7 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002437/1.189, allocations: 155.8 kB / 1.147 GB, free: 14.63 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000193/1.189, allocations: 375.5 kB / 1.148 GB, free: 14.29 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005159/1.19, allocations: 252.9 kB / 1.148 GB, free: 14.2 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005875/1.191, allocations: 345.3 kB / 1.148 GB, free: 14.05 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001065/1.192, allocations: 0.5836 MB / 1.149 GB, free: 13.78 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/1.192, allocations: 4.094 kB / 1.149 GB, free: 13.78 MB / 0.7605 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001931/1.194, allocations: 0.8048 MB / 1.15 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/1.194, allocations: 3.25 kB / 1.15 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/1.194, allocations: 3.219 kB / 1.15 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005925/1.194, allocations: 89.53 kB / 1.15 GB, free: 13.43 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006003/1.195, allocations: 151 kB / 1.15 GB, free: 13.42 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002184/1.197, allocations: 1.53 MB / 1.151 GB, free: 11.98 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006785/1.198, allocations: 71.27 kB / 1.151 GB, free: 11.94 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-05/1.198, allocations: 37.39 kB / 1.151 GB, free: 11.93 MB / 0.7605 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.0005556/1.198, allocations: 266.3 kB / 1.152 GB, free: 11.73 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001558/1.199, allocations: 73.94 kB / 1.152 GB, free: 11.69 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002355/1.201, allocations: 1.024 MB / 1.153 GB, free: 11.29 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.667e-06/1.201, allocations: 9.812 kB / 1.153 GB, free: 11.29 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/1.201, allocations: 0 / 1.153 GB, free: 11.29 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.347e-06/1.201, allocations: 6.906 kB / 1.153 GB, free: 11.29 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/1.202, allocations: 0.8475 MB / 1.154 GB, free: 10.82 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/1.202, allocations: 3.625 kB / 1.154 GB, free: 10.82 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005533/1.203, allocations: 143.6 kB / 1.154 GB, free: 10.81 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005085/1.203, allocations: 86 kB / 1.154 GB, free: 10.79 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.564e-05/1.203, allocations: 25.45 kB / 1.154 GB, free: 10.78 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001894/1.205, allocations: 1.569 MB / 1.155 GB, free: 9.312 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.205, allocations: 144 / 1.155 GB, free: 9.312 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002924/1.208, allocations: 1.885 MB / 1.157 GB, free: 8.152 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004202/1.208, allocations: 259.1 kB / 1.157 GB, free: 7.961 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/1.209, allocations: 26.73 kB / 1.157 GB, free: 7.941 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005165/1.209, allocations: 49.19 kB / 1.157 GB, free: 7.934 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/1.209, allocations: 57.42 kB / 1.158 GB, free: 7.926 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.64e-05/1.209, allocations: 37.59 kB / 1.158 GB, free: 7.918 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0005121/1.21, allocations: 418.7 kB / 1.158 GB, free: 7.727 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.4e-07/1.21, allocations: 0 / 1.158 GB, free: 7.727 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0009177/1.211, allocations: 277 kB / 1.158 GB, free: 7.645 MB / 0.7605 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 (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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001371/1.212, allocations: 0.5653 MB / 1.159 GB, free: 7.387 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001656/1.214, allocations: 0.775 MB / 1.16 GB, free: 7.066 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/1.214, allocations: 4.188 kB / 1.16 GB, free: 7.062 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0008639/1.215, allocations: 0.4899 MB / 1.16 GB, free: 6.836 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001107/1.216, allocations: 260.5 kB / 1.16 GB, free: 6.758 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004491/1.22, allocations: 2.488 MB / 1.163 GB, free: 5.246 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006221/1.221, allocations: 1.018 MB / 1.164 GB, free: 4.516 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0009494/1.222, allocations: 267.1 kB / 1.164 GB, free: 4.457 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002373/1.222, allocations: 100 kB / 1.164 GB, free: 4.438 MB / 0.7605 GB Notification: Performance of SimCode: time 9.81e-07/1.222, allocations: 0 / 1.164 GB, free: 4.438 MB / 0.7605 GB Notification: Performance of Templates: time 0.0245/1.247, allocations: 13.58 MB / 1.177 GB, free: 3.328 MB / 0.7605 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)