Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.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: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.259/1.259, allocations: 251.5 MB / 266.7 MB, free: 11.02 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.0008609/0.0008609, allocations: 170.6 kB / 325.8 MB, free: 2.68 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.334/1.334, allocations: 205 MB / 0.576 GB, free: 20.99 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.0007083/0.0007081, allocations: 92.27 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002616/0.0002616, allocations: 15.81 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1444, allocations: 105.4 MB / 0.8962 GB, free: 68.07 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.004805/0.1492, allocations: 6.362 MB / 0.9024 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1255/0.2748, allocations: 157 MB / 1.056 GB, free: 96 kB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001179/0.276, allocations: 35.75 kB / 1.056 GB, free: 60 kB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.3289/0.6049, allocations: 1.761 MB / 1.057 GB, free: 2.344 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.002309/0.6073, allocations: 1.003 MB / 1.058 GB, free: 2.344 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002451/0.6097, allocations: 1.177 MB / 1.06 GB, free: 2.324 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004089/0.6138, allocations: 5.044 MB / 1.065 GB, free: 2.316 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001362/0.6152, allocations: 1.085 MB / 1.066 GB, free: 2.086 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00228/0.6175, allocations: 1.224 MB / 1.067 GB, free: 2.082 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001543/0.619, allocations: 1.162 MB / 1.068 GB, free: 2.082 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002224/0.6193, allocations: 66.88 kB / 1.068 GB, free: 2.078 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003257/0.6225, allocations: 1.935 MB / 1.07 GB, free: 2.055 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.002048/0.6246, allocations: 2.762 MB / 1.073 GB, free: 2.055 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002053/0.6267, allocations: 2.3 MB / 1.075 GB, free: 1.883 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.008381/0.6351, allocations: 10.03 MB / 1.085 GB, free: 0.793 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.6351, allocations: 0 / 1.085 GB, free: 0.793 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.984e-06/0.6351, allocations: 0 / 1.085 GB, free: 0.793 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001184/0.6352, allocations: 3.75 kB / 1.085 GB, free: 0.793 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.01239/0.6476, allocations: 6.547 MB / 1.091 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.6477, allocations: 8.625 kB / 1.091 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002974/0.648, allocations: 216 kB / 1.091 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002666/0.6506, allocations: 0.5951 MB / 1.092 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2234/0.874, allocations: 276.1 MB / 1.361 GB, free: 10.95 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001145/0.8742, allocations: 130.7 kB / 1.362 GB, free: 10.82 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003869/0.8746, allocations: 180 kB / 1.362 GB, free: 10.64 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002815/0.8774, allocations: 1.853 MB / 1.364 GB, free: 8.711 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.698e-05/0.8775, allocations: 7 kB / 1.364 GB, free: 8.707 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001212/0.8776, allocations: 60 kB / 1.364 GB, free: 8.648 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.474e-05/0.8776, allocations: 32 kB / 1.364 GB, free: 8.617 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002551/0.8802, allocations: 1.907 MB / 1.366 GB, free: 6.715 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3687/1.249, allocations: 69.59 MB / 1.433 GB, free: 423.9 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002158/1.251, allocations: 1.665 MB / 1.435 GB, free: 422.4 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009387/1.252, allocations: 1.047 MB / 1.436 GB, free: 421.4 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 7.661e-05/1.252, allocations: 41.12 kB / 1.436 GB, free: 421.4 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001154/1.253, allocations: 1.105 MB / 1.437 GB, free: 420.5 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=105): time 2.605e-06/1.253, allocations: 0 / 1.437 GB, free: 420.5 MB / 0.9792 GB Notification: Performance of matching and sorting (n=105): time 0.007311/1.261, allocations: 3.527 MB / 1.441 GB, free: 417.5 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001459/1.261, allocations: 344 kB / 1.441 GB, free: 417.2 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2547/1.516, allocations: 315.9 MB / 1.749 GB, free: 102.9 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0003752/1.516, allocations: 57.7 kB / 1.75 GB, free: 102.9 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.002594/1.519, allocations: 2.212 MB / 1.752 GB, free: 100.8 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003728/1.519, allocations: 351.1 kB / 1.752 GB, free: 100.5 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002392/1.519, allocations: 206.6 kB / 1.752 GB, free: 100.3 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 4.628e-05/1.519, allocations: 305 kB / 1.753 GB, free: 100 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001568/1.521, allocations: 1.488 MB / 1.754 GB, free: 98.51 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001643/1.522, allocations: 1.789 MB / 1.756 GB, free: 96.64 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002875/1.525, allocations: 3.164 MB / 1.759 GB, free: 93.43 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/1.525, allocations: 0 / 1.759 GB, free: 93.43 MB / 0.9792 GB Notification: Performance of matching and sorting (n=231) (initialization): time 0.008065/1.533, allocations: 4.182 MB / 1.763 GB, free: 89.27 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001291/1.534, allocations: 169.6 kB / 1.763 GB, free: 89.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/1.534, allocations: 4 kB / 1.763 GB, free: 89.09 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000565/1.534, allocations: 94.23 kB / 1.763 GB, free: 89 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/1.535, allocations: 372.1 kB / 1.763 GB, free: 88.64 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001526/1.537, allocations: 1.531 MB / 1.765 GB, free: 86.98 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003822/1.541, allocations: 0.6205 MB / 1.766 GB, free: 86.37 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001467/1.541, allocations: 83.97 kB / 1.766 GB, free: 86.29 MB / 0.9792 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 (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 (214): * Single equations (assignments): 212 * Array equations: 0 * Algorithm blocks: 1 * 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.002862/1.544, allocations: 2.143 MB / 1.768 GB, free: 84.12 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002514/1.546, allocations: 453.9 kB / 1.768 GB, free: 83.68 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004719/1.551, allocations: 3.236 MB / 1.771 GB, free: 80.43 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/1.551, allocations: 19.94 kB / 1.771 GB, free: 80.41 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/1.551, allocations: 0 / 1.771 GB, free: 80.41 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/1.551, allocations: 9.141 kB / 1.771 GB, free: 80.41 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01211/1.563, allocations: 7.964 MB / 1.779 GB, free: 72.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/1.563, allocations: 0 / 1.779 GB, free: 72.4 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006081/1.564, allocations: 175.8 kB / 1.779 GB, free: 72.23 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004813/1.564, allocations: 80.78 kB / 1.779 GB, free: 72.15 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.351e-05/1.564, allocations: 37.69 kB / 1.779 GB, free: 72.11 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001334/1.566, allocations: 1.553 MB / 1.781 GB, free: 70.43 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/1.566, allocations: 32 / 1.781 GB, free: 70.43 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005878/1.572, allocations: 2.968 MB / 1.784 GB, free: 67.43 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002989/1.575, allocations: 1.745 MB / 1.786 GB, free: 65.66 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001499/1.576, allocations: 23.98 kB / 1.786 GB, free: 65.63 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002271/1.578, allocations: 420.3 kB / 1.786 GB, free: 65.23 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001721/1.579, allocations: 88.81 kB / 1.786 GB, free: 65.14 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.563e-05/1.579, allocations: 51.98 kB / 1.786 GB, free: 65.09 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.4805/2.059, allocations: 251.5 MB / 2.032 GB, free: 267.8 MB / 0.9792 GB Notification: Performance of sort global known variables: time 4.51e-07/2.059, allocations: 0 / 2.032 GB, free: 267.8 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.004915/2.064, allocations: 1.33 MB / 2.033 GB, free: 266.6 MB / 0.9792 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 (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.008085/2.072, allocations: 4.343 MB / 2.037 GB, free: 262.9 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.003792/2.076, allocations: 4.219 MB / 2.041 GB, free: 258.7 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/2.076, allocations: 0 / 2.041 GB, free: 258.7 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001482/2.078, allocations: 1.841 MB / 2.043 GB, free: 256.8 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003884/2.081, allocations: 0.5576 MB / 2.044 GB, free: 256.3 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.752/3.833, allocations: 1.277 GB / 3.32 GB, free: 283 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002222/3.835, allocations: 2.979 MB / 3.323 GB, free: 280 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.003762/3.839, allocations: 1.669 MB / 3.325 GB, free: 278.5 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002896/3.842, allocations: 2.286 MB / 3.327 GB, free: 276.2 MB / 0.9792 GB Notification: Performance of SimCode: time 1.553e-06/3.842, allocations: 0 / 3.327 GB, free: 276.2 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.942/4.784, allocations: 217.8 MB / 3.54 GB, free: 59.57 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001585/4.784, allocations: 313.3 kB / 3.54 GB, free: 59.19 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.179/9.964, allocations: 0 / 3.54 GB, free: 59.19 MB / 0.9792 GB (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.fmu > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1)