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.001613/0.001613, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001916/0.001916, allocations: 188.3 kB / 16.62 MB, free: 6.582 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.483/1.483, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.713/1.713, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001514/0.001514, allocations: 69.66 kB / 0.6718 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.2764, allocations: 114.5 MB / 0.7836 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.00766/0.2841, allocations: 5.501 MB / 0.789 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.7728/1.057, allocations: 155.1 MB / 0.9404 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001034/1.058, allocations: 28.28 kB / 0.9405 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004418/1.063, allocations: 1.756 MB / 0.9422 GB, free: 2.402 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.001939/1.064, allocations: 0.6805 MB / 0.9428 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002186/1.067, allocations: 0.9485 MB / 0.9438 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004215/1.071, allocations: 3.284 MB / 0.947 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001606/1.073, allocations: 0.9256 MB / 0.9479 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002265/1.075, allocations: 1.09 MB / 0.949 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001927/1.077, allocations: 0.9519 MB / 0.9499 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0004481/1.077, allocations: 181.9 kB / 0.9501 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004807/1.082, allocations: 2.147 MB / 0.9521 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.00195/1.084, allocations: 1.387 MB / 0.9535 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002449/1.086, allocations: 1.389 MB / 0.9549 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01155/1.098, allocations: 5.369 MB / 0.9601 GB, free: 476 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/1.098, allocations: 0 / 0.9601 GB, free: 476 kB / 0.7169 GB Notification: Performance of FrontEnd: time 1.884e-06/1.098, allocations: 0 / 0.9601 GB, free: 476 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001085/1.098, allocations: 0 / 0.9601 GB, free: 476 kB / 0.7169 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.01204/1.11, allocations: 4.024 MB / 0.964 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/1.11, allocations: 9.875 kB / 0.964 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002668/1.111, allocations: 175.5 kB / 0.9642 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001519/1.112, allocations: 341.1 kB / 0.9645 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08421/1.196, allocations: 87.67 MB / 1.05 GB, free: 8.023 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.178e-05/1.196, allocations: 106.2 kB / 1.05 GB, free: 7.918 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002045/1.197, allocations: 145.7 kB / 1.05 GB, free: 7.777 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002333/1.199, allocations: 1.44 MB / 1.052 GB, free: 6.277 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/1.199, allocations: 0 / 1.052 GB, free: 6.277 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/1.199, allocations: 48 kB / 1.052 GB, free: 6.23 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.791e-05/1.199, allocations: 31.94 kB / 1.052 GB, free: 6.199 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002226/1.201, allocations: 1.526 MB / 1.053 GB, free: 4.664 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02389/1.225, allocations: 23.28 MB / 1.076 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002406/1.228, allocations: 1.315 MB / 1.077 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001101/1.229, allocations: 0.8508 MB / 1.078 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.648e-05/1.229, allocations: 35.5 kB / 1.078 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001256/1.23, allocations: 0.8506 MB / 1.079 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=92): time 4.949e-06/1.23, allocations: 96 / 1.079 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of matching and sorting (n=92): time 0.005791/1.236, allocations: 2.575 MB / 1.082 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002534/1.236, allocations: 334.1 kB / 1.082 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1064/1.343, allocations: 99.62 MB / 1.179 GB, free: 3.676 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0004994/1.343, allocations: 53.7 kB / 1.179 GB, free: 3.617 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001863/1.345, allocations: 1.057 MB / 1.18 GB, free: 2.555 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.00052/1.346, allocations: 303.7 kB / 1.181 GB, free: 2.262 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001134/1.347, allocations: 334.8 kB / 1.181 GB, free: 1.93 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001285/1.347, allocations: 309.1 kB / 1.181 GB, free: 1.625 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002046/1.349, allocations: 1.153 MB / 1.182 GB, free: 480 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002154/1.351, allocations: 1.365 MB / 1.184 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003945/1.355, allocations: 2.497 MB / 1.186 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.461e-05/1.355, allocations: 4 kB / 1.186 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.006921/1.362, allocations: 3.086 MB / 1.189 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001612/1.362, allocations: 153.6 kB / 1.189 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-05/1.362, allocations: 4 kB / 1.189 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.857e-05/1.362, allocations: 8 kB / 1.189 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00113/1.364, allocations: 287.5 kB / 1.19 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.809e-05/1.364, allocations: 8 kB / 1.19 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00267/1.366, allocations: 316.7 kB / 1.19 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001981/1.367, allocations: 61.97 kB / 1.19 GB, free: 8.559 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.00221/1.369, allocations: 1.019 MB / 1.191 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001699/1.37, allocations: 228.9 kB / 1.191 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004419/1.375, allocations: 2.319 MB / 1.193 GB, free: 4.961 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.457e-05/1.375, allocations: 11.94 kB / 1.193 GB, free: 4.949 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/1.375, allocations: 0 / 1.193 GB, free: 4.949 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.232e-05/1.375, allocations: 3.984 kB / 1.193 GB, free: 4.945 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01029/1.385, allocations: 4.596 MB / 1.198 GB, free: 316 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/1.385, allocations: 0 / 1.198 GB, free: 316 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006572/1.386, allocations: 151.7 kB / 1.198 GB, free: 164 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.075e-05/1.386, allocations: 7.984 kB / 1.198 GB, free: 156 kB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.832e-05/1.386, allocations: 31.97 kB / 1.198 GB, free: 124 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.839e-06/1.386, allocations: 4 kB / 1.198 GB, free: 120 kB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/1.386, allocations: 0 / 1.198 GB, free: 120 kB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004355/1.39, allocations: 2.264 MB / 1.2 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00191/1.392, allocations: 0.7824 MB / 1.201 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001096/1.394, allocations: 24.62 kB / 1.201 GB, free: 13 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001838/1.395, allocations: 175.9 kB / 1.201 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001743/1.396, allocations: 64.91 kB / 1.201 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001048/1.396, allocations: 44.55 kB / 1.201 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.6332/2.029, allocations: 79.51 MB / 1.279 GB, free: 299.4 MB / 1.014 GB Notification: Performance of sort global known variables: time 7.42e-07/2.029, allocations: 0 / 1.279 GB, free: 299.4 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.004503/2.033, allocations: 1.003 MB / 1.28 GB, free: 299.4 MB / 1.014 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.008204/2.042, allocations: 3.61 MB / 1.283 GB, free: 298.6 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.006293/2.048, allocations: 3.43 MB / 1.287 GB, free: 298.6 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/2.048, allocations: 0.9688 kB / 1.287 GB, free: 298.6 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.002277/2.05, allocations: 1.466 MB / 1.288 GB, free: 298.5 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004493/2.055, allocations: 396.9 kB / 1.289 GB, free: 298.5 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7828/2.838, allocations: 412 MB / 1.691 GB, free: 453.3 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001501/2.839, allocations: 1.747 MB / 1.693 GB, free: 451.8 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.002621/2.842, allocations: 0.7723 MB / 1.693 GB, free: 451.3 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002669/2.845, allocations: 1.097 MB / 1.695 GB, free: 450.3 MB / 1.061 GB Notification: Performance of SimCode: time 1.042e-06/2.845, allocations: 0 / 1.695 GB, free: 450.3 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2138/3.058, allocations: 108.4 MB / 1.8 GB, free: 346.8 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.04/15.1, allocations: 23.58 kB / 1.8 GB, free: 346.8 MB / 1.061 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)