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.001156/0.001156, allocations: 108 kB / 15.6 MB, free: 132 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.001254/0.001254, allocations: 192.8 kB / 16.53 MB, free: 6.391 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.588/1.588, allocations: 205.1 MB / 222.4 MB, free: 4.574 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.82/1.82, allocations: 292.3 MB / 0.5489 GB, free: 12.86 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.001519/0.001519, allocations: 70.58 kB / 0.6716 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3186, allocations: 114.5 MB / 0.7835 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.01275/0.3314, allocations: 5.51 MB / 0.7889 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.9427/1.274, allocations: 155.1 MB / 0.9403 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001557/1.276, allocations: 22.84 kB / 0.9403 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00735/1.283, allocations: 1.746 MB / 0.942 GB, free: 2.219 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.00361/1.287, allocations: 0.6811 MB / 0.9427 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003354/1.29, allocations: 0.9423 MB / 0.9436 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.006388/1.297, allocations: 3.275 MB / 0.9468 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002116/1.299, allocations: 0.929 MB / 0.9477 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002792/1.302, allocations: 1.082 MB / 0.9488 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002362/1.304, allocations: 0.9641 MB / 0.9497 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0005276/1.305, allocations: 181.3 kB / 0.9499 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005636/1.31, allocations: 2.109 MB / 0.9519 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001873/1.312, allocations: 1.384 MB / 0.9533 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002471/1.315, allocations: 1.392 MB / 0.9547 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01166/1.326, allocations: 5.295 MB / 0.9598 GB, free: 328 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 9.237e-06/1.326, allocations: 1.375 kB / 0.9598 GB, free: 328 kB / 0.7169 GB Notification: Performance of FrontEnd: time 2.074e-06/1.326, allocations: 0 / 0.9598 GB, free: 328 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001514/1.326, allocations: 0 / 0.9598 GB, free: 328 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.01637/1.343, allocations: 4.025 MB / 0.9638 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/1.343, allocations: 8.031 kB / 0.9638 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008081/1.344, allocations: 180.6 kB / 0.9639 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002604/1.346, allocations: 334.7 kB / 0.9643 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09833/1.445, allocations: 87.65 MB / 1.05 GB, free: 8.137 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002239/1.445, allocations: 102.2 kB / 1.05 GB, free: 8.035 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001008/1.446, allocations: 147.9 kB / 1.05 GB, free: 7.891 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00479/1.451, allocations: 1.437 MB / 1.051 GB, free: 6.391 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.752e-05/1.451, allocations: 0 / 1.051 GB, free: 6.391 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002499/1.451, allocations: 44 kB / 1.052 GB, free: 6.348 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.703e-05/1.451, allocations: 28 kB / 1.052 GB, free: 6.32 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003216/1.454, allocations: 1.526 MB / 1.053 GB, free: 4.785 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03138/1.486, allocations: 23.32 MB / 1.076 GB, free: 13.42 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003131/1.489, allocations: 1.315 MB / 1.077 GB, free: 12.09 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001608/1.491, allocations: 0.8547 MB / 1.078 GB, free: 11.23 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001514/1.491, allocations: 36.67 kB / 1.078 GB, free: 11.21 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001774/1.493, allocations: 0.8575 MB / 1.079 GB, free: 10.34 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=92): time 4.609e-06/1.493, allocations: 0 / 1.079 GB, free: 10.34 MB / 0.8263 GB Notification: Performance of matching and sorting (n=92): time 0.006535/1.499, allocations: 2.579 MB / 1.081 GB, free: 7.75 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002632/1.5, allocations: 322.1 kB / 1.082 GB, free: 7.387 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1232/1.623, allocations: 99.62 MB / 1.179 GB, free: 3.734 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0005334/1.623, allocations: 53.7 kB / 1.179 GB, free: 3.676 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.002068/1.625, allocations: 1.065 MB / 1.18 GB, free: 2.605 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006266/1.626, allocations: 300.2 kB / 1.18 GB, free: 2.316 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001349/1.627, allocations: 342.8 kB / 1.181 GB, free: 1.977 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001424/1.628, allocations: 301.1 kB / 1.181 GB, free: 1.68 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002331/1.63, allocations: 1.151 MB / 1.182 GB, free: 0.5234 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002377/1.632, allocations: 1.362 MB / 1.183 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003875/1.636, allocations: 2.505 MB / 1.186 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.738e-06/1.636, allocations: 0 / 1.186 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.007135/1.643, allocations: 3.088 MB / 1.189 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001833/1.644, allocations: 153.6 kB / 1.189 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.605e-05/1.644, allocations: 0 / 1.189 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.606e-05/1.644, allocations: 12 kB / 1.189 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/1.645, allocations: 287.5 kB / 1.189 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.469e-05/1.645, allocations: 16.34 kB / 1.189 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002567/1.648, allocations: 305.8 kB / 1.19 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002261/1.648, allocations: 63.97 kB / 1.19 GB, free: 8.609 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.002285/1.65, allocations: 1.014 MB / 1.191 GB, free: 7.582 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0019/1.652, allocations: 228.9 kB / 1.191 GB, free: 7.355 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004748/1.657, allocations: 2.323 MB / 1.193 GB, free: 5.016 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.41e-05/1.657, allocations: 11.94 kB / 1.193 GB, free: 5.004 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/1.657, allocations: 0 / 1.193 GB, free: 5.004 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.247e-05/1.657, allocations: 3.984 kB / 1.193 GB, free: 5 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01023/1.667, allocations: 4.593 MB / 1.198 GB, free: 372 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.373e-06/1.667, allocations: 3.984 kB / 1.198 GB, free: 368 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006287/1.668, allocations: 155.7 kB / 1.198 GB, free: 212 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.145e-05/1.668, allocations: 4 kB / 1.198 GB, free: 208 kB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.999e-05/1.668, allocations: 32.05 kB / 1.198 GB, free: 176 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.123e-06/1.668, allocations: 4 kB / 1.198 GB, free: 172 kB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/1.668, allocations: 4 kB / 1.198 GB, free: 168 kB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004705/1.673, allocations: 2.262 MB / 1.2 GB, free: 13.88 MB / 0.9513 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002188/1.675, allocations: 0.7785 MB / 1.201 GB, free: 13.08 MB / 0.9513 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001111/1.676, allocations: 27.92 kB / 1.201 GB, free: 13.05 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001918/1.678, allocations: 168 kB / 1.201 GB, free: 12.89 MB / 0.9513 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001872/1.678, allocations: 64.91 kB / 1.201 GB, free: 12.82 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001005/1.678, allocations: 51.97 kB / 1.201 GB, free: 12.77 MB / 0.9513 GB Notification: Performance of sorting global known variables: time 0.6002/2.278, allocations: 79.51 MB / 1.279 GB, free: 421.4 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.423e-06/2.278, allocations: 1.094 kB / 1.279 GB, free: 421.4 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.006131/2.285, allocations: 1.005 MB / 1.28 GB, free: 421.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.008619/2.293, allocations: 3.62 MB / 1.283 GB, free: 420.6 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.005254/2.298, allocations: 3.81 MB / 1.287 GB, free: 419.3 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/2.299, allocations: 0 / 1.287 GB, free: 419.3 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001867/2.3, allocations: 1.459 MB / 1.288 GB, free: 418.7 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002939/2.303, allocations: 393.5 kB / 1.289 GB, free: 418.6 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3483/2.652, allocations: 415.8 MB / 1.695 GB, free: 16.23 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002412/2.654, allocations: 1.75 MB / 1.697 GB, free: 14.45 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.003222/2.657, allocations: 0.7648 MB / 1.697 GB, free: 13.68 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002624/2.66, allocations: 1.101 MB / 1.698 GB, free: 12.58 MB / 1.014 GB Notification: Performance of SimCode: time 2.585e-06/2.66, allocations: 4 kB / 1.698 GB, free: 12.57 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7275/3.388, allocations: 108.3 MB / 1.804 GB, free: 352.8 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.456/12.84, allocations: 15.53 kB / 1.804 GB, free: 352.8 MB / 1.014 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation_res.csv --start-time 0 --stop-time 864000 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation.fmu > Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe 2>&1)