Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 191.5 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.162/1.162, allocations: 205.1 MB / 222.1 MB, free: 4.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.528/1.528, allocations: 292.3 MB / 0.5486 GB, free: 13.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001379, allocations: 68.69 kB / 0.6711 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1819/0.1833, allocations: 114.6 MB / 0.783 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.007706/0.191, allocations: 6.688 MB / 0.7895 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.4773/0.6683, allocations: 156.7 MB / 0.9426 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001177/0.6695, allocations: 32.94 kB / 0.9426 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.004537/0.6741, allocations: 1.777 MB / 0.9443 GB, free: 4.789 MB / 0.7325 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.002324/0.6764, allocations: 1.007 MB / 0.9453 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002722/0.6792, allocations: 1.227 MB / 0.9465 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003983/0.6832, allocations: 5.059 MB / 0.9515 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001344/0.6845, allocations: 1.14 MB / 0.9526 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002272/0.6868, allocations: 1.642 MB / 0.9542 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001729/0.6885, allocations: 1.423 MB / 0.9556 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0003399/0.6889, allocations: 257 kB / 0.9558 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003248/0.6921, allocations: 2.23 MB / 0.958 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001956/0.6941, allocations: 2.974 MB / 0.9609 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.002453/0.6966, allocations: 2.824 MB / 0.9636 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00945/0.706, allocations: 10.39 MB / 0.9738 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.7061, allocations: 7.062 kB / 0.9738 GB, free: 2.102 MB / 0.7325 GB Notification: Performance of FrontEnd: time 9.92e-07/0.7061, allocations: 0 / 0.9738 GB, free: 2.102 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001472/0.7062, allocations: 0 / 0.9738 GB, free: 2.102 MB / 0.7325 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.01688/0.7231, allocations: 8.073 MB / 0.9817 GB, free: 14 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.7232, allocations: 10.81 kB / 0.9817 GB, free: 14 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002639/0.7234, allocations: 209.5 kB / 0.9819 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00237/0.7258, allocations: 0.585 MB / 0.9825 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2418/0.9676, allocations: 275.9 MB / 1.252 GB, free: 8.785 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/0.9677, allocations: 130.7 kB / 1.252 GB, free: 8.656 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002576/0.968, allocations: 184 kB / 1.252 GB, free: 8.477 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002866/0.9709, allocations: 1.855 MB / 1.254 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.837e-05/0.9709, allocations: 7.875 kB / 1.254 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000134/0.971, allocations: 61.06 kB / 1.254 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.519e-05/0.9711, allocations: 32 kB / 1.254 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00268/0.9738, allocations: 1.895 MB / 1.256 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3984/1.372, allocations: 69.51 MB / 1.324 GB, free: 443.6 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004406/1.377, allocations: 1.663 MB / 1.325 GB, free: 443 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002135/1.379, allocations: 1.043 MB / 1.327 GB, free: 442.6 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001568/1.379, allocations: 36.92 kB / 1.327 GB, free: 442.6 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001859/1.381, allocations: 1.103 MB / 1.328 GB, free: 442.3 MB / 1.045 GB Notification: Performance of pre-optimization done (n=105): time 3.606e-06/1.381, allocations: 0 / 1.328 GB, free: 442.3 MB / 1.045 GB Notification: Performance of matching and sorting (n=105): time 0.008818/1.39, allocations: 3.514 MB / 1.331 GB, free: 441.3 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000149/1.39, allocations: 344.5 kB / 1.331 GB, free: 441.1 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2753/1.665, allocations: 315.9 MB / 1.64 GB, free: 134.9 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0005217/1.666, allocations: 57.7 kB / 1.64 GB, free: 134.9 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.00376/1.67, allocations: 2.214 MB / 1.642 GB, free: 132.8 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005027/1.67, allocations: 347.5 kB / 1.642 GB, free: 132.5 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001404/1.671, allocations: 443.1 kB / 1.643 GB, free: 132.1 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 3.518e-05/1.672, allocations: 304.9 kB / 1.643 GB, free: 131.8 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002033/1.674, allocations: 1.484 MB / 1.645 GB, free: 130.3 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002028/1.676, allocations: 1.783 MB / 1.646 GB, free: 128.4 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003401/1.679, allocations: 3.158 MB / 1.649 GB, free: 125.2 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.734e-06/1.679, allocations: 0 / 1.649 GB, free: 125.2 MB / 1.045 GB Notification: Performance of matching and sorting (n=231) (initialization): time 0.008488/1.688, allocations: 4.17 MB / 1.653 GB, free: 121 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001295/1.688, allocations: 169.6 kB / 1.654 GB, free: 120.9 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/1.688, allocations: 6 kB / 1.654 GB, free: 120.9 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006411/1.688, allocations: 88.22 kB / 1.654 GB, free: 120.8 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001274/1.69, allocations: 375.4 kB / 1.654 GB, free: 120.4 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001781/1.691, allocations: 1.647 MB / 1.656 GB, free: 118.6 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004745/1.696, allocations: 0.6098 MB / 1.656 GB, free: 118 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002425/1.696, allocations: 89.28 kB / 1.656 GB, free: 117.9 MB / 1.045 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.003523/1.7, allocations: 2.142 MB / 1.658 GB, free: 115.8 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003276/1.703, allocations: 450 kB / 1.659 GB, free: 115.3 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005835/1.709, allocations: 3.229 MB / 1.662 GB, free: 112.1 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.405e-06/1.709, allocations: 8 kB / 1.662 GB, free: 112.1 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/1.709, allocations: 7.75 kB / 1.662 GB, free: 112.1 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/1.709, allocations: 3.984 kB / 1.662 GB, free: 112.1 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01525/1.724, allocations: 7.965 MB / 1.67 GB, free: 104.1 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.229e-06/1.724, allocations: 0 / 1.67 GB, free: 104.1 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006846/1.725, allocations: 175.7 kB / 1.67 GB, free: 103.9 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004465/1.726, allocations: 76.78 kB / 1.67 GB, free: 103.8 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.911e-05/1.726, allocations: 39.97 kB / 1.67 GB, free: 103.8 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001532/1.727, allocations: 1.648 MB / 1.672 GB, free: 102 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/1.727, allocations: 5.594 kB / 1.672 GB, free: 102 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006126/1.733, allocations: 2.956 MB / 1.675 GB, free: 99.01 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003695/1.737, allocations: 1.743 MB / 1.676 GB, free: 97.24 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002713/1.74, allocations: 27.89 kB / 1.676 GB, free: 97.21 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00387/1.744, allocations: 404 kB / 1.677 GB, free: 96.82 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002077/1.744, allocations: 80.83 kB / 1.677 GB, free: 96.74 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001116/1.744, allocations: 55.97 kB / 1.677 GB, free: 96.69 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.4982/2.242, allocations: 251.5 MB / 1.922 GB, free: 316.9 MB / 1.045 GB Notification: Performance of sort global known variables: time 6.21e-07/2.242, allocations: 0 / 1.922 GB, free: 316.9 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.005481/2.248, allocations: 1.332 MB / 1.924 GB, free: 315.7 MB / 1.045 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.009306/2.257, allocations: 4.328 MB / 1.928 GB, free: 311.9 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.00493/2.262, allocations: 4.681 MB / 1.933 GB, free: 307.3 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.145e-06/2.262, allocations: 0 / 1.933 GB, free: 307.3 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001533/2.264, allocations: 1.846 MB / 1.934 GB, free: 305.4 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00538/2.269, allocations: 0.5865 MB / 1.935 GB, free: 304.8 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.786/4.055, allocations: 1.277 GB / 3.212 GB, free: 384.7 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00266/4.058, allocations: 2.979 MB / 3.214 GB, free: 382.4 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.003634/4.062, allocations: 1.671 MB / 3.216 GB, free: 381.1 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002518/4.064, allocations: 2.29 MB / 3.218 GB, free: 379.1 MB / 1.045 GB Notification: Performance of SimCode: time 8.12e-07/4.064, allocations: 0 / 3.218 GB, free: 379.1 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 9.557/13.62, allocations: 273.3 MB / 3.485 GB, free: 109.4 MB / 1.045 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001274/13.62, allocations: 289.9 kB / 3.486 GB, free: 109.1 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.279/17.9, allocations: 7.938 kB / 3.486 GB, free: 109 MB / 1.045 GB (rm -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.fmu > Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1)