Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.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.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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.375/2.375, allocations: 251.3 MB / 266.2 MB, free: 11.52 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.00184/0.001839, allocations: 170.3 kB / 325.8 MB, free: 2.777 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.525/2.525, allocations: 205.4 MB / 0.5767 GB, free: 20.76 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.001667/0.001666, allocations: 88.53 kB / 0.6812 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004711/0.0004713, allocations: 11.69 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.203/0.2035, allocations: 106.3 MB / 0.899 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.006003/0.2096, allocations: 3.872 MB / 0.9028 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2293/0.4389, allocations: 136.6 MB / 1.036 GB, free: 4.551 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009608/0.44, allocations: 19.88 kB / 1.036 GB, free: 4.531 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.000777/0.4408, allocations: 138.8 kB / 1.036 GB, free: 4.395 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.002216/0.443, allocations: 364.6 kB / 1.037 GB, free: 4.039 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002867/0.4459, allocations: 0.6079 MB / 1.037 GB, free: 3.438 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002339/0.4483, allocations: 1.156 MB / 1.038 GB, free: 2.273 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001772/0.4501, allocations: 0.7834 MB / 1.039 GB, free: 1.465 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000902/0.451, allocations: 342.2 kB / 1.04 GB, free: 1.129 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007483/0.4518, allocations: 369.8 kB / 1.04 GB, free: 0.7656 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001623/0.452, allocations: 24 kB / 1.04 GB, free: 0.7422 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000992/0.453, allocations: 263.8 kB / 1.04 GB, free: 496 kB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003392/0.4533, allocations: 191.1 kB / 1.04 GB, free: 304 kB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003302/0.4537, allocations: 213 kB / 1.041 GB, free: 84 kB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002333/0.456, allocations: 1.263 MB / 1.042 GB, free: 14.82 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.4561, allocations: 4 kB / 1.042 GB, free: 14.81 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.485e-06/0.4561, allocations: 0 / 1.042 GB, free: 14.81 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.514e-05/0.4562, allocations: 0 / 1.042 GB, free: 14.81 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.003836/0.46, allocations: 1.315 MB / 1.043 GB, free: 13.44 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.4601, allocations: 8.031 kB / 1.043 GB, free: 13.43 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001676/0.4618, allocations: 223.1 kB / 1.043 GB, free: 13.21 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002086/0.4639, allocations: 0.7745 MB / 1.044 GB, free: 12.4 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001212/0.4641, allocations: 82.25 kB / 1.044 GB, free: 12.32 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002526/0.4643, allocations: 108 kB / 1.044 GB, free: 12.21 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003452/0.4678, allocations: 1.109 MB / 1.045 GB, free: 11.04 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.461e-05/0.4679, allocations: 4 kB / 1.045 GB, free: 11.03 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001847/0.4681, allocations: 51.98 kB / 1.045 GB, free: 10.98 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.571e-05/0.4681, allocations: 28 kB / 1.045 GB, free: 10.95 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003848/0.472, allocations: 1.214 MB / 1.047 GB, free: 9.73 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008844/0.4809, allocations: 3.008 MB / 1.049 GB, free: 6.645 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002465/0.4834, allocations: 0.7725 MB / 1.05 GB, free: 5.863 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009815/0.4844, allocations: 298.7 kB / 1.051 GB, free: 5.57 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001444/0.4846, allocations: 32.67 kB / 1.051 GB, free: 5.539 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001408/0.486, allocations: 459.1 kB / 1.051 GB, free: 5.07 MB / 0.698 GB Notification: Performance of pre-optimization done (n=78): time 4.338e-06/0.4861, allocations: 0 / 1.051 GB, free: 5.07 MB / 0.698 GB Notification: Performance of matching and sorting (n=78): time 0.005248/0.4913, allocations: 1.135 MB / 1.052 GB, free: 3.906 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001389/0.4915, allocations: 200.5 kB / 1.052 GB, free: 3.668 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001437/0.493, allocations: 0.6568 MB / 1.053 GB, free: 3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002124/0.4933, allocations: 41.7 kB / 1.053 GB, free: 2.953 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005992/0.4939, allocations: 487.7 kB / 1.053 GB, free: 2.469 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004221/0.4943, allocations: 276.1 kB / 1.054 GB, free: 2.195 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.798e-05/0.4944, allocations: 12 kB / 1.054 GB, free: 2.184 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002566/0.4947, allocations: 386.8 kB / 1.054 GB, free: 1.797 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001038/0.4957, allocations: 257.9 kB / 1.054 GB, free: 1.547 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001123/0.4969, allocations: 355.1 kB / 1.055 GB, free: 1.184 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/0.498, allocations: 302.9 kB / 1.055 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.241e-06/0.4981, allocations: 0 / 1.055 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.003394/0.5015, allocations: 0.8448 MB / 1.056 GB, free: 36 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.895e-05/0.5015, allocations: 8 kB / 1.056 GB, free: 28 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.5016, allocations: 0 / 1.056 GB, free: 28 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6468/1.148, allocations: 77.97 kB / 1.056 GB, free: 155.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001468/1.15, allocations: 158.6 kB / 1.056 GB, free: 155.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002856/1.153, allocations: 1.526 MB / 1.058 GB, free: 154.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001351/1.154, allocations: 90.27 kB / 1.058 GB, free: 154.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001258/1.154, allocations: 37.44 kB / 1.058 GB, free: 154.5 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.0007028/1.155, allocations: 285 kB / 1.058 GB, free: 154.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002238/1.155, allocations: 85.3 kB / 1.058 GB, free: 154.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003617/1.159, allocations: 1.032 MB / 1.059 GB, free: 154.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.668e-05/1.159, allocations: 19.67 kB / 1.059 GB, free: 154.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/1.159, allocations: 0 / 1.059 GB, free: 154.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.786e-05/1.159, allocations: 3.281 kB / 1.059 GB, free: 154.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001747/1.161, allocations: 0.9693 MB / 1.06 GB, free: 154.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.109e-05/1.161, allocations: 0 / 1.06 GB, free: 154.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001295/1.162, allocations: 151.4 kB / 1.06 GB, free: 154.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008883/1.163, allocations: 88.53 kB / 1.06 GB, free: 154.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001252/1.163, allocations: 24.56 kB / 1.06 GB, free: 154.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002473/1.166, allocations: 1.55 MB / 1.062 GB, free: 152.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/1.166, allocations: 0 / 1.062 GB, free: 152.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003072/1.169, allocations: 0.891 MB / 1.063 GB, free: 152.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007396/1.17, allocations: 278.2 kB / 1.063 GB, free: 152.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002093/1.17, allocations: 17.88 kB / 1.063 GB, free: 152.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001097/1.171, allocations: 69.8 kB / 1.063 GB, free: 152.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002422/1.171, allocations: 61.44 kB / 1.063 GB, free: 152.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000107/1.171, allocations: 33.73 kB / 1.063 GB, free: 152.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009353/1.172, allocations: 472.2 kB / 1.063 GB, free: 152.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.41e-07/1.172, allocations: 2.938 kB / 1.063 GB, free: 152.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001354/1.174, allocations: 326.5 kB / 1.064 GB, free: 152.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 (89): * Single equations (assignments): 86 * 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.00165/1.175, allocations: 0.5602 MB / 1.064 GB, free: 152.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002763/1.178, allocations: 0.804 MB / 1.065 GB, free: 152.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.423e-06/1.178, allocations: 3.828 kB / 1.065 GB, free: 152.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001485/1.18, allocations: 0.4971 MB / 1.066 GB, free: 151.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002258/1.182, allocations: 262.8 kB / 1.066 GB, free: 151.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007666/1.19, allocations: 2.431 MB / 1.068 GB, free: 150.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009568/1.191, allocations: 1.075 MB / 1.069 GB, free: 150 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001711/1.193, allocations: 267 kB / 1.07 GB, free: 150 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000541/1.193, allocations: 101.3 kB / 1.07 GB, free: 149.9 MB / 0.698 GB Notification: Performance of SimCode: time 1.633e-06/1.193, allocations: 0.8125 kB / 1.07 GB, free: 149.9 MB / 0.698 GB Notification: Performance of Templates: time 0.04616/1.239, allocations: 13.08 MB / 1.082 GB, free: 145.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)