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.375/1.375, allocations: 252 MB / 267 MB, free: 10.97 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.001011/0.001012, allocations: 178.2 kB / 326.6 MB, free: 2.203 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.643/1.643, allocations: 205.4 MB / 0.5777 GB, free: 20.28 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.0007628/0.0007628, allocations: 94.28 kB / 0.6823 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003454/0.0003455, allocations: 18.14 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.2063, allocations: 106.3 MB / 0.9003 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.005729/0.2121, allocations: 5.88 MB / 0.906 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.149/0.3612, allocations: 141.2 MB / 1.044 GB, free: 12.28 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001514/0.3627, allocations: 35.81 kB / 1.044 GB, free: 12.24 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.004558/0.3673, allocations: 1.611 MB / 1.046 GB, free: 10.62 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.002812/0.3701, allocations: 0.9074 MB / 1.046 GB, free: 9.719 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003081/0.3732, allocations: 1.001 MB / 1.047 GB, free: 8.723 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004763/0.378, allocations: 4.58 MB / 1.052 GB, free: 4.133 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001329/0.3793, allocations: 0.8972 MB / 1.053 GB, free: 3.203 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002822/0.3822, allocations: 1.3 MB / 1.054 GB, free: 1.898 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00225/0.3844, allocations: 1.16 MB / 1.055 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002805/0.3847, allocations: 64 kB / 1.055 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3866/0.7713, allocations: 1.792 MB / 1.057 GB, free: 6.305 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.003217/0.7745, allocations: 2.913 MB / 1.06 GB, free: 6.305 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001289/0.7759, allocations: 0.7642 MB / 1.061 GB, free: 6.273 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01352/0.7894, allocations: 8.791 MB / 1.069 GB, free: 5.867 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.7894, allocations: 1.031 kB / 1.069 GB, free: 5.867 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.707e-06/0.7894, allocations: 0.6562 kB / 1.069 GB, free: 5.867 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002496/0.7897, allocations: 0.8125 kB / 1.069 GB, free: 5.867 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.01863/0.8083, allocations: 6.608 MB / 1.076 GB, free: 3.312 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.8084, allocations: 9.094 kB / 1.076 GB, free: 3.312 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006483/0.8091, allocations: 210 kB / 1.076 GB, free: 3.27 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004243/0.8133, allocations: 0.5924 MB / 1.076 GB, free: 2.988 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2938/1.107, allocations: 276.7 MB / 1.347 GB, free: 9.578 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001233/1.107, allocations: 126.7 kB / 1.347 GB, free: 9.453 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003556/1.108, allocations: 180 kB / 1.347 GB, free: 9.277 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003119/1.111, allocations: 1.677 MB / 1.349 GB, free: 7.523 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.565e-05/1.111, allocations: 2.906 kB / 1.349 GB, free: 7.523 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001432/1.111, allocations: 60 kB / 1.349 GB, free: 7.465 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.074e-05/1.111, allocations: 32 kB / 1.349 GB, free: 7.434 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003082/1.114, allocations: 1.73 MB / 1.35 GB, free: 5.711 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4847/1.599, allocations: 69.58 MB / 1.418 GB, free: 402.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002851/1.602, allocations: 1.436 MB / 1.42 GB, free: 402.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001024/1.603, allocations: 0.8155 MB / 1.421 GB, free: 402.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.935e-05/1.603, allocations: 40.12 kB / 1.421 GB, free: 402.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001263/1.604, allocations: 0.9285 MB / 1.421 GB, free: 402.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=105): time 3.016e-06/1.604, allocations: 3.75 kB / 1.421 GB, free: 402.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=105): time 0.008065/1.612, allocations: 3.025 MB / 1.424 GB, free: 400.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001503/1.612, allocations: 340.7 kB / 1.425 GB, free: 400.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2811/1.894, allocations: 316 MB / 1.733 GB, free: 85.23 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000532/1.894, allocations: 58.47 kB / 1.733 GB, free: 85.17 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003176/1.897, allocations: 2.207 MB / 1.735 GB, free: 83.02 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004546/1.898, allocations: 357.6 kB / 1.736 GB, free: 82.69 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/1.898, allocations: 36 kB / 1.736 GB, free: 82.66 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.073e-05/1.898, allocations: 381.9 kB / 1.736 GB, free: 82.28 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001699/1.9, allocations: 1.312 MB / 1.738 GB, free: 80.96 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001698/1.901, allocations: 1.617 MB / 1.739 GB, free: 79.27 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001823/1.903, allocations: 1.619 MB / 1.741 GB, free: 77.66 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/1.903, allocations: 4 kB / 1.741 GB, free: 77.66 MB / 0.948 GB Notification: Performance of matching and sorting (n=231) (initialization): time 0.008934/1.912, allocations: 3.827 MB / 1.744 GB, free: 73.86 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001786/1.912, allocations: 165.5 kB / 1.745 GB, free: 73.69 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.237e-05/1.913, allocations: 11.98 kB / 1.745 GB, free: 73.68 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006349/1.913, allocations: 88.47 kB / 1.745 GB, free: 73.59 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001475/1.915, allocations: 373.4 kB / 1.745 GB, free: 73.23 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001749/1.916, allocations: 1.53 MB / 1.747 GB, free: 71.58 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005049/1.921, allocations: 0.6223 MB / 1.747 GB, free: 70.96 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000441/1.922, allocations: 85.03 kB / 1.747 GB, free: 70.88 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.004292/1.926, allocations: 2.144 MB / 1.749 GB, free: 68.71 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002804/1.929, allocations: 446.9 kB / 1.75 GB, free: 68.27 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006193/1.935, allocations: 2.901 MB / 1.753 GB, free: 65.36 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/1.935, allocations: 8 kB / 1.753 GB, free: 65.36 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/1.935, allocations: 0 / 1.753 GB, free: 65.36 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/1.935, allocations: 4.688 kB / 1.753 GB, free: 65.35 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01624/1.952, allocations: 7.622 MB / 1.76 GB, free: 57.69 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/1.952, allocations: 0 / 1.76 GB, free: 57.69 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007289/1.952, allocations: 179.7 kB / 1.76 GB, free: 57.51 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005137/1.953, allocations: 80.78 kB / 1.76 GB, free: 57.43 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-05/1.953, allocations: 35.97 kB / 1.76 GB, free: 57.39 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00152/1.955, allocations: 1.548 MB / 1.762 GB, free: 55.71 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/1.955, allocations: 0 / 1.762 GB, free: 55.71 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006109/1.961, allocations: 2.612 MB / 1.764 GB, free: 53.07 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005229/1.966, allocations: 1.763 MB / 1.766 GB, free: 51.28 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003814/1.97, allocations: 23.95 kB / 1.766 GB, free: 51.26 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005026/1.975, allocations: 425.4 kB / 1.767 GB, free: 50.85 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003578/1.975, allocations: 80.89 kB / 1.767 GB, free: 50.77 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001265/1.975, allocations: 57.69 kB / 1.767 GB, free: 50.71 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.6172/2.593, allocations: 251.6 MB / 2.012 GB, free: 219.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.272e-06/2.593, allocations: 0 / 2.012 GB, free: 219.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.008615/2.601, allocations: 1.321 MB / 2.014 GB, free: 218.7 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.01047/2.612, allocations: 3.978 MB / 2.017 GB, free: 215.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004662/2.617, allocations: 3.858 MB / 2.021 GB, free: 211.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/2.617, allocations: 1.5 kB / 2.021 GB, free: 211.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001672/2.618, allocations: 1.671 MB / 2.023 GB, free: 209.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007115/2.625, allocations: 0.5527 MB / 2.023 GB, free: 209.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.613/4.238, allocations: 0.7798 GB / 2.803 GB, free: 234.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002635/4.241, allocations: 2.977 MB / 2.806 GB, free: 231.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.005888/4.247, allocations: 1.668 MB / 2.808 GB, free: 230.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006949/4.254, allocations: 2.314 MB / 2.81 GB, free: 227.8 MB / 0.948 GB Notification: Performance of SimCode: time 7.91e-07/4.254, allocations: 0 / 2.81 GB, free: 227.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2688/4.523, allocations: 213.3 MB / 3.018 GB, free: 15.55 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002688/4.523, allocations: 286.8 kB / 3.019 GB, free: 15.19 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.596/10.12, allocations: 0 / 3.019 GB, free: 15.19 MB / 0.948 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)