Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.661/1.661, allocations: 292.3 MB / 308.1 MB, free: 4.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001259/0.001258, allocations: 189.5 kB / 376.9 MB, free: 1.816 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.499/1.499, allocations: 205.1 MB / 0.6354 GB, free: 9.812 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001164/0.001164, allocations: 95.91 kB / 0.748 GB, free: 61.26 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001008/0.001008, allocations: 47.92 kB / 0.8703 GB, free: 13.13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2827/0.2837, allocations: 114.6 MB / 0.9822 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.007238/0.291, allocations: 4.522 MB / 0.9866 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.7828/1.074, allocations: 148 MB / 1.131 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001016/1.075, allocations: 24.03 kB / 1.131 GB, free: 6.949 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0006024/1.076, allocations: 149.6 kB / 1.131 GB, free: 6.859 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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.001591/1.077, allocations: 369.9 kB / 1.132 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001977/1.079, allocations: 0.6917 MB / 1.132 GB, free: 6.281 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001179/1.08, allocations: 1.222 MB / 1.134 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001092/1.081, allocations: 0.8728 MB / 1.134 GB, free: 5.203 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006167/1.082, allocations: 473.9 kB / 1.135 GB, free: 4.977 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005933/1.083, allocations: 0.5311 MB / 1.135 GB, free: 4.684 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001345/1.083, allocations: 82.56 kB / 1.135 GB, free: 4.684 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008876/1.084, allocations: 347.1 kB / 1.136 GB, free: 4.609 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002716/1.084, allocations: 292.5 kB / 1.136 GB, free: 4.438 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0005146/1.084, allocations: 0.5728 MB / 1.137 GB, free: 4.051 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001513/1.086, allocations: 1.659 MB / 1.138 GB, free: 3.344 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/1.086, allocations: 0 / 1.138 GB, free: 3.344 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.72e-07/1.086, allocations: 0 / 1.138 GB, free: 3.344 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.766e-05/1.086, allocations: 3.188 kB / 1.138 GB, free: 3.344 MB / 0.7448 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.002422/1.088, allocations: 1.545 MB / 1.14 GB, free: 2.309 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/1.089, allocations: 13.31 kB / 1.14 GB, free: 2.305 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009015/1.089, allocations: 216 kB / 1.14 GB, free: 2.227 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001118/1.091, allocations: 0.7956 MB / 1.141 GB, free: 1.703 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.986e-05/1.091, allocations: 86.34 kB / 1.141 GB, free: 1.66 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000121/1.091, allocations: 111.2 kB / 1.141 GB, free: 1.625 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001707/1.093, allocations: 1.113 MB / 1.142 GB, free: 1.102 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/1.093, allocations: 0 / 1.142 GB, free: 1.102 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.023e-05/1.093, allocations: 49.47 kB / 1.142 GB, free: 1.062 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.939e-05/1.093, allocations: 32.05 kB / 1.142 GB, free: 1.059 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001865/1.095, allocations: 1.222 MB / 1.143 GB, free: 0.7539 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004376/1.099, allocations: 2.968 MB / 1.146 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001309/1.1, allocations: 0.7672 MB / 1.147 GB, free: 14.84 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004653/1.101, allocations: 296.5 kB / 1.147 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 8.323e-05/1.101, allocations: 27.16 kB / 1.147 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008045/1.102, allocations: 459.9 kB / 1.148 GB, free: 14.52 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=78): time 2.474e-06/1.102, allocations: 0 / 1.148 GB, free: 14.52 MB / 0.7605 GB Notification: Performance of matching and sorting (n=78): time 0.002944/1.105, allocations: 1.136 MB / 1.149 GB, free: 14.04 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/1.105, allocations: 190.5 kB / 1.149 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008739/1.106, allocations: 0.6647 MB / 1.15 GB, free: 13.53 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 5.896e-05/1.106, allocations: 40.55 kB / 1.15 GB, free: 13.48 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003778/1.106, allocations: 494.8 kB / 1.15 GB, free: 13.11 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002331/1.106, allocations: 267.3 kB / 1.15 GB, free: 12.89 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002506/1.107, allocations: 158.1 kB / 1.151 GB, free: 12.82 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001921/1.107, allocations: 392.6 kB / 1.151 GB, free: 12.48 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004953/1.107, allocations: 255.5 kB / 1.151 GB, free: 12.39 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006041/1.108, allocations: 358.2 kB / 1.152 GB, free: 12.23 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001048/1.109, allocations: 0.6006 MB / 1.152 GB, free: 11.96 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/1.109, allocations: 0 / 1.152 GB, free: 11.96 MB / 0.7605 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001855/1.111, allocations: 0.832 MB / 1.153 GB, free: 11.62 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/1.111, allocations: 3.031 kB / 1.153 GB, free: 11.62 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/1.111, allocations: 7.219 kB / 1.153 GB, free: 11.62 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005784/1.111, allocations: 81.88 kB / 1.153 GB, free: 11.6 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006256/1.112, allocations: 169.9 kB / 1.153 GB, free: 11.57 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002034/1.114, allocations: 1.51 MB / 1.155 GB, free: 10.16 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006378/1.115, allocations: 95.66 kB / 1.155 GB, free: 10.11 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.635e-05/1.115, allocations: 32.66 kB / 1.155 GB, free: 10.1 MB / 0.7605 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 (92): * Single equations (assignments): 91 * 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.0004506/1.115, allocations: 279.9 kB / 1.155 GB, free: 9.891 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001391/1.115, allocations: 82.97 kB / 1.155 GB, free: 9.848 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002216/1.118, allocations: 1.025 MB / 1.156 GB, free: 9.438 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/1.118, allocations: 12.94 kB / 1.156 GB, free: 9.434 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/1.118, allocations: 1.906 kB / 1.156 GB, free: 9.434 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/1.118, allocations: 6.562 kB / 1.156 GB, free: 9.434 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001271/1.119, allocations: 0.9731 MB / 1.157 GB, free: 8.934 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/1.119, allocations: 4 kB / 1.157 GB, free: 8.93 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005607/1.12, allocations: 153.1 kB / 1.157 GB, free: 8.914 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005004/1.12, allocations: 79.84 kB / 1.157 GB, free: 8.895 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.038e-05/1.12, allocations: 23.19 kB / 1.157 GB, free: 8.883 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001895/1.122, allocations: 1.545 MB / 1.159 GB, free: 7.441 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/1.122, allocations: 0.5 kB / 1.159 GB, free: 7.441 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00282/1.125, allocations: 1.937 MB / 1.161 GB, free: 6.246 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004084/1.125, allocations: 268.1 kB / 1.161 GB, free: 6.047 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001/1.125, allocations: 16.16 kB / 1.161 GB, free: 6.035 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005243/1.126, allocations: 55.25 kB / 1.161 GB, free: 6.02 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001549/1.126, allocations: 69.8 kB / 1.161 GB, free: 6.008 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.611e-05/1.126, allocations: 27.11 kB / 1.161 GB, free: 6.004 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0005996/1.127, allocations: 483.9 kB / 1.162 GB, free: 5.797 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.3e-07/1.127, allocations: 0 / 1.162 GB, free: 5.797 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0009987/1.128, allocations: 320.4 kB / 1.162 GB, free: 5.695 MB / 0.7605 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 (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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001346/1.129, allocations: 0.5695 MB / 1.162 GB, free: 5.434 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.00157/1.131, allocations: 0.8029 MB / 1.163 GB, free: 5.098 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/1.131, allocations: 0 / 1.163 GB, free: 5.098 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0008411/1.132, allocations: 0.497 MB / 1.164 GB, free: 4.863 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001176/1.133, allocations: 267.7 kB / 1.164 GB, free: 4.789 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004765/1.138, allocations: 2.931 MB / 1.167 GB, free: 2.984 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006505/1.138, allocations: 1.098 MB / 1.168 GB, free: 2.254 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0008769/1.139, allocations: 257.5 kB / 1.168 GB, free: 2.203 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002437/1.139, allocations: 101 kB / 1.168 GB, free: 2.184 MB / 0.7605 GB Notification: Performance of SimCode: time 6.81e-07/1.139, allocations: 0 / 1.168 GB, free: 2.184 MB / 0.7605 GB Notification: Performance of Templates: time 0.02788/1.167, allocations: 13.93 MB / 1.182 GB, free: 1.051 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)