Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.161/2.161, allocations: 251.1 MB / 266.7 MB, free: 11.57 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001341/0.001341, allocations: 180.8 kB / 326.3 MB, free: 2.84 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.391/2.391, allocations: 205.4 MB / 0.5772 GB, free: 20.8 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009493/0.0009482, allocations: 99.97 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004829/0.0004831, allocations: 14.53 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.2212, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.006147/0.2274, allocations: 3.876 MB / 0.9033 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2103/0.4378, allocations: 136.6 MB / 1.037 GB, free: 4.676 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009616/0.4388, allocations: 19.88 kB / 1.037 GB, free: 4.656 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0007249/0.4395, allocations: 134.9 kB / 1.037 GB, free: 4.523 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1/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 7.0.1/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 7.0.1/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.002158/0.4417, allocations: 369.6 kB / 1.037 GB, free: 4.164 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002952/0.4447, allocations: 0.6091 MB / 1.038 GB, free: 3.562 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002496/0.4472, allocations: 1.156 MB / 1.039 GB, free: 2.398 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001806/0.4491, allocations: 0.7912 MB / 1.04 GB, free: 1.582 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009608/0.4501, allocations: 338.2 kB / 1.04 GB, free: 1.25 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007117/0.4508, allocations: 357.8 kB / 1.04 GB, free: 0.8984 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001329/0.451, allocations: 24 kB / 1.04 GB, free: 0.875 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009957/0.452, allocations: 279.7 kB / 1.041 GB, free: 0.6016 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.000285/0.4523, allocations: 179.1 kB / 1.041 GB, free: 436 kB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003473/0.4526, allocations: 221 kB / 1.041 GB, free: 208 kB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002367/0.455, allocations: 1.271 MB / 1.042 GB, free: 14.93 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.4551, allocations: 0 / 1.042 GB, free: 14.93 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.426e-06/0.4551, allocations: 4 kB / 1.042 GB, free: 14.93 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.737e-05/0.4551, allocations: 0 / 1.042 GB, free: 14.93 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.003856/0.459, allocations: 1.306 MB / 1.044 GB, free: 13.57 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.683e-05/0.4591, allocations: 12.02 kB / 1.044 GB, free: 13.55 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001613/0.4607, allocations: 215.2 kB / 1.044 GB, free: 13.34 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00206/0.4628, allocations: 0.7784 MB / 1.044 GB, free: 12.52 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001217/0.4629, allocations: 86.25 kB / 1.045 GB, free: 12.44 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002342/0.4632, allocations: 108 kB / 1.045 GB, free: 12.33 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003396/0.4666, allocations: 1.109 MB / 1.046 GB, free: 11.16 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.9e-05/0.4667, allocations: 0 / 1.046 GB, free: 11.16 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001767/0.4669, allocations: 48 kB / 1.046 GB, free: 11.11 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.348e-05/0.4669, allocations: 24 kB / 1.046 GB, free: 11.09 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003668/0.4706, allocations: 1.226 MB / 1.047 GB, free: 9.852 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008229/0.4789, allocations: 2.999 MB / 1.05 GB, free: 6.773 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002417/0.4813, allocations: 0.7764 MB / 1.051 GB, free: 5.988 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00091/0.4823, allocations: 298.6 kB / 1.051 GB, free: 5.695 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001337/0.4824, allocations: 32.69 kB / 1.051 GB, free: 5.664 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001284/0.4837, allocations: 455.1 kB / 1.051 GB, free: 5.199 MB / 0.698 GB Notification: Performance of pre-optimization done (n=78): time 3.867e-06/0.4838, allocations: 4 kB / 1.051 GB, free: 5.195 MB / 0.698 GB Notification: Performance of matching and sorting (n=78): time 0.005133/0.4889, allocations: 1.135 MB / 1.053 GB, free: 4.031 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001422/0.4891, allocations: 196.6 kB / 1.053 GB, free: 3.797 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001469/0.4906, allocations: 0.6607 MB / 1.053 GB, free: 3.125 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002084/0.4908, allocations: 41.7 kB / 1.053 GB, free: 3.078 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006239/0.4915, allocations: 487.7 kB / 1.054 GB, free: 2.594 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004266/0.4919, allocations: 268.1 kB / 1.054 GB, free: 2.328 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.737e-05/0.492, allocations: 16 kB / 1.054 GB, free: 2.312 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002553/0.4922, allocations: 390.8 kB / 1.055 GB, free: 1.922 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001009/0.4933, allocations: 261.8 kB / 1.055 GB, free: 1.668 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001093/0.4944, allocations: 351.1 kB / 1.055 GB, free: 1.309 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001077/0.4955, allocations: 306.9 kB / 1.055 GB, free: 1.012 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.4955, allocations: 0 / 1.055 GB, free: 1.012 MB / 0.698 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.003484/0.499, allocations: 0.837 MB / 1.056 GB, free: 168 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.423e-05/0.4991, allocations: 9.25 kB / 1.056 GB, free: 160 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.4991, allocations: 3.984 kB / 1.056 GB, free: 156 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009944/0.5001, allocations: 84.86 kB / 1.056 GB, free: 68 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.5728/1.073, allocations: 157 kB / 1.056 GB, free: 156.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002933/1.076, allocations: 1.52 MB / 1.058 GB, free: 154.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/1.077, allocations: 90.42 kB / 1.058 GB, free: 154.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001409/1.077, allocations: 35.67 kB / 1.058 GB, free: 154.8 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.0008113/1.078, allocations: 281.7 kB / 1.058 GB, free: 154.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002568/1.079, allocations: 87.61 kB / 1.058 GB, free: 154.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003763/1.082, allocations: 1.042 MB / 1.059 GB, free: 154.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.784e-05/1.082, allocations: 3.469 kB / 1.059 GB, free: 154.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/1.082, allocations: 3.938 kB / 1.059 GB, free: 154.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006356/1.083, allocations: 284.2 kB / 1.06 GB, free: 154.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001829/1.083, allocations: 16.16 kB / 1.06 GB, free: 154.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/1.084, allocations: 74.17 kB / 1.06 GB, free: 154.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000209/1.085, allocations: 66.03 kB / 1.06 GB, free: 154.5 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003233/1.088, allocations: 0.9127 MB / 1.061 GB, free: 154.3 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003506/1.091, allocations: 1.352 MB / 1.062 GB, free: 154 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009678/1.092, allocations: 341.1 kB / 1.062 GB, free: 154 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009671/1.093, allocations: 474.5 kB / 1.063 GB, free: 153.9 MB / 0.698 GB Notification: Performance of Backend: time 8.52e-07/1.093, allocations: 0 / 1.063 GB, free: 153.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004474/1.098, allocations: 1.151 MB / 1.064 GB, free: 153.7 MB / 0.698 GB Notification: Performance of SimCode: time 0.005554/1.103, allocations: 2.649 MB / 1.067 GB, free: 152.1 MB / 0.698 GB Notification: Performance of Templates: time 0.04482/1.148, allocations: 14.36 MB / 1.081 GB, free: 147.4 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)