Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.627/1.627, allocations: 288.4 MB / 303.4 MB, free: 8.172 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.0009831/0.0009832, allocations: 185.5 kB / 372 MB, free: 10.22 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.774/1.774, allocations: 205.4 MB / 0.6307 GB, free: 9.957 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.0008296/0.0008296, allocations: 78.44 kB / 0.7441 GB, free: 5.891 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004106/0.0004106, allocations: 14.02 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2455, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.004695/0.2503, allocations: 3.857 MB / 0.9833 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7806/1.031, allocations: 136.6 MB / 1.117 GB, free: 2.254 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008401/1.032, allocations: 19.69 kB / 1.117 GB, free: 2.246 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005483/1.032, allocations: 134.7 kB / 1.117 GB, free: 2.184 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.00141/1.034, allocations: 365.9 kB / 1.117 GB, free: 2.082 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002183/1.036, allocations: 0.6146 MB / 1.118 GB, free: 2.02 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001583/1.038, allocations: 1.121 MB / 1.119 GB, free: 1.836 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001124/1.039, allocations: 0.6614 MB / 1.12 GB, free: 1.711 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005857/1.039, allocations: 333.8 kB / 1.12 GB, free: 1.613 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005006/1.04, allocations: 371.1 kB / 1.12 GB, free: 1.492 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 9.443e-05/1.04, allocations: 27.34 kB / 1.12 GB, free: 1.488 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008276/1.041, allocations: 268.5 kB / 1.12 GB, free: 1.473 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002379/1.041, allocations: 188.5 kB / 1.121 GB, free: 1.426 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002992/1.041, allocations: 220 kB / 1.121 GB, free: 17.35 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001437/1.043, allocations: 1.264 MB / 1.122 GB, free: 17.25 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/1.043, allocations: 0 / 1.122 GB, free: 17.25 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.024e-06/1.043, allocations: 0 / 1.122 GB, free: 17.25 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.752e-05/1.043, allocations: 1.219 kB / 1.122 GB, free: 17.25 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.002255/1.045, allocations: 1.308 MB / 1.123 GB, free: 16.46 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/1.045, allocations: 12.14 kB / 1.123 GB, free: 16.46 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009/1.046, allocations: 220.4 kB / 1.124 GB, free: 16.39 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001113/1.047, allocations: 0.772 MB / 1.124 GB, free: 16.06 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.346e-05/1.047, allocations: 83.5 kB / 1.124 GB, free: 16.05 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001523/1.047, allocations: 108.6 kB / 1.125 GB, free: 16.05 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002058/1.049, allocations: 1.112 MB / 1.126 GB, free: 15.87 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.316e-05/1.049, allocations: 3.953 kB / 1.126 GB, free: 15.87 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.61e-05/1.05, allocations: 47.44 kB / 1.126 GB, free: 15.87 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.329e-05/1.05, allocations: 25.38 kB / 1.126 GB, free: 15.87 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001982/1.052, allocations: 1.224 MB / 1.127 GB, free: 15.84 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004624/1.056, allocations: 3.008 MB / 1.13 GB, free: 14.91 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001325/1.058, allocations: 0.7746 MB / 1.131 GB, free: 14.86 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004663/1.058, allocations: 301.6 kB / 1.131 GB, free: 14.85 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.507e-05/1.058, allocations: 28.97 kB / 1.131 GB, free: 14.85 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000789/1.059, allocations: 443.9 kB / 1.131 GB, free: 14.77 MB / 0.698 GB Notification: Performance of pre-optimization done (n=78): time 3.446e-06/1.059, allocations: 0 / 1.131 GB, free: 14.77 MB / 0.698 GB Notification: Performance of matching and sorting (n=78): time 0.002913/1.062, allocations: 1.148 MB / 1.132 GB, free: 14.49 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/1.062, allocations: 188.3 kB / 1.133 GB, free: 14.27 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000814/1.063, allocations: 0.6668 MB / 1.133 GB, free: 14.03 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.848e-05/1.063, allocations: 41.92 kB / 1.133 GB, free: 14 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003679/1.063, allocations: 496.5 kB / 1.134 GB, free: 13.71 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002056/1.064, allocations: 258.8 kB / 1.134 GB, free: 13.53 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.65e-05/1.064, allocations: 11.91 kB / 1.134 GB, free: 13.53 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001944/1.064, allocations: 391.9 kB / 1.134 GB, free: 13.19 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004648/1.064, allocations: 267.3 kB / 1.135 GB, free: 13.14 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005696/1.065, allocations: 349.9 kB / 1.135 GB, free: 13.04 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005498/1.065, allocations: 302 kB / 1.135 GB, free: 13.02 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/1.065, allocations: 0 / 1.135 GB, free: 13.02 MB / 0.698 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001811/1.067, allocations: 0.8445 MB / 1.136 GB, free: 12.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/1.067, allocations: 5.281 kB / 1.136 GB, free: 12.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/1.067, allocations: 1.5 kB / 1.136 GB, free: 12.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006376/1.068, allocations: 90.91 kB / 1.136 GB, free: 12.76 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006898/1.069, allocations: 158.4 kB / 1.136 GB, free: 12.73 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002184/1.071, allocations: 1.519 MB / 1.138 GB, free: 11.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006999/1.072, allocations: 91.2 kB / 1.138 GB, free: 11.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.76e-05/1.072, allocations: 35.11 kB / 1.138 GB, free: 11.31 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 (92): * Single equations (assignments): 91 * 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.0005807/1.072, allocations: 283.1 kB / 1.138 GB, free: 11.18 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/1.072, allocations: 84.2 kB / 1.138 GB, free: 11.13 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002465/1.075, allocations: 1.044 MB / 1.139 GB, free: 10.83 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.315e-05/1.075, allocations: 9.312 kB / 1.139 GB, free: 10.83 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.063e-06/1.075, allocations: 3.938 kB / 1.139 GB, free: 10.82 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/1.075, allocations: 5.328 kB / 1.139 GB, free: 10.82 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001353/1.076, allocations: 0.9773 MB / 1.14 GB, free: 10.37 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/1.076, allocations: 0 / 1.14 GB, free: 10.37 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006848/1.077, allocations: 154.8 kB / 1.14 GB, free: 10.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005453/1.077, allocations: 80.05 kB / 1.141 GB, free: 10.31 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.433e-05/1.078, allocations: 27.08 kB / 1.141 GB, free: 10.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002188/1.08, allocations: 1.542 MB / 1.142 GB, free: 8.938 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/1.08, allocations: 3.938 kB / 1.142 GB, free: 8.934 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002172/1.082, allocations: 0.8855 MB / 1.143 GB, free: 8.68 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004735/1.082, allocations: 283 kB / 1.143 GB, free: 8.484 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001643/1.083, allocations: 17.81 kB / 1.143 GB, free: 8.484 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006585/1.083, allocations: 72.66 kB / 1.143 GB, free: 8.461 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001677/1.083, allocations: 68.28 kB / 1.143 GB, free: 8.434 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.298e-05/1.084, allocations: 31.42 kB / 1.143 GB, free: 8.43 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008792/1.084, allocations: 472.2 kB / 1.144 GB, free: 8.27 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.11e-07/1.084, allocations: 0 / 1.144 GB, free: 8.27 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001345/1.086, allocations: 319.9 kB / 1.144 GB, free: 8.195 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 (89): * Single equations (assignments): 86 * 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.001598/1.087, allocations: 0.5582 MB / 1.145 GB, free: 7.93 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002018/1.089, allocations: 0.8081 MB / 1.145 GB, free: 7.695 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/1.089, allocations: 2.891 kB / 1.145 GB, free: 7.695 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001172/1.091, allocations: 0.499 MB / 1.146 GB, free: 7.516 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001492/1.092, allocations: 266 kB / 1.146 GB, free: 7.441 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005899/1.098, allocations: 2.433 MB / 1.149 GB, free: 6.074 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001106/1.099, allocations: 1.075 MB / 1.15 GB, free: 5.215 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001138/1.1, allocations: 266.7 kB / 1.15 GB, free: 5.078 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003266/1.101, allocations: 100 kB / 1.15 GB, free: 5.059 MB / 0.698 GB Notification: Performance of SimCode: time 1.202e-06/1.101, allocations: 0 / 1.15 GB, free: 5.059 MB / 0.698 GB Notification: Performance of Templates: time 0.02959/1.13, allocations: 13.08 MB / 1.163 GB, free: 14.53 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)