Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.412/2.412, allocations: 251.3 MB / 266.2 MB, free: 11.51 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001372/0.001372, allocations: 174.7 kB / 325.8 MB, free: 2.754 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.558/2.558, allocations: 205.4 MB / 0.5767 GB, free: 20.7 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001297/0.001297, allocations: 90.3 kB / 0.6812 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004739/0.000474, allocations: 14.72 kB / 0.7953 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2016/0.2021, allocations: 106.3 MB / 0.899 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.005647/0.2078, allocations: 3.522 MB / 0.9025 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2057/0.4136, allocations: 136.4 MB / 1.036 GB, free: 5.012 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007905/0.4145, allocations: 15.94 kB / 1.036 GB, free: 4.996 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006327/0.4151, allocations: 119 kB / 1.036 GB, free: 4.879 MB / 0.6823 GB [/var/lib/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‘. [/var/lib/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‘. [/var/lib/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‘. [/var/lib/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.001937/0.4171, allocations: 348.8 kB / 1.036 GB, free: 4.539 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002653/0.4197, allocations: 0.5866 MB / 1.037 GB, free: 3.961 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.00201/0.4218, allocations: 1.012 MB / 1.038 GB, free: 2.941 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001308/0.4231, allocations: 0.5459 MB / 1.038 GB, free: 2.391 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008309/0.424, allocations: 282.7 kB / 1.039 GB, free: 2.113 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006165/0.4246, allocations: 311.6 kB / 1.039 GB, free: 1.809 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001092/0.4247, allocations: 20 kB / 1.039 GB, free: 1.789 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009955/0.4257, allocations: 259.8 kB / 1.039 GB, free: 1.535 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002543/0.426, allocations: 163.3 kB / 1.039 GB, free: 1.375 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002757/0.4263, allocations: 173.1 kB / 1.039 GB, free: 1.199 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001905/0.4282, allocations: 1.006 MB / 1.04 GB, free: 196 kB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.4282, allocations: 4 kB / 1.04 GB, free: 192 kB / 0.6823 GB Notification: Performance of FrontEnd: time 2.355e-06/0.4283, allocations: 0 / 1.04 GB, free: 192 kB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.936e-05/0.4283, allocations: 0 / 1.04 GB, free: 192 kB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.003225/0.4315, allocations: 1.1 MB / 1.042 GB, free: 15.04 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/0.4316, allocations: 12.03 kB / 1.042 GB, free: 15.02 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001524/0.4331, allocations: 183.5 kB / 1.042 GB, free: 14.84 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001888/0.4351, allocations: 0.6727 MB / 1.042 GB, free: 14.13 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.777e-05/0.4352, allocations: 58 kB / 1.042 GB, free: 14.07 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001722/0.4354, allocations: 72 kB / 1.042 GB, free: 14 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002438/0.4378, allocations: 0.8442 MB / 1.043 GB, free: 13.12 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.127e-05/0.4379, allocations: 0 / 1.043 GB, free: 13.12 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001374/0.438, allocations: 35.98 kB / 1.043 GB, free: 13.08 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.394e-05/0.4381, allocations: 16 kB / 1.043 GB, free: 13.07 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003026/0.4411, allocations: 1.046 MB / 1.044 GB, free: 12.02 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006662/0.4478, allocations: 2.359 MB / 1.047 GB, free: 9.586 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003395/0.4513, allocations: 0.7089 MB / 1.047 GB, free: 8.867 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001611/0.4529, allocations: 274.4 kB / 1.048 GB, free: 8.598 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002233/0.4532, allocations: 28.66 kB / 1.048 GB, free: 8.57 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002107/0.4554, allocations: 424.2 kB / 1.048 GB, free: 8.137 MB / 0.698 GB Notification: Performance of pre-optimization done (n=71): time 8.345e-06/0.4554, allocations: 0 / 1.048 GB, free: 8.137 MB / 0.698 GB Notification: Performance of matching and sorting (n=71): time 0.00801/0.4635, allocations: 1.073 MB / 1.049 GB, free: 7.035 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001831/0.4637, allocations: 192.6 kB / 1.049 GB, free: 6.805 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001797/0.4655, allocations: 0.5538 MB / 1.05 GB, free: 6.242 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002476/0.4658, allocations: 45.64 kB / 1.05 GB, free: 6.191 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006592/0.4665, allocations: 372.2 kB / 1.05 GB, free: 5.82 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005136/0.467, allocations: 232.7 kB / 1.05 GB, free: 5.59 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.668e-05/0.4672, allocations: 8 kB / 1.05 GB, free: 5.582 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0003293/0.4675, allocations: 378.8 kB / 1.051 GB, free: 5.203 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001418/0.469, allocations: 237.9 kB / 1.051 GB, free: 4.973 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001641/0.4706, allocations: 322.8 kB / 1.051 GB, free: 4.645 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001565/0.4722, allocations: 283.1 kB / 1.052 GB, free: 4.367 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.697e-06/0.4723, allocations: 0 / 1.052 GB, free: 4.367 MB / 0.698 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.005022/0.4773, allocations: 0.7588 MB / 1.052 GB, free: 3.598 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.903e-05/0.4774, allocations: 4 kB / 1.052 GB, free: 3.594 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/0.4775, allocations: 4 kB / 1.052 GB, free: 3.59 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001519/0.479, allocations: 88.77 kB / 1.052 GB, free: 3.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002033/0.4811, allocations: 155.8 kB / 1.053 GB, free: 3.348 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004649/0.4858, allocations: 1.508 MB / 1.054 GB, free: 1.699 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001889/0.4877, allocations: 91.34 kB / 1.054 GB, free: 1.609 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002087/0.488, allocations: 31.97 kB / 1.054 GB, free: 1.578 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 (83): * Single equations (assignments): 82 * 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.0009744/0.489, allocations: 252.5 kB / 1.054 GB, free: 1.324 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003255/0.4893, allocations: 71.16 kB / 1.055 GB, free: 1.254 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006173/0.4955, allocations: 0.9818 MB / 1.055 GB, free: 268 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.013e-05/0.4956, allocations: 8.141 kB / 1.055 GB, free: 260 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.4956, allocations: 0 / 1.055 GB, free: 260 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.653e-05/0.4957, allocations: 7.969 kB / 1.055 GB, free: 252 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6694/1.165, allocations: 0.8023 MB / 1.056 GB, free: 156 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.383e-06/1.165, allocations: 0 / 1.056 GB, free: 156 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001186/1.166, allocations: 139 kB / 1.056 GB, free: 156 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009348/1.167, allocations: 90.19 kB / 1.056 GB, free: 156 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.013e-05/1.167, allocations: 20.83 kB / 1.056 GB, free: 156 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002375/1.17, allocations: 1.546 MB / 1.058 GB, free: 154.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/1.17, allocations: 0 / 1.058 GB, free: 154.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002995/1.173, allocations: 0.8305 MB / 1.059 GB, free: 154.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006102/1.173, allocations: 258.6 kB / 1.059 GB, free: 154.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001772/1.174, allocations: 21.42 kB / 1.059 GB, free: 154.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/1.175, allocations: 64.23 kB / 1.059 GB, free: 154.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002222/1.175, allocations: 60.95 kB / 1.059 GB, free: 154.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001095/1.175, allocations: 31.3 kB / 1.059 GB, free: 154.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008339/1.176, allocations: 415.6 kB / 1.06 GB, free: 154.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.91e-07/1.176, allocations: 0 / 1.06 GB, free: 154.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001402/1.177, allocations: 265.2 kB / 1.06 GB, free: 154.4 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001815/1.179, allocations: 0.5646 MB / 1.06 GB, free: 154.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002539/1.182, allocations: 0.7489 MB / 1.061 GB, free: 154.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/1.182, allocations: 0 / 1.061 GB, free: 154.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001407/1.183, allocations: 486 kB / 1.062 GB, free: 154.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002011/1.185, allocations: 247 kB / 1.062 GB, free: 154.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006224/1.192, allocations: 1.992 MB / 1.064 GB, free: 153.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000637/1.192, allocations: 0.9919 MB / 1.065 GB, free: 152.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001447/1.194, allocations: 244.1 kB / 1.065 GB, free: 152.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004303/1.194, allocations: 97.31 kB / 1.065 GB, free: 152.4 MB / 0.698 GB Notification: Performance of SimCode: time 1.182e-06/1.194, allocations: 0 / 1.065 GB, free: 152.4 MB / 0.698 GB Notification: Performance of Templates: time 0.03778/1.232, allocations: 12.25 MB / 1.077 GB, free: 148.8 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile (rm -f Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)