Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,fileNamePrefix="Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,fileNamePrefix="Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.809/1.809, allocations: 288.4 MB / 303.3 MB, free: 8.062 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001086/0.001086, allocations: 187.2 kB / 372 MB, free: 10.25 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.761/1.761, allocations: 205.4 MB / 0.6307 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008431/0.000843, allocations: 98.23 kB / 0.7441 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003699/0.00037, allocations: 12.53 kB / 0.867 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2146, allocations: 115.3 MB / 0.9797 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.005265/0.2199, allocations: 4.781 MB / 0.9843 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.693/0.9129, allocations: 140.3 MB / 1.121 GB, free: 1.723 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001291/0.9142, allocations: 21.66 kB / 1.121 GB, free: 1.715 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.004705/0.919, allocations: 1.495 MB / 1.123 GB, free: 1.469 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1-maint.8.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 8.0.1-maint.8.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 8.0.1-maint.8.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.002319/0.9213, allocations: 0.5743 MB / 1.123 GB, free: 1.336 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002588/0.9239, allocations: 0.7298 MB / 1.124 GB, free: 1.285 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.004131/0.928, allocations: 2.952 MB / 1.127 GB, free: 1.027 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001443/0.9295, allocations: 0.6972 MB / 1.128 GB, free: 0.8867 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002348/0.9319, allocations: 0.9236 MB / 1.129 GB, free: 0.7031 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001461/0.9333, allocations: 0.7736 MB / 1.129 GB, free: 0.5469 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001827/0.9335, allocations: 46.41 kB / 1.129 GB, free: 0.5469 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00411/0.9377, allocations: 1.752 MB / 1.131 GB, free: 480 kB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001314/0.939, allocations: 1.271 MB / 1.132 GB, free: 384 kB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0007165/0.9397, allocations: 411.9 kB / 1.133 GB, free: 16.25 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.006191/0.9459, allocations: 4.211 MB / 1.137 GB, free: 14.61 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.946, allocations: 0 / 1.137 GB, free: 14.61 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.224e-06/0.946, allocations: 1.219 kB / 1.137 GB, free: 14.61 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.472e-05/0.9461, allocations: 0 / 1.137 GB, free: 14.61 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.009635/0.9557, allocations: 3.346 MB / 1.14 GB, free: 12.61 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/0.9558, allocations: 8.312 kB / 1.14 GB, free: 12.61 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005115/0.9563, allocations: 177 kB / 1.14 GB, free: 12.54 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002123/0.9584, allocations: 348.4 kB / 1.141 GB, free: 12.36 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.101/1.059, allocations: 87.57 MB / 1.226 GB, free: 11.26 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001637/1.06, allocations: 102.2 kB / 1.226 GB, free: 11.16 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006067/1.06, allocations: 144 kB / 1.226 GB, free: 11.02 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003318/1.064, allocations: 1.279 MB / 1.228 GB, free: 9.68 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.713e-05/1.064, allocations: 0 / 1.228 GB, free: 9.68 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001554/1.064, allocations: 51.95 kB / 1.228 GB, free: 9.629 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.464e-05/1.064, allocations: 31.94 kB / 1.228 GB, free: 9.598 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002501/1.066, allocations: 1.378 MB / 1.229 GB, free: 8.215 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02693/1.093, allocations: 23.39 MB / 1.252 GB, free: 0.7773 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002363/1.096, allocations: 1.113 MB / 1.253 GB, free: 15.66 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001089/1.097, allocations: 0.6495 MB / 1.254 GB, free: 15 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001005/1.097, allocations: 36.75 kB / 1.254 GB, free: 14.98 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001348/1.098, allocations: 0.7051 MB / 1.254 GB, free: 14.26 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=92): time 3.257e-06/1.098, allocations: 0 / 1.254 GB, free: 14.26 MB / 0.7917 GB Notification: Performance of matching and sorting (n=92): time 0.004934/1.103, allocations: 2.137 MB / 1.256 GB, free: 12.12 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002369/1.104, allocations: 330.2 kB / 1.257 GB, free: 11.75 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1165/1.22, allocations: 99.65 MB / 1.354 GB, free: 8.066 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.000501/1.221, allocations: 61.7 kB / 1.354 GB, free: 8 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001916/1.223, allocations: 1.055 MB / 1.355 GB, free: 6.938 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005937/1.223, allocations: 301.5 kB / 1.355 GB, free: 6.645 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000299/1.224, allocations: 28 kB / 1.355 GB, free: 6.617 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002797/1.224, allocations: 369.9 kB / 1.356 GB, free: 6.25 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002074/1.226, allocations: 0.9979 MB / 1.357 GB, free: 5.254 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002083/1.228, allocations: 1.217 MB / 1.358 GB, free: 3.98 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002205/1.23, allocations: 1.256 MB / 1.359 GB, free: 2.715 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.079e-05/1.23, allocations: 3.953 kB / 1.359 GB, free: 2.711 MB / 0.8855 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.006178/1.236, allocations: 2.773 MB / 1.362 GB, free: 15.92 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001861/1.237, allocations: 155.6 kB / 1.362 GB, free: 15.77 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/1.237, allocations: 4 kB / 1.362 GB, free: 15.76 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.506e-05/1.237, allocations: 8 kB / 1.362 GB, free: 15.75 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001216/1.238, allocations: 295.9 kB / 1.362 GB, free: 15.46 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.411e-05/1.238, allocations: 12 kB / 1.362 GB, free: 15.45 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002405/1.24, allocations: 313.8 kB / 1.363 GB, free: 15.14 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001852/1.241, allocations: 55.98 kB / 1.363 GB, free: 15.09 MB / 0.9011 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 ($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 (166): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002169/1.243, allocations: 1.021 MB / 1.364 GB, free: 14.05 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001241/1.244, allocations: 232.9 kB / 1.364 GB, free: 13.82 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004121/1.248, allocations: 2.08 MB / 1.366 GB, free: 11.73 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.278e-05/1.248, allocations: 8 kB / 1.366 GB, free: 11.72 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/1.248, allocations: 8 kB / 1.366 GB, free: 11.71 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/1.248, allocations: 3.984 kB / 1.366 GB, free: 11.71 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00899/1.257, allocations: 4.287 MB / 1.37 GB, free: 7.379 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/1.257, allocations: 4 kB / 1.37 GB, free: 7.375 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006494/1.258, allocations: 159.8 kB / 1.37 GB, free: 7.219 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.617e-05/1.258, allocations: 5.859 kB / 1.37 GB, free: 7.215 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.48e-05/1.258, allocations: 27.98 kB / 1.37 GB, free: 7.188 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.835e-06/1.258, allocations: 4 kB / 1.37 GB, free: 7.184 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.84e-06/1.258, allocations: 3.984 kB / 1.37 GB, free: 7.18 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003667/1.262, allocations: 1.958 MB / 1.372 GB, free: 5.199 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001882/1.264, allocations: 0.7941 MB / 1.373 GB, free: 4.383 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009164/1.265, allocations: 24 kB / 1.373 GB, free: 4.359 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001741/1.266, allocations: 184 kB / 1.373 GB, free: 4.18 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001693/1.266, allocations: 64.91 kB / 1.373 GB, free: 4.117 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001059/1.267, allocations: 47.97 kB / 1.373 GB, free: 4.07 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.595/1.862, allocations: 79.54 MB / 1.451 GB, free: 350.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 9.82e-07/1.862, allocations: 0 / 1.451 GB, free: 350.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004874/1.866, allocations: 1.004 MB / 1.452 GB, free: 350.2 MB / 0.948 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008049/1.875, allocations: 3.295 MB / 1.455 GB, free: 349.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004074/1.879, allocations: 3.109 MB / 1.458 GB, free: 347.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/1.879, allocations: 7.438 kB / 1.458 GB, free: 347.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001473/1.88, allocations: 1.321 MB / 1.46 GB, free: 347.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002865/1.883, allocations: 353.7 kB / 1.46 GB, free: 346.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2128/2.096, allocations: 254.9 MB / 1.709 GB, free: 94.14 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001934/2.098, allocations: 1.752 MB / 1.711 GB, free: 92.36 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002674/2.101, allocations: 0.7642 MB / 1.711 GB, free: 91.59 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002176/2.103, allocations: 1.097 MB / 1.712 GB, free: 90.49 MB / 0.948 GB Notification: Performance of SimCode: time 1.784e-06/2.103, allocations: 0 / 1.712 GB, free: 90.49 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1258/2.229, allocations: 89.93 MB / 1.8 GB, free: 1.066 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001636/2.229, allocations: 258.6 kB / 1.8 GB, free: 0.707 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.728/5.957, allocations: 2.969 kB / 1.8 GB, free: 0.707 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe >> ../files/Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation.fmu > Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe 2>&1)