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 1.361/1.361, allocations: 252 MB / 267 MB, free: 10.98 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.001048/0.001048, allocations: 191.8 kB / 326.6 MB, free: 2.23 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.6/1.6, allocations: 205.4 MB / 0.5777 GB, free: 20.52 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.0008306/0.0008306, allocations: 91.92 kB / 0.6823 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003301/0.0003301, allocations: 11.91 kB / 0.7965 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2151, allocations: 106.3 MB / 0.9003 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.004885/0.22, allocations: 4.757 MB / 0.905 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1454/0.3654, allocations: 140.2 MB / 1.042 GB, free: 14.78 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001252/0.3667, allocations: 19.88 kB / 1.042 GB, free: 14.76 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.005227/0.372, allocations: 1.495 MB / 1.043 GB, free: 13.26 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.002303/0.3743, allocations: 0.5826 MB / 1.044 GB, free: 12.68 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002441/0.3767, allocations: 0.689 MB / 1.045 GB, free: 11.99 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002915/0.3797, allocations: 2.041 MB / 1.047 GB, free: 9.941 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00178/0.3815, allocations: 0.7146 MB / 1.047 GB, free: 9.207 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001673/0.3832, allocations: 0.6027 MB / 1.048 GB, free: 8.602 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001593/0.3848, allocations: 0.6233 MB / 1.048 GB, free: 7.977 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0004392/0.3852, allocations: 36 kB / 1.049 GB, free: 7.941 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00417/0.3894, allocations: 1.771 MB / 1.05 GB, free: 6.168 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001199/0.3906, allocations: 1.06 MB / 1.051 GB, free: 5.105 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0008126/0.3914, allocations: 388.3 kB / 1.052 GB, free: 4.719 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.006005/0.3974, allocations: 4.007 MB / 1.056 GB, free: 0.7031 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3975, allocations: 0 / 1.056 GB, free: 0.7031 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.074e-06/0.3975, allocations: 0 / 1.056 GB, free: 0.7031 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000141/0.3976, allocations: 0 / 1.056 GB, free: 0.7031 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.4172/0.8148, allocations: 3.146 MB / 1.059 GB, free: 152.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.8149, allocations: 9.281 kB / 1.059 GB, free: 152.7 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000364/0.8153, allocations: 174.9 kB / 1.059 GB, free: 152.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001351/0.8166, allocations: 353.1 kB / 1.059 GB, free: 152.5 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07129/0.8879, allocations: 87.48 MB / 1.145 GB, free: 84.23 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001074/0.8881, allocations: 102.3 kB / 1.145 GB, free: 84.12 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003464/0.8884, allocations: 124 kB / 1.145 GB, free: 84 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00254/0.891, allocations: 1.244 MB / 1.146 GB, free: 82.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.891, allocations: 0 / 1.146 GB, free: 82.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001199/0.8911, allocations: 52 kB / 1.146 GB, free: 82.64 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.982e-05/0.8912, allocations: 28 kB / 1.146 GB, free: 82.62 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002033/0.8932, allocations: 1.414 MB / 1.147 GB, free: 81.2 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01792/0.9111, allocations: 23.11 MB / 1.17 GB, free: 58.05 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002261/0.9135, allocations: 1.008 MB / 1.171 GB, free: 57.04 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007537/0.9142, allocations: 403.7 kB / 1.171 GB, free: 56.64 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001363/0.9144, allocations: 36.62 kB / 1.171 GB, free: 56.61 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009948/0.9154, allocations: 0.5553 MB / 1.172 GB, free: 56.04 MB / 0.698 GB Notification: Performance of pre-optimization done (n=88): time 3.506e-06/0.9154, allocations: 3.938 kB / 1.172 GB, free: 56.03 MB / 0.698 GB Notification: Performance of matching and sorting (n=88): time 0.004069/0.9195, allocations: 1.566 MB / 1.174 GB, free: 54.44 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.445e-05/0.9196, allocations: 192.9 kB / 1.174 GB, free: 54.21 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.09043/1.01, allocations: 99.37 MB / 1.271 GB, free: 2.805 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0002449/1.01, allocations: 49.17 kB / 1.271 GB, free: 2.754 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.00122/1.012, allocations: 1.02 MB / 1.272 GB, free: 1.727 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003619/1.012, allocations: 291 kB / 1.272 GB, free: 1.445 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.909e-05/1.012, allocations: 20 kB / 1.272 GB, free: 1.426 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001286/1.012, allocations: 349.9 kB / 1.272 GB, free: 1.078 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008553/1.013, allocations: 445.8 kB / 1.273 GB, free: 0.6406 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009098/1.014, allocations: 0.5743 MB / 1.273 GB, free: 36 kB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009375/1.015, allocations: 0.5104 MB / 1.274 GB, free: 15.53 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/1.015, allocations: 0 / 1.274 GB, free: 15.53 MB / 0.7605 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003186/1.018, allocations: 1.394 MB / 1.275 GB, free: 14.12 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/1.018, allocations: 4 kB / 1.275 GB, free: 14.12 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/1.018, allocations: 7.922 kB / 1.275 GB, free: 14.11 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006454/1.019, allocations: 84.88 kB / 1.275 GB, free: 14.03 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000871/1.02, allocations: 219.7 kB / 1.276 GB, free: 13.81 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001929/1.022, allocations: 1.515 MB / 1.277 GB, free: 12.16 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001637/1.023, allocations: 258.6 kB / 1.277 GB, free: 11.91 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/1.023, allocations: 43.97 kB / 1.277 GB, free: 11.86 MB / 0.7605 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 (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.001257/1.025, allocations: 0.7956 MB / 1.278 GB, free: 11.06 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006987/1.025, allocations: 205.8 kB / 1.278 GB, free: 10.86 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003187/1.029, allocations: 1.5 MB / 1.28 GB, free: 9.344 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.238e-06/1.029, allocations: 8 kB / 1.28 GB, free: 9.336 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/1.029, allocations: 3.953 kB / 1.28 GB, free: 9.332 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/1.029, allocations: 11.97 kB / 1.28 GB, free: 9.32 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006639/1.035, allocations: 3.508 MB / 1.283 GB, free: 5.773 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/1.035, allocations: 4 kB / 1.283 GB, free: 5.77 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007118/1.036, allocations: 183.7 kB / 1.283 GB, free: 5.59 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005323/1.037, allocations: 80.78 kB / 1.283 GB, free: 5.508 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.302e-05/1.037, allocations: 23.98 kB / 1.283 GB, free: 5.484 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001742/1.038, allocations: 1.546 MB / 1.285 GB, free: 3.801 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/1.038, allocations: 4.062 kB / 1.285 GB, free: 3.797 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002688/1.041, allocations: 1.283 MB / 1.286 GB, free: 2.492 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001503/1.043, allocations: 0.753 MB / 1.287 GB, free: 1.719 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006378/1.043, allocations: 24 kB / 1.287 GB, free: 1.695 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001426/1.045, allocations: 183.9 kB / 1.287 GB, free: 1.516 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001476/1.045, allocations: 68.92 kB / 1.287 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.088e-05/1.045, allocations: 47.97 kB / 1.287 GB, free: 1.402 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.06949/1.114, allocations: 79.37 MB / 1.365 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of sort global known variables: time 9.41e-07/1.115, allocations: 0 / 1.365 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.002942/1.117, allocations: 0.9479 MB / 1.366 GB, free: 1.062 MB / 0.8386 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 (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.0062/1.124, allocations: 2.634 MB / 1.368 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002237/1.126, allocations: 1.136 MB / 1.369 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/1.126, allocations: 4 kB / 1.369 GB, free: 13.47 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001073/1.127, allocations: 0.602 MB / 1.37 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002813/1.13, allocations: 370 kB / 1.37 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5299/1.66, allocations: 251.8 MB / 1.616 GB, free: 89.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001181/1.661, allocations: 1.689 MB / 1.618 GB, free: 88.1 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.002599/1.664, allocations: 0.7462 MB / 1.619 GB, free: 87.45 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001429/1.665, allocations: 1.057 MB / 1.62 GB, free: 86.39 MB / 0.8542 GB Notification: Performance of SimCode: time 1.102e-06/1.665, allocations: 0 / 1.62 GB, free: 86.39 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4698/2.135, allocations: 86.09 MB / 1.704 GB, free: 297.3 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000162/2.135, allocations: 299.8 kB / 1.704 GB, free: 296.9 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.785/5.92, allocations: 0 / 1.704 GB, free: 296.9 MB / 0.8542 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)