Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.319/2.319, allocations: 251.1 MB / 266.7 MB, free: 11.63 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.001413/0.001413, allocations: 188.3 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.36/2.36, allocations: 205.4 MB / 0.5772 GB, free: 20.77 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.0009612/0.0009612, allocations: 97.03 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004924/0.0004926, allocations: 9.781 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.203/0.2035, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.006464/0.2101, allocations: 4.317 MB / 0.9037 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2147/0.4248, allocations: 136.8 MB / 1.037 GB, free: 4.031 MB / 0.6824 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001003/0.4258, allocations: 15.94 kB / 1.037 GB, free: 4.016 MB / 0.6824 GB Notification: Performance of NFTyping.typeComponents: time 0.0006618/0.4265, allocations: 142.8 kB / 1.037 GB, free: 3.875 MB / 0.6824 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.002265/0.4288, allocations: 440.1 kB / 1.038 GB, free: 3.445 MB / 0.6824 GB Notification: Performance of NFTyping.typeClassSections: time 0.00301/0.4318, allocations: 0.6895 MB / 1.039 GB, free: 2.766 MB / 0.6824 GB Notification: Performance of NFFlatten.flatten: time 0.002545/0.4344, allocations: 1.362 MB / 1.04 GB, free: 1.395 MB / 0.6824 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002053/0.4365, allocations: 1.012 MB / 1.041 GB, free: 364 kB / 0.6824 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001064/0.4375, allocations: 425.8 kB / 1.041 GB, free: 15.94 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008625/0.4384, allocations: 461.2 kB / 1.042 GB, free: 15.48 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001648/0.4386, allocations: 28 kB / 1.042 GB, free: 15.46 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001042/0.4397, allocations: 275.8 kB / 1.042 GB, free: 15.19 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003296/0.44, allocations: 222.8 kB / 1.042 GB, free: 14.97 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003994/0.4404, allocations: 268.9 kB / 1.042 GB, free: 14.7 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002807/0.4432, allocations: 1.629 MB / 1.044 GB, free: 13.07 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.4433, allocations: 0 / 1.044 GB, free: 13.07 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.835e-06/0.4433, allocations: 0 / 1.044 GB, free: 13.07 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.144e-05/0.4434, allocations: 0 / 1.044 GB, free: 13.07 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: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.004371/0.4478, allocations: 1.483 MB / 1.045 GB, free: 11.53 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.4478, allocations: 8.031 kB / 1.045 GB, free: 11.52 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001701/0.4495, allocations: 254.7 kB / 1.046 GB, free: 11.27 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002197/0.4518, allocations: 0.8687 MB / 1.047 GB, free: 10.36 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002053/0.452, allocations: 132.6 kB / 1.047 GB, free: 10.23 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003297/0.4523, allocations: 140 kB / 1.047 GB, free: 10.09 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004335/0.4567, allocations: 1.42 MB / 1.048 GB, free: 8.613 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.355e-05/0.4568, allocations: 4 kB / 1.048 GB, free: 8.609 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000225/0.457, allocations: 64 kB / 1.048 GB, free: 8.547 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.51e-05/0.4571, allocations: 36 kB / 1.048 GB, free: 8.512 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004414/0.4615, allocations: 1.455 MB / 1.05 GB, free: 7.051 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01022/0.4718, allocations: 3.789 MB / 1.053 GB, free: 3.188 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002636/0.4745, allocations: 0.9035 MB / 1.054 GB, free: 2.273 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00109/0.4756, allocations: 367.7 kB / 1.055 GB, free: 1.91 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001541/0.4757, allocations: 49.08 kB / 1.055 GB, free: 1.863 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001572/0.4773, allocations: 0.5397 MB / 1.055 GB, free: 1.305 MB / 0.698 GB Notification: Performance of pre-optimization done (n=93): time 4.519e-06/0.4774, allocations: 0 / 1.055 GB, free: 1.305 MB / 0.698 GB Notification: Performance of matching and sorting (n=93): time 0.6349/1.112, allocations: 1.387 MB / 1.057 GB, free: 156 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.444e-05/1.112, allocations: 191.8 kB / 1.057 GB, free: 155.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001502/1.114, allocations: 0.7405 MB / 1.058 GB, free: 155.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002501/1.114, allocations: 49.98 kB / 1.058 GB, free: 155.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005315/1.115, allocations: 0.5739 MB / 1.058 GB, free: 155.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004311/1.115, allocations: 312.8 kB / 1.058 GB, free: 155.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.903e-05/1.115, allocations: 15 kB / 1.058 GB, free: 155.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.701e-05/1.115, allocations: 338.1 kB / 1.059 GB, free: 155 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001071/1.116, allocations: 333 kB / 1.059 GB, free: 155 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001137/1.118, allocations: 436.5 kB / 1.059 GB, free: 154.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001181/1.119, allocations: 386.7 kB / 1.06 GB, free: 154.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/1.119, allocations: 0.9375 kB / 1.06 GB, free: 154.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.003594/1.122, allocations: 1.033 MB / 1.061 GB, free: 154.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/1.123, allocations: 5.75 kB / 1.061 GB, free: 154.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/1.123, allocations: 0 / 1.061 GB, free: 154.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009738/1.124, allocations: 86.25 kB / 1.061 GB, free: 154.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001687/1.125, allocations: 198.1 kB / 1.061 GB, free: 154.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00271/1.128, allocations: 1.532 MB / 1.063 GB, free: 153.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00154/1.13, allocations: 109.4 kB / 1.063 GB, free: 153.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001327/1.13, allocations: 45.23 kB / 1.063 GB, free: 153.5 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (111): * Single equations (assignments): 110 * 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.0008425/1.131, allocations: 317.1 kB / 1.063 GB, free: 153.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002364/1.131, allocations: 97.47 kB / 1.063 GB, free: 153.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004809/1.136, allocations: 1.31 MB / 1.064 GB, free: 153.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.28e-05/1.136, allocations: 5.062 kB / 1.064 GB, free: 153.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.485e-06/1.136, allocations: 3.5 kB / 1.064 GB, free: 153.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008082/1.137, allocations: 342.7 kB / 1.065 GB, free: 153 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002208/1.137, allocations: 22.12 kB / 1.065 GB, free: 153 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001285/1.138, allocations: 79.22 kB / 1.065 GB, free: 153 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002459/1.138, allocations: 73.69 kB / 1.065 GB, free: 153 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00367/1.142, allocations: 1.078 MB / 1.066 GB, free: 152.8 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004429/1.146, allocations: 1.605 MB / 1.068 GB, free: 152.5 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001571/1.148, allocations: 411.5 kB / 1.068 GB, free: 152.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002224/1.15, allocations: 0.5432 MB / 1.069 GB, free: 152.4 MB / 0.698 GB Notification: Performance of Backend: time 2.224e-06/1.15, allocations: 0 / 1.069 GB, free: 152.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.008702/1.159, allocations: 1.264 MB / 1.07 GB, free: 152.1 MB / 0.698 GB Notification: Performance of SimCode: time 0.009335/1.169, allocations: 3.093 MB / 1.073 GB, free: 150.2 MB / 0.698 GB Notification: Performance of Templates: time 0.04931/1.218, allocations: 16.85 MB / 1.089 GB, free: 142.8 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)