Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.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.TransmittedRadiation,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation",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 2.616/2.616, allocations: 252 MB / 267.3 MB, free: 10.83 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.001767/0.001768, allocations: 182.7 kB / 327 MB, free: 2.07 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.4/3.4, allocations: 205.4 MB / 0.578 GB, free: 20.06 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.00112/0.00112, allocations: 86.34 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004183/0.0004184, allocations: 9.469 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3658/0.3662, allocations: 106.3 MB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.00864/0.375, allocations: 5.034 MB / 0.9058 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2786/0.6536, allocations: 150.5 MB / 1.053 GB, free: 3.297 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00211/0.6558, allocations: 23.88 kB / 1.053 GB, free: 3.273 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.009651/0.6655, allocations: 1.603 MB / 1.054 GB, free: 1.668 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.004783/0.6704, allocations: 0.6253 MB / 1.055 GB, free: 1.043 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0048/0.6752, allocations: 0.7754 MB / 1.056 GB, free: 280 kB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.9791/1.654, allocations: 2.261 MB / 1.058 GB, free: 3.113 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002855/1.657, allocations: 0.9032 MB / 1.059 GB, free: 2.938 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002102/1.659, allocations: 0.5938 MB / 1.059 GB, free: 2.934 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00257/1.662, allocations: 0.6377 MB / 1.06 GB, free: 2.934 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0008413/1.663, allocations: 35.72 kB / 1.06 GB, free: 2.934 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007944/1.671, allocations: 1.904 MB / 1.062 GB, free: 2.934 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.002198/1.673, allocations: 1.017 MB / 1.063 GB, free: 2.934 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.003453/1.677, allocations: 1.087 MB / 1.064 GB, free: 2.898 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01739/1.694, allocations: 4.857 MB / 1.069 GB, free: 2.695 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.428e-05/1.694, allocations: 1.062 kB / 1.069 GB, free: 2.695 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.36e-06/1.694, allocations: 1.859 kB / 1.069 GB, free: 2.695 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001819/1.694, allocations: 0 / 1.069 GB, free: 2.695 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: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.01975/1.714, allocations: 3.127 MB / 1.072 GB, free: 1.242 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001161/1.714, allocations: 9.906 kB / 1.072 GB, free: 1.242 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001538/1.716, allocations: 181.1 kB / 1.072 GB, free: 1.199 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004981/1.721, allocations: 351 kB / 1.072 GB, free: 1.055 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2162/1.937, allocations: 88.98 MB / 1.159 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001689/1.937, allocations: 98.36 kB / 1.159 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004528/1.938, allocations: 126 kB / 1.159 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004811/1.943, allocations: 1.257 MB / 1.161 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.986e-05/1.943, allocations: 0 / 1.161 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002229/1.943, allocations: 55.98 kB / 1.161 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.248e-05/1.943, allocations: 30.44 kB / 1.161 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00476/1.948, allocations: 1.421 MB / 1.162 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04558/1.994, allocations: 23.13 MB / 1.185 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003811/1.997, allocations: 1.008 MB / 1.186 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001228/1.999, allocations: 412.7 kB / 1.186 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001604/1.999, allocations: 35.52 kB / 1.186 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001696/2.001, allocations: 0.5553 MB / 1.187 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=88): time 5.941e-06/2.001, allocations: 0 / 1.187 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of matching and sorting (n=88): time 0.008484/2.009, allocations: 1.573 MB / 1.188 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001835/2.009, allocations: 196.9 kB / 1.188 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1998/2.209, allocations: 99.34 MB / 1.285 GB, free: 8.094 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.000547/2.21, allocations: 49.7 kB / 1.285 GB, free: 8.039 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001914/2.212, allocations: 1.023 MB / 1.286 GB, free: 7.012 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005648/2.212, allocations: 290.4 kB / 1.287 GB, free: 6.73 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/2.212, allocations: 20 kB / 1.287 GB, free: 6.711 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001784/2.213, allocations: 353.8 kB / 1.287 GB, free: 6.363 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00129/2.214, allocations: 449.8 kB / 1.287 GB, free: 5.926 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001312/2.215, allocations: 0.5783 MB / 1.288 GB, free: 5.316 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0023/2.218, allocations: 0.9343 MB / 1.289 GB, free: 4.363 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/2.218, allocations: 0 / 1.289 GB, free: 4.363 MB / 0.8698 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.005858/2.223, allocations: 1.408 MB / 1.29 GB, free: 2.953 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.025e-05/2.224, allocations: 4 kB / 1.29 GB, free: 2.949 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.587e-05/2.224, allocations: 4 kB / 1.29 GB, free: 2.945 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008722/2.224, allocations: 88.8 kB / 1.29 GB, free: 2.855 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001499/2.226, allocations: 222.1 kB / 1.291 GB, free: 2.656 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002891/2.229, allocations: 1.52 MB / 1.292 GB, free: 1.008 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003785/2.233, allocations: 260.2 kB / 1.292 GB, free: 0.7539 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003654/2.233, allocations: 43.97 kB / 1.292 GB, free: 0.7109 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (122): * Single equations (assignments): 121 * 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.003396/2.237, allocations: 0.7888 MB / 1.293 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002353/2.239, allocations: 209.3 kB / 1.293 GB, free: 15.72 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006393/2.245, allocations: 1.492 MB / 1.295 GB, free: 14.21 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-05/2.245, allocations: 12 kB / 1.295 GB, free: 14.2 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/2.245, allocations: 0 / 1.295 GB, free: 14.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.367e-05/2.246, allocations: 7.984 kB / 1.295 GB, free: 14.2 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01485/2.26, allocations: 3.516 MB / 1.298 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.475e-05/2.26, allocations: 0 / 1.298 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001224/2.262, allocations: 176.6 kB / 1.298 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008024/2.263, allocations: 84.77 kB / 1.299 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000151/2.263, allocations: 25.73 kB / 1.299 GB, free: 10.37 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002982/2.266, allocations: 1.56 MB / 1.3 GB, free: 8.684 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/2.266, allocations: 3.281 kB / 1.3 GB, free: 8.684 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006421/2.272, allocations: 1.294 MB / 1.301 GB, free: 7.371 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004204/2.276, allocations: 0.7397 MB / 1.302 GB, free: 6.609 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002294/2.279, allocations: 31.98 kB / 1.302 GB, free: 6.578 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004443/2.283, allocations: 176 kB / 1.302 GB, free: 6.406 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004925/2.284, allocations: 72.89 kB / 1.302 GB, free: 6.332 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001581/2.284, allocations: 39.98 kB / 1.302 GB, free: 6.293 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.125/2.409, allocations: 79.35 MB / 1.38 GB, free: 6.926 MB / 0.9636 GB Notification: Performance of sort global known variables: time 2.104e-06/2.409, allocations: 0 / 1.38 GB, free: 6.926 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.00821/2.417, allocations: 0.9457 MB / 1.381 GB, free: 5.984 MB / 0.9636 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 (102): * Single equations (assignments): 99 * 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.01503/2.433, allocations: 2.656 MB / 1.383 GB, free: 3.547 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.00482/2.437, allocations: 1.143 MB / 1.385 GB, free: 2.406 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 8.356e-06/2.437, allocations: 0 / 1.385 GB, free: 2.406 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.002147/2.44, allocations: 0.6102 MB / 1.385 GB, free: 1.809 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006124/2.446, allocations: 370.1 kB / 1.385 GB, free: 1.449 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.341/3.787, allocations: 410.4 MB / 1.786 GB, free: 64.33 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003596/3.79, allocations: 1.689 MB / 1.788 GB, free: 62.62 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.005518/3.796, allocations: 0.7518 MB / 1.789 GB, free: 61.98 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005227/3.801, allocations: 1.054 MB / 1.79 GB, free: 60.93 MB / 0.9792 GB Notification: Performance of SimCode: time 1.593e-06/3.801, allocations: 0 / 1.79 GB, free: 60.93 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9959/4.797, allocations: 86.61 MB / 1.874 GB, free: 414.1 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003095/4.798, allocations: 319 kB / 1.875 GB, free: 413.8 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.302/12.1, allocations: 0 / 1.875 GB, free: 413.8 MB / 0.9792 GB (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation.fmu > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe 2>&1)