Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.265/2.265, 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.00136/0.001359, allocations: 189.7 kB / 326.3 MB, free: 2.844 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.381/2.381, allocations: 205.4 MB / 0.5772 GB, free: 20.81 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.0009323/0.0009321, allocations: 88.2 kB / 0.6817 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004747/0.0004749, allocations: 12.19 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.2141, allocations: 106.2 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.00792/0.2221, allocations: 5.221 MB / 0.9046 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2139/0.436, allocations: 137.4 MB / 1.039 GB, free: 2.543 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001506/0.4376, allocations: 23.88 kB / 1.039 GB, free: 2.52 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001085/0.4387, allocations: 178.4 kB / 1.039 GB, free: 2.344 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.002971/0.4417, allocations: 472.2 kB / 1.039 GB, free: 1.883 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004039/0.4458, allocations: 0.9082 MB / 1.04 GB, free: 0.9805 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.004218/0.45, allocations: 2.04 MB / 1.042 GB, free: 14.93 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003287/0.4534, allocations: 1.29 MB / 1.043 GB, free: 13.61 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001797/0.4552, allocations: 0.661 MB / 1.044 GB, free: 12.95 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00188/0.4571, allocations: 0.7656 MB / 1.045 GB, free: 12.18 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0005165/0.4577, allocations: 56 kB / 1.045 GB, free: 12.12 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001432/0.4592, allocations: 323.7 kB / 1.045 GB, free: 11.8 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005911/0.4598, allocations: 342.4 kB / 1.046 GB, free: 11.47 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006192/0.4604, allocations: 352.6 kB / 1.046 GB, free: 11.12 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.004186/0.4646, allocations: 2.299 MB / 1.048 GB, free: 8.812 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/0.4647, allocations: 0 / 1.048 GB, free: 8.812 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.976e-06/0.4647, allocations: 4 kB / 1.048 GB, free: 8.809 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.927e-05/0.4648, allocations: 4 kB / 1.048 GB, free: 8.805 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: 534 * Number of variables: 534 Notification: Performance of Generate backend data structure: time 0.008278/0.4731, allocations: 2.065 MB / 1.05 GB, free: 6.68 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.579e-05/0.4732, allocations: 12.03 kB / 1.05 GB, free: 6.668 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02838/0.5016, allocations: 2.195 MB / 1.052 GB, free: 4.469 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00337/0.505, allocations: 1.142 MB / 1.053 GB, free: 3.277 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001998/0.5052, allocations: 160.1 kB / 1.054 GB, free: 3.117 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008038/0.506, allocations: 196 kB / 1.054 GB, free: 2.926 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6284/1.134, allocations: 3.089 MB / 1.057 GB, free: 153.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.998e-05/1.135, allocations: 1.406 kB / 1.057 GB, free: 153.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005165/1.135, allocations: 87.58 kB / 1.057 GB, free: 153.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-05/1.135, allocations: 50.84 kB / 1.057 GB, free: 153.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02284/1.158, allocations: 4.072 MB / 1.061 GB, free: 153.2 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02637/1.184, allocations: 6.602 MB / 1.067 GB, free: 152.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0186/1.203, allocations: 2.733 MB / 1.07 GB, free: 151.9 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008219/1.211, allocations: 1.377 MB / 1.071 GB, free: 151.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001228/1.213, allocations: 0.5032 MB / 1.072 GB, free: 151.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008827/1.221, allocations: 1.64 MB / 1.073 GB, free: 150.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=192): time 7.264e-06/1.222, allocations: 1.25 kB / 1.073 GB, free: 150.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=192): time 0.02685/1.248, allocations: 4.05 MB / 1.077 GB, free: 148.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.979e-05/1.249, allocations: 201.3 kB / 1.078 GB, free: 148.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001595/1.25, allocations: 0.8294 MB / 1.078 GB, free: 148.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0007009/1.251, allocations: 56.64 kB / 1.078 GB, free: 148.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006192/1.252, allocations: 0.6859 MB / 1.079 GB, free: 147.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009661/1.252, allocations: 0.6223 MB / 1.08 GB, free: 147 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002745/1.253, allocations: 35.84 kB / 1.08 GB, free: 147 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001255/1.253, allocations: 369.6 kB / 1.08 GB, free: 146.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007425/1.26, allocations: 1.14 MB / 1.081 GB, free: 146 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007886/1.268, allocations: 1.309 MB / 1.083 GB, free: 145.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007817/1.276, allocations: 1.182 MB / 1.084 GB, free: 144.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.296e-05/1.276, allocations: 0.5938 kB / 1.084 GB, free: 144.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=214) (initialization): time 0.0299/1.306, allocations: 2.848 MB / 1.086 GB, free: 143.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.245e-05/1.306, allocations: 9.203 kB / 1.086 GB, free: 143.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-05/1.306, allocations: 3.625 kB / 1.086 GB, free: 143.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001473/1.308, allocations: 86.47 kB / 1.087 GB, free: 143.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01042/1.318, allocations: 0.5551 MB / 1.087 GB, free: 143.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003753/1.322, allocations: 1.532 MB / 1.089 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007411/1.329, allocations: 323.2 kB / 1.089 GB, free: 141.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001063/1.331, allocations: 92.48 kB / 1.089 GB, free: 141.4 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (212): * Single equations (assignments): 211 * 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.003113/1.334, allocations: 398.8 kB / 1.089 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009596/1.335, allocations: 140.3 kB / 1.09 GB, free: 141 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01982/1.355, allocations: 3.394 MB / 1.093 GB, free: 138.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.588e-05/1.355, allocations: 7.969 kB / 1.093 GB, free: 138.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.787e-06/1.355, allocations: 0 / 1.093 GB, free: 138.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001628/1.356, allocations: 0.5219 MB / 1.093 GB, free: 137.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005582/1.357, allocations: 32 kB / 1.093 GB, free: 137.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005012/1.362, allocations: 255.6 kB / 1.094 GB, free: 137.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004745/1.362, allocations: 121.8 kB / 1.094 GB, free: 137.3 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02026/1.383, allocations: 3.121 MB / 1.097 GB, free: 134.2 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02351/1.406, allocations: 4.57 MB / 1.101 GB, free: 129.6 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007332/1.414, allocations: 1.378 MB / 1.103 GB, free: 128.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001201/1.415, allocations: 0.6107 MB / 1.103 GB, free: 127.6 MB / 0.698 GB Notification: Performance of Backend: time 7.51e-07/1.415, allocations: 3.938 kB / 1.103 GB, free: 127.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01201/1.427, allocations: 2.327 MB / 1.105 GB, free: 125.5 MB / 0.698 GB Notification: Performance of SimCode: time 0.007997/1.435, allocations: 3.998 MB / 1.109 GB, free: 121.4 MB / 0.698 GB Notification: Performance of Templates: time 0.07822/1.513, allocations: 33.28 MB / 1.142 GB, free: 88.25 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (rm -f Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)