Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.77/1.77, allocations: 288.4 MB / 303.7 MB, free: 8.062 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.0009351/0.0009351, allocations: 184.5 kB / 372.3 MB, free: 10.11 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.478/1.478, allocations: 205.4 MB / 0.631 GB, free: 9.797 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008001/0.0008002, allocations: 94.34 kB / 0.7444 GB, free: 5.703 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003773/0.0003773, allocations: 14.31 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2088/0.2092, allocations: 115.3 MB / 0.9801 GB, free: 27.31 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.003547/0.2128, allocations: 3.526 MB / 0.9836 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.5802/0.793, allocations: 136.4 MB / 1.117 GB, free: 2.383 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009805/0.7941, allocations: 18.75 kB / 1.117 GB, free: 2.375 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006129/0.7947, allocations: 131.5 kB / 1.117 GB, free: 2.312 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1-maint.8.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 8.0.1-maint.8.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 8.0.1-maint.8.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.001462/0.7962, allocations: 339.6 kB / 1.117 GB, free: 2.227 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00232/0.7985, allocations: 0.5836 MB / 1.118 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001088/0.7996, allocations: 1.014 MB / 1.119 GB, free: 2 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007897/0.8004, allocations: 0.5524 MB / 1.119 GB, free: 1.895 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003993/0.8008, allocations: 288.7 kB / 1.12 GB, free: 1.816 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004043/0.8012, allocations: 303.2 kB / 1.12 GB, free: 1.73 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 6.676e-05/0.8013, allocations: 21.75 kB / 1.12 GB, free: 1.73 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006866/0.802, allocations: 273.9 kB / 1.12 GB, free: 1.719 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001728/0.8022, allocations: 162.9 kB / 1.12 GB, free: 1.68 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002889/0.8025, allocations: 379.1 kB / 1.121 GB, free: 1.52 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0009767/0.8035, allocations: 1.006 MB / 1.122 GB, free: 1.434 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/0.8035, allocations: 0 / 1.122 GB, free: 1.434 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.779e-06/0.8035, allocations: 5.453 kB / 1.122 GB, free: 1.434 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.619e-05/0.8035, allocations: 1.859 kB / 1.122 GB, free: 1.434 MB / 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.002059/0.8056, allocations: 1.087 MB / 1.123 GB, free: 16.73 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.8056, allocations: 12.09 kB / 1.123 GB, free: 16.73 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008486/0.8065, allocations: 183.7 kB / 1.123 GB, free: 16.67 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009197/0.8074, allocations: 0.6914 MB / 1.124 GB, free: 16.36 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.079e-05/0.8075, allocations: 59.86 kB / 1.124 GB, free: 16.35 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/0.8076, allocations: 73.88 kB / 1.124 GB, free: 16.35 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001536/0.8092, allocations: 0.8365 MB / 1.125 GB, free: 16.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/0.8092, allocations: 2.562 kB / 1.125 GB, free: 16.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.495e-05/0.8093, allocations: 43.83 kB / 1.125 GB, free: 16.19 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.258e-05/0.8093, allocations: 19.06 kB / 1.125 GB, free: 16.19 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001638/0.8109, allocations: 1.047 MB / 1.126 GB, free: 16.17 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00359/0.8145, allocations: 2.362 MB / 1.128 GB, free: 15.35 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001293/0.8159, allocations: 0.7103 MB / 1.129 GB, free: 15.3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004332/0.8163, allocations: 270.9 kB / 1.129 GB, free: 15.29 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.88e-05/0.8164, allocations: 36.02 kB / 1.129 GB, free: 15.29 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007229/0.8171, allocations: 424.5 kB / 1.129 GB, free: 15.21 MB / 0.698 GB Notification: Performance of pre-optimization done (n=71): time 3.136e-06/0.8171, allocations: 0 / 1.129 GB, free: 15.21 MB / 0.698 GB Notification: Performance of matching and sorting (n=71): time 0.002767/0.8199, allocations: 1.071 MB / 1.13 GB, free: 15.01 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001221/0.82, allocations: 186.3 kB / 1.131 GB, free: 14.79 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007081/0.8208, allocations: 0.5681 MB / 1.131 GB, free: 14.66 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.791e-05/0.8208, allocations: 38.17 kB / 1.131 GB, free: 14.63 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002866/0.8211, allocations: 362.8 kB / 1.132 GB, free: 14.45 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001912/0.8213, allocations: 237.2 kB / 1.132 GB, free: 14.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.18e-05/0.8214, allocations: 12 kB / 1.132 GB, free: 14.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001653/0.8215, allocations: 379.6 kB / 1.132 GB, free: 13.99 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004366/0.822, allocations: 234.2 kB / 1.132 GB, free: 13.99 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004814/0.8225, allocations: 332 kB / 1.133 GB, free: 13.93 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008956/0.8234, allocations: 0.5494 MB / 1.133 GB, free: 13.89 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.8234, allocations: 0 / 1.133 GB, free: 13.89 MB / 0.698 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001694/0.8251, allocations: 0.7616 MB / 1.134 GB, free: 13.79 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.8251, allocations: 10.09 kB / 1.134 GB, free: 13.78 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.8251, allocations: 1.5 kB / 1.134 GB, free: 13.78 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005876/0.8257, allocations: 79.8 kB / 1.134 GB, free: 13.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006/0.8264, allocations: 148.9 kB / 1.134 GB, free: 13.76 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001998/0.8284, allocations: 1.527 MB / 1.136 GB, free: 12.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00063/0.829, allocations: 80.22 kB / 1.136 GB, free: 12.39 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.552e-05/0.8291, allocations: 40.62 kB / 1.136 GB, free: 12.38 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.0004722/0.8296, allocations: 258.1 kB / 1.136 GB, free: 12.24 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001305/0.8297, allocations: 82.73 kB / 1.136 GB, free: 12.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002107/0.8318, allocations: 0.9614 MB / 1.137 GB, free: 11.92 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.259e-05/0.8319, allocations: 7.969 kB / 1.137 GB, free: 11.92 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.8319, allocations: 0 / 1.137 GB, free: 11.92 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/0.8319, allocations: 5.578 kB / 1.137 GB, free: 11.91 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009704/0.8329, allocations: 0.8123 MB / 1.138 GB, free: 11.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.8329, allocations: 1.094 kB / 1.138 GB, free: 11.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005741/0.8335, allocations: 136.7 kB / 1.138 GB, free: 11.49 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004999/0.834, allocations: 91.33 kB / 1.138 GB, free: 11.45 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.218e-05/0.8341, allocations: 22.77 kB / 1.138 GB, free: 11.45 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001733/0.8358, allocations: 1.549 MB / 1.14 GB, free: 10.06 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.8358, allocations: 1.156 kB / 1.14 GB, free: 10.06 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001717/0.8375, allocations: 0.829 MB / 1.14 GB, free: 9.82 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000359/0.8379, allocations: 266.2 kB / 1.141 GB, free: 9.633 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.617e-05/0.838, allocations: 14.94 kB / 1.141 GB, free: 9.633 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005168/0.8385, allocations: 64.95 kB / 1.141 GB, free: 9.617 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/0.8387, allocations: 59.22 kB / 1.141 GB, free: 9.59 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.647e-05/0.8388, allocations: 34.7 kB / 1.141 GB, free: 9.582 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005639/0.8393, allocations: 407.9 kB / 1.141 GB, free: 9.43 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.31e-07/0.8393, allocations: 1.438 kB / 1.141 GB, free: 9.43 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009601/0.8403, allocations: 273.3 kB / 1.141 GB, free: 9.375 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.001378/0.8417, allocations: 0.5545 MB / 1.142 GB, free: 9.121 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001585/0.8433, allocations: 0.7498 MB / 1.143 GB, free: 8.895 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.8433, allocations: 1.094 kB / 1.143 GB, free: 8.895 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000953/0.8443, allocations: 485.5 kB / 1.143 GB, free: 8.715 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/0.8454, allocations: 242.6 kB / 1.143 GB, free: 8.645 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004256/0.8497, allocations: 1.993 MB / 1.145 GB, free: 7.543 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006967/0.8504, allocations: 0.9905 MB / 1.146 GB, free: 6.727 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00104/0.8515, allocations: 252.4 kB / 1.147 GB, free: 6.602 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002456/0.8517, allocations: 95.23 kB / 1.147 GB, free: 6.578 MB / 0.698 GB Notification: Performance of SimCode: time 8.11e-07/0.8517, allocations: 0 / 1.147 GB, free: 6.578 MB / 0.698 GB Notification: Performance of Templates: time 0.02499/0.8767, allocations: 12.43 MB / 1.159 GB, free: 360 kB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)