Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.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.AbsorbedRadiation,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation",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.001203/0.001203, 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.001231/0.001231, allocations: 191.2 kB / 16.25 MB, free: 6.637 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.295/1.295, allocations: 205.1 MB / 222.1 MB, free: 4.699 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.65/1.65, allocations: 292.3 MB / 0.5486 GB, free: 13.61 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.001486/0.001486, allocations: 65.59 kB / 0.6711 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.2116, allocations: 114.5 MB / 0.783 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.00757/0.2192, allocations: 5.501 MB / 0.7884 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5991/0.8184, allocations: 152.9 MB / 0.9376 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001004/0.8194, allocations: 23.69 kB / 0.9376 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.004608/0.8241, allocations: 1.607 MB / 0.9392 GB, free: 5.07 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.001787/0.8259, allocations: 0.6257 MB / 0.9398 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002014/0.8279, allocations: 0.8558 MB / 0.9407 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002827/0.8308, allocations: 3.284 MB / 0.9439 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001181/0.8319, allocations: 0.9264 MB / 0.9448 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001741/0.8337, allocations: 1.127 MB / 0.9459 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001241/0.8349, allocations: 0.9864 MB / 0.9468 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0003172/0.8353, allocations: 178.4 kB / 0.947 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003933/0.8392, allocations: 2.115 MB / 0.9491 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001511/0.8407, allocations: 1.39 MB / 0.9504 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001836/0.8426, allocations: 1.396 MB / 0.9518 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.006802/0.8494, allocations: 5.303 MB / 0.957 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.83e-06/0.8494, allocations: 3.281 kB / 0.957 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.174e-06/0.8494, allocations: 0 / 0.957 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.375e-05/0.8495, allocations: 1.094 kB / 0.957 GB, free: 4.031 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.009251/0.8588, allocations: 4.018 MB / 0.9609 GB, free: 18.38 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.8588, allocations: 9.344 kB / 0.9609 GB, free: 18.38 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002279/0.8591, allocations: 178.4 kB / 0.9611 GB, free: 18.34 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001342/0.8604, allocations: 339.8 kB / 0.9614 GB, free: 18.18 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0887/0.9491, allocations: 88.03 MB / 1.047 GB, free: 7.762 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.89e-05/0.9493, allocations: 110.2 kB / 1.047 GB, free: 7.652 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002095/0.9495, allocations: 142.5 kB / 1.048 GB, free: 7.516 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002512/0.952, allocations: 1.428 MB / 1.049 GB, free: 6.027 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.28e-05/0.952, allocations: 2.625 kB / 1.049 GB, free: 6.027 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/0.9521, allocations: 48 kB / 1.049 GB, free: 5.98 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.286e-05/0.9522, allocations: 28 kB / 1.049 GB, free: 5.953 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002273/0.9545, allocations: 1.525 MB / 1.051 GB, free: 4.422 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02353/0.978, allocations: 23.31 MB / 1.073 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002117/0.9802, allocations: 1.32 MB / 1.075 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009766/0.9812, allocations: 0.8547 MB / 1.075 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.505e-05/0.9813, allocations: 33.14 kB / 1.075 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001213/0.9825, allocations: 0.8531 MB / 1.076 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=92): time 3.246e-06/0.9825, allocations: 0 / 1.076 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of matching and sorting (n=92): time 0.0051/0.9876, allocations: 2.581 MB / 1.079 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002127/0.9878, allocations: 328.8 kB / 1.079 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1053/1.093, allocations: 99.61 MB / 1.176 GB, free: 3.441 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0004564/1.094, allocations: 61.7 kB / 1.176 GB, free: 3.375 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001351/1.095, allocations: 1.054 MB / 1.178 GB, free: 2.316 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003356/1.095, allocations: 301.3 kB / 1.178 GB, free: 2.023 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005438/1.096, allocations: 338.8 kB / 1.178 GB, free: 1.688 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001187/1.096, allocations: 309.1 kB / 1.178 GB, free: 1.383 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001605/1.098, allocations: 1.147 MB / 1.18 GB, free: 236 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001726/1.099, allocations: 1.367 MB / 1.181 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003083/1.102, allocations: 2.495 MB / 1.183 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/1.102, allocations: 2.531 kB / 1.183 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.005555/1.108, allocations: 3.088 MB / 1.186 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001548/1.108, allocations: 153.6 kB / 1.186 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/1.108, allocations: 4 kB / 1.186 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.671e-05/1.108, allocations: 11.98 kB / 1.186 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/1.109, allocations: 291.1 kB / 1.187 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.99e-05/1.109, allocations: 14.52 kB / 1.187 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001942/1.111, allocations: 302.1 kB / 1.187 GB, free: 8.43 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001374/1.111, allocations: 69.91 kB / 1.187 GB, free: 8.363 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (166): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001809/1.113, allocations: 1.009 MB / 1.188 GB, free: 7.355 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008006/1.114, allocations: 229 kB / 1.188 GB, free: 7.129 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0037/1.118, allocations: 2.384 MB / 1.191 GB, free: 4.734 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.888e-06/1.118, allocations: 11.94 kB / 1.191 GB, free: 4.723 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/1.118, allocations: 0 / 1.191 GB, free: 4.723 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/1.118, allocations: 3.984 kB / 1.191 GB, free: 4.719 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006218/1.124, allocations: 4.59 MB / 1.195 GB, free: 92 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.167e-06/1.124, allocations: 0 / 1.195 GB, free: 92 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006462/1.125, allocations: 151.2 kB / 1.195 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.214e-06/1.125, allocations: 8 kB / 1.195 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.707e-05/1.125, allocations: 39.64 kB / 1.195 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.604e-06/1.125, allocations: 9.719 kB / 1.195 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/1.125, allocations: 0 / 1.195 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003461/1.128, allocations: 2.254 MB / 1.198 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001131/1.129, allocations: 0.7786 MB / 1.198 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003588/1.13, allocations: 27.94 kB / 1.198 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001213/1.131, allocations: 174.4 kB / 1.199 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001603/1.131, allocations: 64.91 kB / 1.199 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.01e-05/1.131, allocations: 47.98 kB / 1.199 GB, free: 12.51 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.07318/1.205, allocations: 79.52 MB / 1.276 GB, free: 13 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.51e-07/1.205, allocations: 0 / 1.276 GB, free: 13 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.004842/1.209, allocations: 1.007 MB / 1.277 GB, free: 11.99 MB / 1.029 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 (90): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007028/1.216, allocations: 3.616 MB / 1.281 GB, free: 8.566 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.005091/1.222, allocations: 3.809 MB / 1.285 GB, free: 4.777 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.688e-06/1.222, allocations: 3.938 kB / 1.285 GB, free: 4.773 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.00164/1.223, allocations: 1.469 MB / 1.286 GB, free: 3.309 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003406/1.227, allocations: 378.2 kB / 1.286 GB, free: 2.957 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6922/1.919, allocations: 416.4 MB / 1.693 GB, free: 79.85 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001055/1.92, allocations: 1.749 MB / 1.695 GB, free: 78.08 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.002163/1.922, allocations: 0.771 MB / 1.695 GB, free: 77.41 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001271/1.923, allocations: 1.096 MB / 1.696 GB, free: 76.32 MB / 1.045 GB Notification: Performance of SimCode: time 1.242e-06/1.923, allocations: 0 / 1.696 GB, free: 76.32 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9788/2.902, allocations: 108.1 MB / 1.802 GB, free: 434.4 MB / 1.045 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001552/2.902, allocations: 275.3 kB / 1.802 GB, free: 434 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.128/6.031, allocations: 0 / 1.802 GB, free: 434 MB / 1.045 GB (rm -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation.fmu > Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe 2>&1)