Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.427/1.427, allocations: 288.4 MB / 303.6 MB, free: 8.172 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.0008992/0.0008992, allocations: 180.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.108/1.108, allocations: 205.4 MB / 0.631 GB, free: 9.875 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.0006659/0.0006658, allocations: 98.94 kB / 0.7444 GB, free: 5.785 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0002982/0.0002982, allocations: 10.62 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1369, allocations: 115.3 MB / 0.9802 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.003126/0.14, allocations: 3.869 MB / 0.984 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.4011/0.5412, allocations: 136.6 MB / 1.117 GB, free: 2.391 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003305/0.5415, allocations: 19.91 kB / 1.117 GB, free: 2.383 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0003419/0.5419, allocations: 144.1 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.0007476/0.5426, allocations: 365.1 kB / 1.118 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009956/0.5436, allocations: 0.6087 MB / 1.118 GB, free: 2.16 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0007974/0.5444, allocations: 1.15 MB / 1.12 GB, free: 1.961 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007691/0.5452, allocations: 0.8568 MB / 1.12 GB, free: 1.746 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003018/0.5455, allocations: 332.6 kB / 1.121 GB, free: 1.648 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003379/0.5459, allocations: 370.1 kB / 1.121 GB, free: 1.531 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 7.168e-05/0.546, allocations: 24 kB / 1.121 GB, free: 1.531 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004183/0.5464, allocations: 276.6 kB / 1.121 GB, free: 1.512 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.000143/0.5465, allocations: 192.1 kB / 1.122 GB, free: 1.461 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002956/0.5468, allocations: 476.5 kB / 1.122 GB, free: 17.25 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0007986/0.5476, allocations: 1.264 MB / 1.123 GB, free: 17.16 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.5476, allocations: 1.094 kB / 1.123 GB, free: 17.16 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.713e-06/0.5477, allocations: 0 / 1.123 GB, free: 17.16 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.153e-05/0.5477, allocations: 3.938 kB / 1.123 GB, free: 17.16 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.001563/0.5492, allocations: 1.294 MB / 1.124 GB, free: 16.37 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.098e-05/0.5493, allocations: 15.58 kB / 1.124 GB, free: 16.36 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001414/0.5494, allocations: 178.5 kB / 1.125 GB, free: 16.31 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000703/0.5501, allocations: 222.2 kB / 1.125 GB, free: 16.23 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007868/0.5509, allocations: 0.7993 MB / 1.126 GB, free: 15.88 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.991e-05/0.551, allocations: 82.66 kB / 1.126 GB, free: 15.88 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001077/0.5511, allocations: 109.4 kB / 1.126 GB, free: 15.88 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001435/0.5525, allocations: 1.11 MB / 1.127 GB, free: 15.69 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/0.5526, allocations: 2.844 kB / 1.127 GB, free: 15.69 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.435e-05/0.5527, allocations: 48.16 kB / 1.127 GB, free: 15.69 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.561e-05/0.5527, allocations: 29.77 kB / 1.127 GB, free: 15.69 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001441/0.5541, allocations: 1.22 MB / 1.128 GB, free: 15.67 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003246/0.5574, allocations: 3.017 MB / 1.131 GB, free: 14.73 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000998/0.5584, allocations: 0.7664 MB / 1.132 GB, free: 14.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003823/0.5588, allocations: 298.9 kB / 1.132 GB, free: 14.68 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.846e-05/0.5588, allocations: 31.92 kB / 1.132 GB, free: 14.68 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000596/0.5594, allocations: 448.9 kB / 1.133 GB, free: 14.61 MB / 0.698 GB Notification: Performance of pre-optimization done (n=78): time 1.633e-06/0.5595, allocations: 0 / 1.133 GB, free: 14.61 MB / 0.698 GB Notification: Performance of matching and sorting (n=78): time 0.002276/0.5617, allocations: 1.145 MB / 1.134 GB, free: 14.31 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.86e-05/0.5618, allocations: 192.5 kB / 1.134 GB, free: 14.08 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005762/0.5624, allocations: 0.6661 MB / 1.135 GB, free: 13.85 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.025e-05/0.5625, allocations: 38.95 kB / 1.135 GB, free: 13.82 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002385/0.5627, allocations: 499.2 kB / 1.135 GB, free: 13.54 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000151/0.5629, allocations: 264.5 kB / 1.135 GB, free: 13.35 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.998e-05/0.5629, allocations: 12.94 kB / 1.135 GB, free: 13.35 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.563, allocations: 391.2 kB / 1.136 GB, free: 13.01 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000362/0.5634, allocations: 240.3 kB / 1.136 GB, free: 12.97 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004467/0.5638, allocations: 351.2 kB / 1.136 GB, free: 12.84 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008291/0.5647, allocations: 0.5721 MB / 1.137 GB, free: 12.75 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.5647, allocations: 0 / 1.137 GB, free: 12.75 MB / 0.698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001432/0.5661, allocations: 0.7967 MB / 1.138 GB, free: 12.55 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.5661, allocations: 5 kB / 1.138 GB, free: 12.55 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.5662, allocations: 1.156 kB / 1.138 GB, free: 12.55 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004919/0.5666, allocations: 83.58 kB / 1.138 GB, free: 12.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005452/0.5672, allocations: 153.2 kB / 1.138 GB, free: 12.48 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032/1.6, allocations: 1.522 MB / 1.139 GB, free: 11.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001008/1.601, allocations: 91.56 kB / 1.139 GB, free: 11.05 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.195e-05/1.601, allocations: 33.86 kB / 1.139 GB, free: 11.05 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: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 83 * 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.000492/1.601, allocations: 273.1 kB / 1.14 GB, free: 10.91 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/1.601, allocations: 83.34 kB / 1.14 GB, free: 10.87 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001861/1.603, allocations: 1.028 MB / 1.141 GB, free: 10.59 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/1.603, allocations: 9.125 kB / 1.141 GB, free: 10.59 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/1.603, allocations: 0 / 1.141 GB, free: 10.59 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/1.603, allocations: 7.984 kB / 1.141 GB, free: 10.58 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008605/1.604, allocations: 0.9874 MB / 1.142 GB, free: 10.13 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/1.604, allocations: 3.984 kB / 1.142 GB, free: 10.13 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00051/1.605, allocations: 147 kB / 1.142 GB, free: 10.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004219/1.605, allocations: 82.31 kB / 1.142 GB, free: 10.07 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.425e-05/1.605, allocations: 32.23 kB / 1.142 GB, free: 10.06 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001374/1.607, allocations: 1.544 MB / 1.144 GB, free: 8.688 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/1.607, allocations: 3.984 kB / 1.144 GB, free: 8.684 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001439/1.608, allocations: 0.879 MB / 1.144 GB, free: 8.441 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002675/1.608, allocations: 282.2 kB / 1.145 GB, free: 8.246 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.103e-05/1.608, allocations: 20.39 kB / 1.145 GB, free: 8.242 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004762/1.609, allocations: 69.95 kB / 1.145 GB, free: 8.223 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/1.609, allocations: 61.97 kB / 1.145 GB, free: 8.199 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.202e-05/1.609, allocations: 37.05 kB / 1.145 GB, free: 8.191 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000415/1.61, allocations: 478.7 kB / 1.145 GB, free: 8.027 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/1.61, allocations: 2.906 kB / 1.145 GB, free: 8.027 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006364/1.61, allocations: 310.9 kB / 1.146 GB, free: 7.957 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.002533/1.613, allocations: 1.909 MB / 1.147 GB, free: 6.996 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00119/1.614, allocations: 0.7706 MB / 1.148 GB, free: 6.766 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/1.614, allocations: 1.375 kB / 1.148 GB, free: 6.766 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000687/1.615, allocations: 0.5055 MB / 1.149 GB, free: 6.578 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009348/1.616, allocations: 265 kB / 1.149 GB, free: 6.508 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007797/1.623, allocations: 5.404 MB / 1.154 GB, free: 4.055 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000491/1.624, allocations: 1.077 MB / 1.155 GB, free: 3.203 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006782/1.625, allocations: 265.6 kB / 1.156 GB, free: 3.07 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004199/1.625, allocations: 450.2 kB / 1.156 GB, free: 3.012 MB / 0.698 GB Notification: Performance of SimCode: time 2.1e-07/1.625, allocations: 0 / 1.156 GB, free: 3.012 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 9.805/11.43, allocations: 21.36 MB / 1.177 GB, free: 7.895 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003437/11.43, allocations: 279.9 kB / 1.177 GB, free: 7.543 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.912/14.34, allocations: 3.281 kB / 1.177 GB, free: 7.543 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)