Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.643/2.643, allocations: 287.5 MB / 302.4 MB, free: 8.371 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.001481/0.001481, allocations: 182 kB / 371 MB, free: 10.85 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.23/2.23, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.0009901/0.00099, allocations: 89.34 kB / 0.743 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005331/0.0005334, allocations: 11.8 kB / 0.8658 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2346/0.2352, allocations: 115.3 MB / 0.9783 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.00608/0.2413, allocations: 3.865 MB / 0.9821 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.8927/1.134, allocations: 136.6 MB / 1.115 GB, free: 1.609 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00105/1.135, allocations: 20.25 kB / 1.116 GB, free: 1.602 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0007773/1.136, allocations: 135.1 kB / 1.116 GB, free: 1.539 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.002309/1.138, allocations: 361.2 kB / 1.116 GB, free: 1.441 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003296/1.142, allocations: 0.6176 MB / 1.117 GB, free: 1.379 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002616/1.144, allocations: 1.116 MB / 1.118 GB, free: 1.199 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001634/1.146, allocations: 0.6692 MB / 1.118 GB, free: 1.07 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001177/1.147, allocations: 333.1 kB / 1.119 GB, free: 0.9727 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009867/1.148, allocations: 374.7 kB / 1.119 GB, free: 0.8516 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002877/1.149, allocations: 23.28 kB / 1.119 GB, free: 0.8516 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001555/1.15, allocations: 264 kB / 1.119 GB, free: 0.8398 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003304/1.15, allocations: 189.7 kB / 1.119 GB, free: 0.7891 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004449/1.151, allocations: 218.3 kB / 1.12 GB, free: 16.71 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00315/1.154, allocations: 1.265 MB / 1.121 GB, free: 16.62 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 9.167e-06/1.154, allocations: 0 / 1.121 GB, free: 16.62 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.206e-06/1.154, allocations: 0 / 1.121 GB, free: 16.62 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.539e-05/1.154, allocations: 0 / 1.121 GB, free: 16.62 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.004139/1.158, allocations: 1.307 MB / 1.122 GB, free: 15.83 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/1.158, allocations: 16.7 kB / 1.122 GB, free: 15.82 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001705/1.16, allocations: 217.8 kB / 1.122 GB, free: 15.75 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002277/1.163, allocations: 0.7712 MB / 1.123 GB, free: 15.43 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001132/1.163, allocations: 83.25 kB / 1.123 GB, free: 15.42 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002729/1.163, allocations: 107.6 kB / 1.123 GB, free: 15.42 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003705/1.167, allocations: 1.115 MB / 1.124 GB, free: 15.23 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.469e-05/1.167, allocations: 2.844 kB / 1.124 GB, free: 15.23 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000193/1.167, allocations: 52.78 kB / 1.124 GB, free: 15.23 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.005e-05/1.167, allocations: 27.25 kB / 1.125 GB, free: 15.23 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003867/1.171, allocations: 1.222 MB / 1.126 GB, free: 15.2 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008685/1.18, allocations: 2.997 MB / 1.129 GB, free: 14.29 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002586/1.182, allocations: 0.773 MB / 1.129 GB, free: 14.24 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008971/1.183, allocations: 295.3 kB / 1.13 GB, free: 14.22 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001666/1.183, allocations: 36.11 kB / 1.13 GB, free: 14.22 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001359/1.185, allocations: 450 kB / 1.13 GB, free: 14.14 MB / 0.698 GB Notification: Performance of pre-optimization done (n=78): time 5.791e-06/1.185, allocations: 3.312 kB / 1.13 GB, free: 14.14 MB / 0.698 GB Notification: Performance of matching and sorting (n=78): time 0.005168/1.19, allocations: 1.147 MB / 1.131 GB, free: 13.93 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000165/1.19, allocations: 189.7 kB / 1.131 GB, free: 13.71 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001518/1.192, allocations: 0.6614 MB / 1.132 GB, free: 13.58 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002547/1.192, allocations: 42.14 kB / 1.132 GB, free: 13.55 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000638/1.193, allocations: 490.9 kB / 1.133 GB, free: 13.32 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005111/1.193, allocations: 261.8 kB / 1.133 GB, free: 13.15 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.55e-05/1.193, allocations: 15.38 kB / 1.133 GB, free: 13.15 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002782/1.194, allocations: 388.5 kB / 1.133 GB, free: 12.84 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001007/1.195, allocations: 261.9 kB / 1.133 GB, free: 12.83 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001067/1.196, allocations: 356.2 kB / 1.134 GB, free: 12.77 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001031/1.197, allocations: 302.8 kB / 1.134 GB, free: 12.76 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/1.197, allocations: 1.406 kB / 1.134 GB, free: 12.76 MB / 0.698 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.003452/1.2, allocations: 0.8395 MB / 1.135 GB, free: 12.65 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.45e-05/1.2, allocations: 7.469 kB / 1.135 GB, free: 12.65 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/1.2, allocations: 8.969 kB / 1.135 GB, free: 12.64 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001025/1.201, allocations: 79.39 kB / 1.135 GB, free: 12.63 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001487/1.203, allocations: 167.8 kB / 1.135 GB, free: 12.62 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003326/1.206, allocations: 1.51 MB / 1.137 GB, free: 11.33 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001558/1.208, allocations: 93.22 kB / 1.137 GB, free: 11.29 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001409/1.208, allocations: 40.16 kB / 1.137 GB, free: 11.29 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.001051/1.209, allocations: 282.8 kB / 1.137 GB, free: 11.16 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003396/1.21, allocations: 84.31 kB / 1.137 GB, free: 11.11 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004082/1.214, allocations: 1.046 MB / 1.138 GB, free: 10.96 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.443e-05/1.214, allocations: 12.28 kB / 1.138 GB, free: 10.96 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/1.214, allocations: 1.188 kB / 1.138 GB, free: 10.96 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.14e-05/1.214, allocations: 6.609 kB / 1.138 GB, free: 10.96 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002238/1.216, allocations: 0.9763 MB / 1.139 GB, free: 10.51 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/1.216, allocations: 0 / 1.139 GB, free: 10.51 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001369/1.217, allocations: 149.8 kB / 1.139 GB, free: 10.48 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009397/1.218, allocations: 85.12 kB / 1.139 GB, free: 10.45 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001843/1.219, allocations: 21.61 kB / 1.139 GB, free: 10.45 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003024/1.222, allocations: 1.55 MB / 1.141 GB, free: 9.07 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/1.222, allocations: 0 / 1.141 GB, free: 9.07 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003707/1.225, allocations: 0.8868 MB / 1.142 GB, free: 8.82 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009247/1.226, allocations: 283 kB / 1.142 GB, free: 8.625 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002075/1.227, allocations: 21.52 kB / 1.142 GB, free: 8.621 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001088/1.228, allocations: 63.47 kB / 1.142 GB, free: 8.609 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002439/1.228, allocations: 64.69 kB / 1.142 GB, free: 8.582 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000111/1.228, allocations: 32.67 kB / 1.142 GB, free: 8.578 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001116/1.229, allocations: 473.2 kB / 1.143 GB, free: 8.418 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.91e-07/1.229, allocations: 0 / 1.143 GB, free: 8.418 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00167/1.231, allocations: 319.5 kB / 1.143 GB, free: 8.348 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.001896/1.233, allocations: 0.5608 MB / 1.143 GB, free: 8.105 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00309/1.236, allocations: 0.8041 MB / 1.144 GB, free: 7.871 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.867e-06/1.236, allocations: 0 / 1.144 GB, free: 7.871 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001726/1.238, allocations: 0.4994 MB / 1.145 GB, free: 7.688 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002395/1.24, allocations: 269.5 kB / 1.145 GB, free: 7.605 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008407/1.249, allocations: 2.433 MB / 1.147 GB, free: 6.238 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001065/1.25, allocations: 1.076 MB / 1.148 GB, free: 5.383 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001758/1.252, allocations: 261.8 kB / 1.149 GB, free: 5.25 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004783/1.252, allocations: 103.9 kB / 1.149 GB, free: 5.227 MB / 0.698 GB Notification: Performance of SimCode: time 1.522e-06/1.252, allocations: 0 / 1.149 GB, free: 5.227 MB / 0.698 GB Notification: Performance of Templates: time 0.04316/1.295, allocations: 13.08 MB / 1.162 GB, free: 14.68 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)