Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.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.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",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.496/1.496, allocations: 288.4 MB / 303.6 MB, free: 8.168 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.000943/0.000943, allocations: 173.9 kB / 372.2 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.181/1.181, allocations: 205.4 MB / 0.631 GB, free: 9.879 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.0006772/0.0006771, allocations: 96.53 kB / 0.7444 GB, free: 5.781 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000382/0.0003822, allocations: 12.78 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1613, allocations: 115.3 MB / 0.9802 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.005074/0.1664, allocations: 5.868 MB / 0.9859 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.4643/0.6307, allocations: 141.2 MB / 1.124 GB, free: 2.207 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009666/0.6317, allocations: 29.5 kB / 1.124 GB, free: 2.195 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.003642/0.6354, allocations: 1.696 MB / 1.125 GB, free: 1.898 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.002054/0.6374, allocations: 0.909 MB / 1.126 GB, free: 1.711 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002511/0.6399, allocations: 1.009 MB / 1.127 GB, free: 1.637 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.00365/0.6436, allocations: 4.633 MB / 1.132 GB, free: 1.25 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001112/0.6447, allocations: 1.08 MB / 1.133 GB, free: 0.9844 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001504/0.6462, allocations: 1.211 MB / 1.134 GB, free: 0.7383 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001183/0.6474, allocations: 1.158 MB / 1.135 GB, free: 0.5156 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001909/0.6476, allocations: 61.22 kB / 1.135 GB, free: 0.5156 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002716/0.6504, allocations: 1.834 MB / 1.137 GB, free: 316 kB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.003533/0.6539, allocations: 3.042 MB / 1.14 GB, free: 15.84 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002375/0.6563, allocations: 2.213 MB / 1.142 GB, free: 14.95 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.008603/0.6649, allocations: 8.816 MB / 1.151 GB, free: 10.78 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.6649, allocations: 1.156 kB / 1.151 GB, free: 10.78 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.064e-06/0.6649, allocations: 0 / 1.151 GB, free: 10.78 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001339/0.6651, allocations: 0 / 1.151 GB, free: 10.78 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: 362 * Number of variables: 362 Notification: Performance of Generate backend data structure: time 0.0141/0.6792, allocations: 6.553 MB / 1.157 GB, free: 7.172 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.6792, allocations: 7.812 kB / 1.157 GB, free: 7.172 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003236/0.6796, allocations: 213.3 kB / 1.157 GB, free: 7.094 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002146/0.6817, allocations: 0.5886 MB / 1.158 GB, free: 6.785 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5693/1.251, allocations: 275.9 MB / 1.428 GB, free: 349.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001373/1.251, allocations: 131.5 kB / 1.428 GB, free: 349.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002816/1.252, allocations: 175.1 kB / 1.428 GB, free: 349.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002849/1.254, allocations: 1.845 MB / 1.43 GB, free: 349 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.711e-05/1.254, allocations: 1.375 kB / 1.43 GB, free: 349 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001178/1.255, allocations: 62.72 kB / 1.43 GB, free: 348.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.808e-05/1.255, allocations: 36.98 kB / 1.43 GB, free: 348.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002742/1.257, allocations: 1.9 MB / 1.432 GB, free: 348.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04978/1.307, allocations: 69.59 MB / 1.5 GB, free: 304.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002443/1.31, allocations: 1.656 MB / 1.501 GB, free: 302.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009291/1.311, allocations: 1.047 MB / 1.502 GB, free: 301.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.114e-05/1.311, allocations: 38.2 kB / 1.502 GB, free: 301.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00114/1.312, allocations: 1.094 MB / 1.503 GB, free: 300.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=105): time 2.895e-06/1.312, allocations: 0 / 1.503 GB, free: 300.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=105): time 0.006521/1.318, allocations: 3.526 MB / 1.507 GB, free: 296.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001303/1.318, allocations: 342.5 kB / 1.507 GB, free: 296.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5982/1.917, allocations: 316 MB / 1.816 GB, free: 345.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000526/1.917, allocations: 64.91 kB / 1.816 GB, free: 345 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002731/1.92, allocations: 2.204 MB / 1.818 GB, free: 343.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003414/1.92, allocations: 355.7 kB / 1.818 GB, free: 343.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.89e-05/1.92, allocations: 36.25 kB / 1.818 GB, free: 343.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001195/1.921, allocations: 387.4 kB / 1.819 GB, free: 343.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002133/1.923, allocations: 1.478 MB / 1.82 GB, free: 342.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002142/1.925, allocations: 1.782 MB / 1.822 GB, free: 342 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003698/1.929, allocations: 3.172 MB / 1.825 GB, free: 340.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/1.929, allocations: 0 / 1.825 GB, free: 340.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=231) (initialization): time 0.006942/1.936, allocations: 4.161 MB / 1.829 GB, free: 339.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001681/1.936, allocations: 170 kB / 1.829 GB, free: 339.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/1.936, allocations: 7.75 kB / 1.829 GB, free: 339.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005863/1.936, allocations: 97.81 kB / 1.829 GB, free: 339.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001263/1.938, allocations: 367.8 kB / 1.829 GB, free: 339.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06983/2.007, allocations: 1.533 MB / 1.831 GB, free: 337.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005448/2.013, allocations: 0.6192 MB / 1.832 GB, free: 337.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004508/2.013, allocations: 90.62 kB / 1.832 GB, free: 337.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (214): * Single equations (assignments): 212 * Array equations: 0 * Algorithm blocks: 1 * 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.004145/2.018, allocations: 2.14 MB / 1.834 GB, free: 337 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002251/2.02, allocations: 452.2 kB / 1.834 GB, free: 336.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006115/2.026, allocations: 3.227 MB / 1.837 GB, free: 335.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/2.026, allocations: 15.69 kB / 1.837 GB, free: 335.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/2.026, allocations: 0 / 1.837 GB, free: 335.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.552e-05/2.026, allocations: 5.109 kB / 1.837 GB, free: 335.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01293/2.039, allocations: 7.966 MB / 1.845 GB, free: 330.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/2.039, allocations: 3 kB / 1.845 GB, free: 330.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006141/2.04, allocations: 171.8 kB / 1.845 GB, free: 330.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000443/2.04, allocations: 86.97 kB / 1.845 GB, free: 330 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.844e-05/2.04, allocations: 44.75 kB / 1.845 GB, free: 330 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001307/2.041, allocations: 1.536 MB / 1.847 GB, free: 328.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/2.041, allocations: 3.938 kB / 1.847 GB, free: 328.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003988/2.045, allocations: 2.954 MB / 1.85 GB, free: 325.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001892/2.047, allocations: 1.771 MB / 1.852 GB, free: 323.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005987/2.048, allocations: 27.98 kB / 1.852 GB, free: 323.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001861/2.05, allocations: 416 kB / 1.852 GB, free: 323.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001548/2.05, allocations: 76.88 kB / 1.852 GB, free: 323 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.98e-05/2.05, allocations: 52.84 kB / 1.852 GB, free: 322.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.1509/2.201, allocations: 251.6 MB / 2.098 GB, free: 71.36 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.032e-06/2.201, allocations: 0 / 2.098 GB, free: 71.36 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.006208/2.207, allocations: 1.326 MB / 2.099 GB, free: 70.11 MB / 0.948 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.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 1 * 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.007921/2.215, allocations: 4.334 MB / 2.103 GB, free: 66.02 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004113/2.219, allocations: 4.205 MB / 2.107 GB, free: 61.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/2.219, allocations: 0 / 2.107 GB, free: 61.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001542/2.221, allocations: 1.852 MB / 2.109 GB, free: 59.92 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004296/2.225, allocations: 0.5351 MB / 2.11 GB, free: 59.39 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.617/3.842, allocations: 0.7806 GB / 2.89 GB, free: 346.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00293/3.845, allocations: 2.98 MB / 2.893 GB, free: 345 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00411/3.849, allocations: 1.673 MB / 2.895 GB, free: 344.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003002/3.852, allocations: 2.315 MB / 2.897 GB, free: 343.2 MB / 0.948 GB Notification: Performance of SimCode: time 7.41e-07/3.852, allocations: 0 / 2.897 GB, free: 343.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.35/5.202, allocations: 215.4 MB / 3.107 GB, free: 143.6 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00016/5.203, allocations: 272.7 kB / 3.108 GB, free: 143.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.267/10.47, allocations: 0 / 3.108 GB, free: 143.3 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.fmu > Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1)