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 1.596/1.596, allocations: 287.4 MB / 303.2 MB, free: 8.277 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.001004/0.001004, allocations: 190.4 kB / 371.8 MB, free: 10.8 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.447/1.447, allocations: 205.4 MB / 0.6304 GB, free: 10.55 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.0008183/0.0008183, allocations: 91.16 kB / 0.7438 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004807/0.0004807, allocations: 13.28 kB / 0.8667 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/0.2523, allocations: 115.3 MB / 0.9793 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.004629/0.257, allocations: 3.861 MB / 0.983 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7122/0.9693, allocations: 136.6 MB / 1.116 GB, free: 1.699 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007923/0.9701, allocations: 19.97 kB / 1.116 GB, free: 1.691 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.000529/0.9707, allocations: 135.3 kB / 1.117 GB, free: 1.629 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.001359/0.972, allocations: 362 kB / 1.117 GB, free: 1.531 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002122/0.9742, allocations: 0.6144 MB / 1.118 GB, free: 1.469 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.00149/0.9757, allocations: 1.154 MB / 1.119 GB, free: 1.27 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001256/0.9769, allocations: 0.8429 MB / 1.119 GB, free: 1.066 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006685/0.9776, allocations: 337.8 kB / 1.12 GB, free: 0.9648 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005121/0.9781, allocations: 367.1 kB / 1.12 GB, free: 0.8477 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 9.276e-05/0.9782, allocations: 23.12 kB / 1.12 GB, free: 0.8477 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008844/0.9791, allocations: 268.4 kB / 1.12 GB, free: 0.832 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002338/0.9794, allocations: 187 kB / 1.121 GB, free: 0.7852 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002526/0.9796, allocations: 216.3 kB / 1.121 GB, free: 16.71 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001656/0.9813, allocations: 1.262 MB / 1.122 GB, free: 16.62 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.9813, allocations: 2.875 kB / 1.122 GB, free: 16.62 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.084e-06/0.9813, allocations: 0 / 1.122 GB, free: 16.62 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.319e-05/0.9814, allocations: 0 / 1.122 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.002288/0.9836, allocations: 1.305 MB / 1.123 GB, free: 15.82 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.9837, allocations: 11.42 kB / 1.123 GB, free: 15.82 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008568/0.9846, allocations: 218.2 kB / 1.124 GB, free: 15.74 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001035/0.9856, allocations: 0.8037 MB / 1.124 GB, free: 15.38 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.315e-05/0.9857, allocations: 85.33 kB / 1.124 GB, free: 15.38 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001224/0.9858, allocations: 108.6 kB / 1.124 GB, free: 15.38 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001832/0.9877, allocations: 1.114 MB / 1.126 GB, free: 15.19 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.939e-05/0.9877, allocations: 7.938 kB / 1.126 GB, free: 15.18 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.09e-05/0.9878, allocations: 48.25 kB / 1.126 GB, free: 15.18 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.191e-05/0.9878, allocations: 27.25 kB / 1.126 GB, free: 15.18 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001885/0.9897, allocations: 1.217 MB / 1.127 GB, free: 15.16 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004613/0.9943, allocations: 2.998 MB / 1.13 GB, free: 14.24 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001199/0.9956, allocations: 0.7681 MB / 1.131 GB, free: 14.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004769/0.9961, allocations: 299.1 kB / 1.131 GB, free: 14.19 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.01e-05/0.9962, allocations: 40.33 kB / 1.131 GB, free: 14.18 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007914/0.997, allocations: 452.3 kB / 1.131 GB, free: 14.11 MB / 0.698 GB Notification: Performance of pre-optimization done (n=78): time 3.597e-06/0.997, allocations: 0 / 1.131 GB, free: 14.11 MB / 0.698 GB Notification: Performance of matching and sorting (n=78): time 0.002769/0.9998, allocations: 1.145 MB / 1.132 GB, free: 13.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001225/0.9999, allocations: 190.8 kB / 1.133 GB, free: 13.68 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009514/1.001, allocations: 0.66 MB / 1.133 GB, free: 13.54 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.683e-05/1.001, allocations: 40.95 kB / 1.133 GB, free: 13.51 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003888/1.001, allocations: 497.5 kB / 1.134 GB, free: 13.27 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002037/1.002, allocations: 258.9 kB / 1.134 GB, free: 13.11 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-05/1.002, allocations: 13.41 kB / 1.134 GB, free: 13.11 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001812/1.002, allocations: 387.6 kB / 1.134 GB, free: 12.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000491/1.002, allocations: 261.3 kB / 1.135 GB, free: 12.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005793/1.003, allocations: 353.7 kB / 1.135 GB, free: 12.74 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00106/1.004, allocations: 0.6008 MB / 1.136 GB, free: 12.69 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/1.004, allocations: 1.344 kB / 1.136 GB, free: 12.69 MB / 0.698 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0019/1.006, allocations: 0.8468 MB / 1.136 GB, free: 12.57 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/1.006, allocations: 6.922 kB / 1.136 GB, free: 12.57 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.667e-06/1.006, allocations: 1.031 kB / 1.136 GB, free: 12.57 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005781/1.006, allocations: 84.36 kB / 1.136 GB, free: 12.56 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006696/1.007, allocations: 161.2 kB / 1.137 GB, free: 12.55 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002029/1.009, allocations: 1.521 MB / 1.138 GB, free: 11.24 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007629/1.01, allocations: 101.8 kB / 1.138 GB, free: 11.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.922e-05/1.01, allocations: 37.3 kB / 1.138 GB, free: 11.2 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.0005722/1.011, allocations: 280.5 kB / 1.138 GB, free: 11.07 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001312/1.011, allocations: 83.53 kB / 1.139 GB, free: 11.03 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002227/1.013, allocations: 1.031 MB / 1.14 GB, free: 10.89 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/1.013, allocations: 12.48 kB / 1.14 GB, free: 10.89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/1.013, allocations: 1.25 kB / 1.14 GB, free: 10.89 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004121/1.013, allocations: 284.4 kB / 1.14 GB, free: 10.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/1.014, allocations: 18.66 kB / 1.14 GB, free: 10.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000557/1.014, allocations: 68.66 kB / 1.14 GB, free: 10.68 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/1.014, allocations: 61.88 kB / 1.14 GB, free: 10.66 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001825/1.016, allocations: 0.9202 MB / 1.141 GB, free: 10.4 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002012/1.018, allocations: 1.353 MB / 1.142 GB, free: 9.973 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005655/1.019, allocations: 336 kB / 1.143 GB, free: 9.918 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006649/1.019, allocations: 471.7 kB / 1.143 GB, free: 9.758 MB / 0.698 GB Notification: Performance of Backend: time 9.22e-07/1.019, allocations: 0 / 1.143 GB, free: 9.758 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00294/1.022, allocations: 1.157 MB / 1.144 GB, free: 9.328 MB / 0.698 GB Notification: Performance of SimCode: time 0.003937/1.026, allocations: 2.652 MB / 1.147 GB, free: 7.508 MB / 0.698 GB Notification: Performance of Templates: time 0.02979/1.056, allocations: 14.38 MB / 1.161 GB, free: 312 kB / 0.698 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)