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.721/1.721, allocations: 288.4 MB / 304.3 MB, free: 8.16 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.001064/0.001065, allocations: 184.5 kB / 372.9 MB, free: 10.14 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.554/1.554, allocations: 205.4 MB / 0.6316 GB, free: 9.891 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.0007544/0.0007545, allocations: 94.28 kB / 0.745 GB, free: 5.793 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000413/0.000413, allocations: 14.83 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.244, allocations: 115.3 MB / 0.9807 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.003894/0.248, allocations: 3.865 MB / 0.9845 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6197/0.8677, allocations: 136.6 MB / 1.118 GB, free: 2.395 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008357/0.8686, allocations: 19.16 kB / 1.118 GB, free: 2.387 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005074/0.8691, allocations: 138.8 kB / 1.118 GB, free: 2.32 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.001518/0.8706, allocations: 371.2 kB / 1.118 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002134/0.8728, allocations: 0.602 MB / 1.119 GB, free: 2.164 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001315/0.8741, allocations: 1.158 MB / 1.12 GB, free: 1.965 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001013/0.8751, allocations: 0.8412 MB / 1.121 GB, free: 1.758 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005329/0.8757, allocations: 336.9 kB / 1.121 GB, free: 1.656 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004478/0.8761, allocations: 369.1 kB / 1.122 GB, free: 1.535 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 7.829e-05/0.8762, allocations: 26.42 kB / 1.122 GB, free: 1.535 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007527/0.877, allocations: 273.7 kB / 1.122 GB, free: 1.523 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002065/0.8772, allocations: 188.5 kB / 1.122 GB, free: 1.477 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.000379/0.8776, allocations: 477.8 kB / 1.122 GB, free: 1.266 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001423/0.879, allocations: 1.263 MB / 1.124 GB, free: 1.168 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.879, allocations: 1.125 kB / 1.124 GB, free: 1.168 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.633e-06/0.879, allocations: 4 kB / 1.124 GB, free: 1.164 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.437e-05/0.8791, allocations: 0 / 1.124 GB, free: 1.164 MB / 0.6823 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.002426/0.8815, allocations: 1.3 MB / 1.125 GB, free: 16.37 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.8816, allocations: 8.688 kB / 1.125 GB, free: 16.37 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009702/0.8826, allocations: 218.1 kB / 1.125 GB, free: 16.29 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0012/0.8838, allocations: 0.8038 MB / 1.126 GB, free: 15.94 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.973e-05/0.8839, allocations: 81 kB / 1.126 GB, free: 15.93 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001353/0.884, allocations: 113.5 kB / 1.126 GB, free: 15.93 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001947/0.886, allocations: 1.111 MB / 1.127 GB, free: 15.75 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.387e-05/0.886, allocations: 1.219 kB / 1.127 GB, free: 15.75 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.952e-05/0.8861, allocations: 48.5 kB / 1.127 GB, free: 15.75 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.472e-05/0.8861, allocations: 26.28 kB / 1.127 GB, free: 15.75 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002126/0.8883, allocations: 1.225 MB / 1.129 GB, free: 15.72 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004699/0.893, allocations: 3.012 MB / 1.131 GB, free: 14.79 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001234/0.8943, allocations: 0.7801 MB / 1.132 GB, free: 14.73 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004892/0.8948, allocations: 295.5 kB / 1.133 GB, free: 14.73 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.532e-05/0.8949, allocations: 28.61 kB / 1.133 GB, free: 14.73 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008048/0.8957, allocations: 450.2 kB / 1.133 GB, free: 14.65 MB / 0.698 GB Notification: Performance of pre-optimization done (n=78): time 7.574e-06/0.8957, allocations: 0 / 1.133 GB, free: 14.65 MB / 0.698 GB Notification: Performance of matching and sorting (n=78): time 0.002929/0.8986, allocations: 1.149 MB / 1.134 GB, free: 14.37 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.429e-05/0.8987, allocations: 188.4 kB / 1.134 GB, free: 14.15 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000953/0.8997, allocations: 0.6669 MB / 1.135 GB, free: 13.91 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.21e-05/0.8998, allocations: 42.52 kB / 1.135 GB, free: 13.88 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003518/0.9001, allocations: 491.6 kB / 1.135 GB, free: 13.59 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002057/0.9004, allocations: 262.4 kB / 1.136 GB, free: 13.41 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.354e-05/0.9004, allocations: 13.06 kB / 1.136 GB, free: 13.41 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001739/0.9006, allocations: 388.2 kB / 1.136 GB, free: 13.07 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000483/0.9011, allocations: 259.5 kB / 1.136 GB, free: 13.03 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005809/0.9017, allocations: 355.8 kB / 1.137 GB, free: 12.93 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001039/0.9027, allocations: 0.6071 MB / 1.137 GB, free: 12.83 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.9027, allocations: 1.125 kB / 1.137 GB, free: 12.83 MB / 0.698 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001987/0.9047, allocations: 0.8397 MB / 1.138 GB, free: 12.62 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.9048, allocations: 10.31 kB / 1.138 GB, free: 12.62 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.9048, allocations: 8.938 kB / 1.138 GB, free: 12.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005945/0.9054, allocations: 84.75 kB / 1.138 GB, free: 12.58 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000734/0.9061, allocations: 162 kB / 1.138 GB, free: 12.55 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00199/0.9081, allocations: 1.511 MB / 1.14 GB, free: 11.18 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008713/0.909, allocations: 95.8 kB / 1.14 GB, free: 11.13 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.33e-05/0.9091, allocations: 37 kB / 1.14 GB, free: 11.12 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.0005809/0.9097, allocations: 283.3 kB / 1.14 GB, free: 10.98 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001885/0.9099, allocations: 88.03 kB / 1.14 GB, free: 10.94 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002341/0.9123, allocations: 1.02 MB / 1.141 GB, free: 10.66 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.537e-05/0.9123, allocations: 11.91 kB / 1.141 GB, free: 10.65 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.291e-06/0.9123, allocations: 3.984 kB / 1.141 GB, free: 10.64 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004674/0.9128, allocations: 285.3 kB / 1.142 GB, free: 10.45 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000118/0.9129, allocations: 16.44 kB / 1.142 GB, free: 10.45 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005677/0.9135, allocations: 71.16 kB / 1.142 GB, free: 10.43 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001499/0.9136, allocations: 63.56 kB / 1.142 GB, free: 10.4 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001905/0.9156, allocations: 0.9115 MB / 1.143 GB, free: 10.14 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002177/0.9177, allocations: 1.361 MB / 1.144 GB, free: 9.711 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005723/0.9183, allocations: 342 kB / 1.144 GB, free: 9.652 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007337/0.9191, allocations: 471.1 kB / 1.145 GB, free: 9.492 MB / 0.698 GB Notification: Performance of Backend: time 3.9e-07/0.9191, allocations: 1.156 kB / 1.145 GB, free: 9.492 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003378/0.9225, allocations: 1.16 MB / 1.146 GB, free: 9.031 MB / 0.698 GB Notification: Performance of SimCode: time 0.004035/0.9265, allocations: 2.654 MB / 1.148 GB, free: 7.215 MB / 0.698 GB Notification: Performance of Templates: time 0.02572/0.9523, allocations: 14.52 MB / 1.163 GB, free: 15.95 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)