Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.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.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.303/2.303, 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.001469/0.001469, allocations: 174.5 kB / 326.3 MB, free: 2.852 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.9/2.9, allocations: 205.4 MB / 0.5772 GB, free: 20.74 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.0009308/0.0009307, allocations: 89.3 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004577/0.0004578, allocations: 12.62 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2066, allocations: 106.3 MB / 0.8995 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.005516/0.2122, allocations: 3.526 MB / 0.9029 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2094/0.4217, allocations: 136.4 MB / 1.036 GB, free: 5.141 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008192/0.4225, allocations: 15.88 kB / 1.036 GB, free: 5.125 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.000651/0.4232, allocations: 119 kB / 1.036 GB, free: 5.008 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.001988/0.4252, allocations: 363 kB / 1.037 GB, free: 4.656 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002751/0.428, allocations: 0.5852 MB / 1.037 GB, free: 4.078 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002099/0.4301, allocations: 1.012 MB / 1.038 GB, free: 3.059 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001368/0.4315, allocations: 0.5381 MB / 1.039 GB, free: 2.516 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008479/0.4324, allocations: 290.6 kB / 1.039 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006946/0.4331, allocations: 302.4 kB / 1.039 GB, free: 1.934 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001571/0.4333, allocations: 20 kB / 1.039 GB, free: 1.914 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009921/0.4343, allocations: 267.8 kB / 1.04 GB, free: 1.652 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002589/0.4346, allocations: 159.3 kB / 1.04 GB, free: 1.496 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.000301/0.4349, allocations: 181.1 kB / 1.04 GB, free: 1.312 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001963/0.4369, allocations: 0.9978 MB / 1.041 GB, free: 320 kB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.437, allocations: 0 / 1.041 GB, free: 320 kB / 0.6823 GB Notification: Performance of FrontEnd: time 2.756e-06/0.437, allocations: 0 / 1.041 GB, free: 320 kB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.532e-05/0.437, allocations: 0 / 1.041 GB, free: 320 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.003277/0.4403, allocations: 1.11 MB / 1.042 GB, free: 15.15 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/0.4404, allocations: 8.031 kB / 1.042 GB, free: 15.14 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001548/0.4419, allocations: 183.5 kB / 1.042 GB, free: 14.96 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001793/0.4438, allocations: 0.6765 MB / 1.043 GB, free: 14.25 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.881e-05/0.4439, allocations: 58 kB / 1.043 GB, free: 14.19 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001739/0.4441, allocations: 72 kB / 1.043 GB, free: 14.12 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002553/0.4466, allocations: 0.8325 MB / 1.044 GB, free: 13.25 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.349e-05/0.4467, allocations: 0 / 1.044 GB, free: 13.25 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001398/0.4469, allocations: 32 kB / 1.044 GB, free: 13.21 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.268e-05/0.4469, allocations: 20 kB / 1.044 GB, free: 13.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003219/0.4502, allocations: 1.054 MB / 1.045 GB, free: 12.14 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006824/0.457, allocations: 2.351 MB / 1.047 GB, free: 9.715 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002472/0.4596, allocations: 0.6996 MB / 1.048 GB, free: 9.004 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009713/0.4606, allocations: 278.3 kB / 1.048 GB, free: 8.73 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001448/0.4608, allocations: 32.66 kB / 1.048 GB, free: 8.699 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001367/0.4622, allocations: 424.2 kB / 1.049 GB, free: 8.266 MB / 0.698 GB Notification: Performance of pre-optimization done (n=71): time 5.109e-06/0.4622, allocations: 0 / 1.049 GB, free: 8.266 MB / 0.698 GB Notification: Performance of matching and sorting (n=71): time 0.005233/0.4675, allocations: 1.077 MB / 1.05 GB, free: 7.16 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001312/0.4677, allocations: 188.6 kB / 1.05 GB, free: 6.934 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001177/0.4688, allocations: 0.5578 MB / 1.05 GB, free: 6.367 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002134/0.4691, allocations: 45.64 kB / 1.05 GB, free: 6.316 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004584/0.4696, allocations: 372.2 kB / 1.051 GB, free: 5.945 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003737/0.47, allocations: 228.7 kB / 1.051 GB, free: 5.719 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.635e-05/0.47, allocations: 12 kB / 1.051 GB, free: 5.707 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002264/0.4703, allocations: 378.8 kB / 1.051 GB, free: 5.328 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009419/0.4712, allocations: 233.9 kB / 1.052 GB, free: 5.102 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001056/0.4723, allocations: 330.8 kB / 1.052 GB, free: 4.766 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00106/0.4734, allocations: 279.1 kB / 1.052 GB, free: 4.492 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.4734, allocations: 0 / 1.052 GB, free: 4.492 MB / 0.698 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003139/0.4766, allocations: 0.7628 MB / 1.053 GB, free: 3.719 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.115e-05/0.4767, allocations: 4 kB / 1.053 GB, free: 3.715 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/0.4767, allocations: 4 kB / 1.053 GB, free: 3.711 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001018/0.4777, allocations: 80.84 kB / 1.053 GB, free: 3.629 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001307/0.4791, allocations: 155.7 kB / 1.053 GB, free: 3.477 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003211/0.4823, allocations: 1.51 MB / 1.055 GB, free: 1.828 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001262/0.4836, allocations: 92.52 kB / 1.055 GB, free: 1.738 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001187/0.4837, allocations: 35.92 kB / 1.055 GB, free: 1.703 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.0006653/0.4844, allocations: 254.5 kB / 1.055 GB, free: 1.445 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002376/0.4847, allocations: 71.16 kB / 1.055 GB, free: 1.375 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003861/0.4885, allocations: 0.9739 MB / 1.056 GB, free: 400 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.761e-05/0.4886, allocations: 7.984 kB / 1.056 GB, free: 392 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/0.4886, allocations: 0 / 1.056 GB, free: 392 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000689/0.4893, allocations: 259.8 kB / 1.056 GB, free: 112 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001761/0.4895, allocations: 19.98 kB / 1.056 GB, free: 92 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001035/0.4906, allocations: 66.2 kB / 1.056 GB, free: 28 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.6582/1.149, allocations: 55.55 kB / 1.056 GB, free: 156.4 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004819/1.154, allocations: 0.8644 MB / 1.057 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004934/1.159, allocations: 1.262 MB / 1.058 GB, free: 156 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001261/1.16, allocations: 314 kB / 1.059 GB, free: 156 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001141/1.161, allocations: 409.8 kB / 1.059 GB, free: 155.9 MB / 0.698 GB Notification: Performance of Backend: time 1.072e-06/1.161, allocations: 0 / 1.059 GB, free: 155.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005928/1.167, allocations: 1.121 MB / 1.06 GB, free: 155.7 MB / 0.698 GB Notification: Performance of SimCode: time 0.006074/1.173, allocations: 2.215 MB / 1.062 GB, free: 154.3 MB / 0.698 GB Notification: Performance of Templates: time 0.04955/1.223, allocations: 13.29 MB / 1.075 GB, free: 150.7 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)