Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.347/1.347, allocations: 251.5 MB / 267.4 MB, free: 11.06 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.0009751/0.0009751, allocations: 178.8 kB / 326.5 MB, free: 2.691 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.423/1.423, allocations: 205 MB / 0.5766 GB, free: 21.01 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.0007067/0.0007067, allocations: 95.92 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002896/0.0002897, allocations: 12.44 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1776/0.1779, allocations: 105.4 MB / 0.8968 GB, free: 68.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.003549/0.1815, allocations: 3.808 MB / 0.9005 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1426/0.3242, allocations: 147.9 MB / 1.045 GB, free: 11.91 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006496/0.3249, allocations: 15.94 kB / 1.045 GB, free: 11.9 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.000509/0.3254, allocations: 131 kB / 1.045 GB, free: 11.77 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.3-maint.7.0.x/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.3-maint.7.0.x/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.3-maint.7.0.x/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.0012/0.3266, allocations: 368.5 kB / 1.045 GB, free: 11.41 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001631/0.3282, allocations: 0.6575 MB / 1.046 GB, free: 10.76 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0009826/0.3292, allocations: 1.067 MB / 1.047 GB, free: 9.688 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007403/0.33, allocations: 0.555 MB / 1.048 GB, free: 9.121 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000381/0.3304, allocations: 294.5 kB / 1.048 GB, free: 8.832 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003441/0.3307, allocations: 322.2 kB / 1.048 GB, free: 8.516 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 6.829e-05/0.3308, allocations: 23.94 kB / 1.048 GB, free: 8.492 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005543/0.3314, allocations: 291.7 kB / 1.048 GB, free: 8.207 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001603/0.3315, allocations: 171.2 kB / 1.049 GB, free: 8.039 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003049/0.3318, allocations: 377.4 kB / 1.049 GB, free: 7.668 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001158/0.333, allocations: 1.269 MB / 1.05 GB, free: 6.395 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.333, allocations: 0 / 1.05 GB, free: 6.395 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.005e-06/0.333, allocations: 0 / 1.05 GB, free: 6.395 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.314e-05/0.3331, allocations: 0 / 1.05 GB, free: 6.395 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.00187/0.3349, allocations: 1.085 MB / 1.051 GB, free: 5.258 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.335, allocations: 16.02 kB / 1.051 GB, free: 5.242 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008057/0.3358, allocations: 179.5 kB / 1.051 GB, free: 5.066 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008717/0.3367, allocations: 0.6955 MB / 1.052 GB, free: 4.332 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.372e-05/0.3367, allocations: 61.98 kB / 1.052 GB, free: 4.27 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.67e-05/0.3368, allocations: 76 kB / 1.052 GB, free: 4.195 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001257/0.3381, allocations: 0.8403 MB / 1.053 GB, free: 3.316 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.3381, allocations: 0 / 1.053 GB, free: 3.316 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.791e-05/0.3382, allocations: 36 kB / 1.053 GB, free: 3.281 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.838e-05/0.3382, allocations: 16 kB / 1.053 GB, free: 3.266 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001538/0.3398, allocations: 1.057 MB / 1.054 GB, free: 2.203 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3598/0.6995, allocations: 2.358 MB / 1.056 GB, free: 159.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001387/0.701, allocations: 0.7126 MB / 1.057 GB, free: 159.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004017/0.7014, allocations: 272.1 kB / 1.057 GB, free: 159.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.452e-05/0.7015, allocations: 28.69 kB / 1.057 GB, free: 159.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007168/0.7022, allocations: 431.2 kB / 1.058 GB, free: 159.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=71): time 3.066e-06/0.7022, allocations: 0 / 1.058 GB, free: 159.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=71): time 0.002749/0.705, allocations: 1.075 MB / 1.059 GB, free: 159.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/0.705, allocations: 194.8 kB / 1.059 GB, free: 159.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005756/0.7056, allocations: 0.5606 MB / 1.06 GB, free: 159.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.599e-05/0.7057, allocations: 38.89 kB / 1.06 GB, free: 159.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000256/0.7059, allocations: 368.5 kB / 1.06 GB, free: 159 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001546/0.7061, allocations: 232.8 kB / 1.06 GB, free: 158.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.043e-05/0.7062, allocations: 62.31 kB / 1.06 GB, free: 158.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.7063, allocations: 376.2 kB / 1.061 GB, free: 158.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00042/0.7067, allocations: 240.2 kB / 1.061 GB, free: 158.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000531/0.7073, allocations: 328.5 kB / 1.061 GB, free: 158.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009235/0.7082, allocations: 0.5585 MB / 1.062 GB, free: 158.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.7082, allocations: 0 / 1.062 GB, free: 158.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00164/0.7098, allocations: 0.7653 MB / 1.063 GB, free: 158.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.7099, allocations: 5.656 kB / 1.063 GB, free: 158.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.7099, allocations: 0 / 1.063 GB, free: 158.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005869/0.7105, allocations: 85.91 kB / 1.063 GB, free: 158.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005759/0.7111, allocations: 150.5 kB / 1.063 GB, free: 158.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001828/0.7129, allocations: 1.522 MB / 1.064 GB, free: 157 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006292/0.7136, allocations: 90.92 kB / 1.064 GB, free: 157 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.146e-05/0.7137, allocations: 34.97 kB / 1.064 GB, free: 157 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 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005409/0.7142, allocations: 251.9 kB / 1.065 GB, free: 156.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001656/0.7144, allocations: 71.36 kB / 1.065 GB, free: 156.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002446/0.7168, allocations: 0.9731 MB / 1.066 GB, free: 156.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.482e-05/0.7169, allocations: 5.141 kB / 1.066 GB, free: 156.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.7169, allocations: 2.812 kB / 1.066 GB, free: 156.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003162/0.7172, allocations: 243.5 kB / 1.066 GB, free: 156.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.7173, allocations: 19.64 kB / 1.066 GB, free: 156.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005144/0.7178, allocations: 67.75 kB / 1.066 GB, free: 156.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001991/0.718, allocations: 55.67 kB / 1.066 GB, free: 156.6 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001874/0.7199, allocations: 0.8756 MB / 1.067 GB, free: 156.4 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002062/0.722, allocations: 1.266 MB / 1.068 GB, free: 156.1 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005635/0.7226, allocations: 317.6 kB / 1.068 GB, free: 156.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006106/0.7232, allocations: 414.9 kB / 1.069 GB, free: 156 MB / 0.698 GB Notification: Performance of Backend: time 4.21e-07/0.7232, allocations: 0 / 1.069 GB, free: 156 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002958/0.7262, allocations: 1.138 MB / 1.07 GB, free: 155.7 MB / 0.698 GB Notification: Performance of SimCode: time 0.002856/0.729, allocations: 2.267 MB / 1.072 GB, free: 154.3 MB / 0.698 GB Notification: Performance of Templates: time 0.02425/0.7533, allocations: 13.64 MB / 1.085 GB, free: 148.8 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)