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.001099/0.001099, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001086/0.001086, allocations: 197.2 kB / 16.14 MB, free: 6.66 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.08/1.08, allocations: 205.1 MB / 222 MB, free: 4.945 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.5/1.5, allocations: 292.3 MB / 0.5484 GB, free: 13.66 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.001403/0.001403, allocations: 66.55 kB / 0.6709 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1702/0.1716, allocations: 114.5 MB / 0.7828 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.006436/0.1781, allocations: 5.501 MB / 0.7882 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5061/0.6842, allocations: 153 MB / 0.9376 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008551/0.6851, allocations: 24.16 kB / 0.9376 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.003976/0.6891, allocations: 1.613 MB / 0.9392 GB, free: 5.223 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.001407/0.6905, allocations: 0.6155 MB / 0.9398 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001708/0.6922, allocations: 0.8251 MB / 0.9406 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002272/0.6945, allocations: 3.218 MB / 0.9437 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001022/0.6955, allocations: 0.8984 MB / 0.9446 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001125/0.6967, allocations: 0.9763 MB / 0.9456 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009431/0.6976, allocations: 0.9326 MB / 0.9465 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002024/0.6978, allocations: 98.41 kB / 0.9466 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004447/0.7023, allocations: 1.936 MB / 0.9485 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001836/0.7041, allocations: 1.307 MB / 0.9498 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.002572/0.7067, allocations: 1.25 MB / 0.951 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.008609/0.7153, allocations: 5.212 MB / 0.9561 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.7154, allocations: 0 / 0.9561 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.412e-06/0.7154, allocations: 0 / 0.9561 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.265e-05/0.7155, allocations: 1.094 kB / 0.9561 GB, free: 4.191 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.01134/0.7268, allocations: 4.012 MB / 0.96 GB, free: 18.54 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/0.7269, allocations: 12.12 kB / 0.96 GB, free: 18.54 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00031/0.7272, allocations: 182.2 kB / 0.9602 GB, free: 18.5 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002001/0.7292, allocations: 338.5 kB / 0.9605 GB, free: 18.34 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1183/0.8475, allocations: 87.78 MB / 1.046 GB, free: 8.172 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000106/0.8477, allocations: 106.7 kB / 1.046 GB, free: 8.066 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003855/0.848, allocations: 145.8 kB / 1.046 GB, free: 7.926 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002523/0.8506, allocations: 1.44 MB / 1.048 GB, free: 6.43 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.289e-05/0.8506, allocations: 0 / 1.048 GB, free: 6.43 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001257/0.8508, allocations: 49.78 kB / 1.048 GB, free: 6.383 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.14e-05/0.8508, allocations: 28 kB / 1.048 GB, free: 6.355 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002305/0.8531, allocations: 1.531 MB / 1.049 GB, free: 4.82 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02111/0.8742, allocations: 23.31 MB / 1.072 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001951/0.8762, allocations: 1.314 MB / 1.073 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001104/0.8773, allocations: 0.8508 MB / 1.074 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.941e-05/0.8774, allocations: 35.34 kB / 1.074 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001517/0.8789, allocations: 0.8553 MB / 1.075 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=92): time 3.025e-06/0.8789, allocations: 0 / 1.075 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of matching and sorting (n=92): time 0.005008/0.884, allocations: 2.576 MB / 1.078 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001932/0.8842, allocations: 330.1 kB / 1.078 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.102/0.9861, allocations: 99.62 MB / 1.175 GB, free: 3.855 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0003816/0.9866, allocations: 53.7 kB / 1.175 GB, free: 3.797 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001159/0.9877, allocations: 1.061 MB / 1.176 GB, free: 2.73 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003019/0.988, allocations: 298.5 kB / 1.177 GB, free: 2.441 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004978/0.9885, allocations: 342.8 kB / 1.177 GB, free: 2.102 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.012e-05/0.9886, allocations: 309.1 kB / 1.177 GB, free: 1.797 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001544/0.9902, allocations: 1.143 MB / 1.178 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001686/0.9919, allocations: 1.372 MB / 1.18 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003076/0.995, allocations: 2.494 MB / 1.182 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.673e-06/0.995, allocations: 4 kB / 1.182 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.00506/1, allocations: 3.087 MB / 1.185 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001465/1, allocations: 149.6 kB / 1.185 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/1, allocations: 4 kB / 1.185 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.342e-05/1, allocations: 8 kB / 1.185 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00109/1.001, allocations: 297.7 kB / 1.186 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.864e-05/1.001, allocations: 8 kB / 1.186 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00136/1.003, allocations: 308.8 kB / 1.186 GB, free: 8.848 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001411/1.003, allocations: 63.97 kB / 1.186 GB, free: 8.785 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.001362/1.004, allocations: 1.016 MB / 1.187 GB, free: 7.77 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005434/1.005, allocations: 225 kB / 1.187 GB, free: 7.547 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003605/1.008, allocations: 2.389 MB / 1.19 GB, free: 5.152 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/1.008, allocations: 15.94 kB / 1.19 GB, free: 5.137 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/1.008, allocations: 0 / 1.19 GB, free: 5.137 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.457e-06/1.008, allocations: 3.984 kB / 1.19 GB, free: 5.133 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005916/1.014, allocations: 4.591 MB / 1.194 GB, free: 0.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/1.014, allocations: 0 / 1.194 GB, free: 0.5 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006114/1.015, allocations: 155.5 kB / 1.194 GB, free: 364 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.523e-06/1.015, allocations: 8 kB / 1.194 GB, free: 356 kB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-05/1.015, allocations: 27.98 kB / 1.194 GB, free: 328 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/1.015, allocations: 4 kB / 1.194 GB, free: 324 kB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/1.015, allocations: 2.531 kB / 1.194 GB, free: 324 kB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003225/1.018, allocations: 2.26 MB / 1.196 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001047/1.019, allocations: 0.7786 MB / 1.197 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003532/1.02, allocations: 23.94 kB / 1.197 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001111/1.021, allocations: 176 kB / 1.197 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001533/1.021, allocations: 66.94 kB / 1.197 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.571e-05/1.021, allocations: 47.97 kB / 1.197 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.06581/1.087, allocations: 79.51 MB / 1.275 GB, free: 13.39 MB / 1.029 GB Notification: Performance of sort global known variables: time 3.51e-07/1.087, allocations: 0 / 1.275 GB, free: 13.39 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.003464/1.091, allocations: 1.014 MB / 1.276 GB, free: 12.38 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.007237/1.098, allocations: 3.611 MB / 1.28 GB, free: 8.957 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.004041/1.102, allocations: 3.426 MB / 1.283 GB, free: 5.539 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/1.102, allocations: 0 / 1.283 GB, free: 5.539 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001556/1.103, allocations: 1.461 MB / 1.284 GB, free: 4.082 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002458/1.106, allocations: 358.6 kB / 1.285 GB, free: 3.738 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.602/1.708, allocations: 416.4 MB / 1.691 GB, free: 80.7 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001343/1.709, allocations: 1.752 MB / 1.693 GB, free: 78.94 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.00209/1.711, allocations: 0.7686 MB / 1.694 GB, free: 78.26 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001787/1.713, allocations: 1.097 MB / 1.695 GB, free: 77.16 MB / 1.045 GB Notification: Performance of SimCode: time 9.92e-07/1.713, allocations: 0 / 1.695 GB, free: 77.16 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.88/3.594, allocations: 107 MB / 1.799 GB, free: 431.8 MB / 1.045 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001377/3.594, allocations: 271.4 kB / 1.8 GB, free: 431.5 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.207/7.801, allocations: 1.859 kB / 1.8 GB, free: 431.5 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)