Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.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.AbsorbedRadiation,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.399/1.399, allocations: 252 MB / 267 MB, free: 10.95 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.002022/0.002022, allocations: 178.4 kB / 326.6 MB, free: 2.184 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.73/1.73, allocations: 205.4 MB / 0.5777 GB, free: 20.21 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.001025/0.001025, allocations: 95.8 kB / 0.6822 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003329/0.0003329, allocations: 8.594 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2185/0.2189, allocations: 106.3 MB / 0.9003 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.005049/0.224, allocations: 4.789 MB / 0.905 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1629/0.3869, allocations: 140.3 MB / 1.042 GB, free: 14.19 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001352/0.3883, allocations: 23.88 kB / 1.042 GB, free: 14.16 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00498/0.3933, allocations: 1.499 MB / 1.044 GB, free: 12.66 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.002489/0.3958, allocations: 0.5706 MB / 1.044 GB, free: 12.09 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002875/0.3987, allocations: 0.731 MB / 1.045 GB, free: 11.37 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003841/0.4025, allocations: 2.94 MB / 1.048 GB, free: 8.418 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001388/0.4039, allocations: 0.6992 MB / 1.048 GB, free: 7.699 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002152/0.4061, allocations: 0.9261 MB / 1.049 GB, free: 6.77 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001748/0.4079, allocations: 0.778 MB / 1.05 GB, free: 5.988 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0004761/0.4084, allocations: 52 kB / 1.05 GB, free: 5.938 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003819/0.4122, allocations: 1.74 MB / 1.052 GB, free: 4.195 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001454/0.4137, allocations: 1.279 MB / 1.053 GB, free: 2.914 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001006/0.4147, allocations: 408.3 kB / 1.053 GB, free: 2.508 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.5044/0.9191, allocations: 4.195 MB / 1.057 GB, free: 6.93 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.9192, allocations: 0 / 1.057 GB, free: 6.93 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.947e-06/0.9192, allocations: 1.219 kB / 1.057 GB, free: 6.93 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000109/0.9193, allocations: 0 / 1.057 GB, free: 6.93 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.007909/0.9272, allocations: 3.35 MB / 1.061 GB, free: 5.41 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.9273, allocations: 11.41 kB / 1.061 GB, free: 5.41 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004214/0.9277, allocations: 182.8 kB / 1.061 GB, free: 5.367 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001514/0.9292, allocations: 345.5 kB / 1.061 GB, free: 5.215 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1093/1.039, allocations: 89.61 MB / 1.149 GB, free: 456 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001091/1.039, allocations: 104.9 kB / 1.149 GB, free: 396 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002355/1.039, allocations: 140.9 kB / 1.149 GB, free: 300 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002499/1.041, allocations: 1.278 MB / 1.15 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.147e-05/1.042, allocations: 4 kB / 1.15 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001091/1.042, allocations: 50 kB / 1.15 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.439e-05/1.042, allocations: 28 kB / 1.15 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002206/1.044, allocations: 1.377 MB / 1.152 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02524/1.069, allocations: 23.38 MB / 1.175 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00203/1.071, allocations: 1.11 MB / 1.176 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009023/1.072, allocations: 0.6476 MB / 1.176 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.734e-05/1.072, allocations: 37.83 kB / 1.176 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001116/1.073, allocations: 0.7095 MB / 1.177 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=92): time 3.146e-06/1.073, allocations: 0 / 1.177 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of matching and sorting (n=92): time 0.004691/1.078, allocations: 2.137 MB / 1.179 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002345/1.078, allocations: 330.4 kB / 1.179 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1087/1.187, allocations: 99.64 MB / 1.277 GB, free: 14.23 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0004774/1.188, allocations: 57.7 kB / 1.277 GB, free: 14.17 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.00173/1.189, allocations: 1.065 MB / 1.278 GB, free: 13.1 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.000528/1.19, allocations: 297.6 kB / 1.278 GB, free: 12.81 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002626/1.19, allocations: 28 kB / 1.278 GB, free: 12.79 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002127/1.19, allocations: 369.9 kB / 1.278 GB, free: 12.42 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001902/1.192, allocations: 0.9911 MB / 1.279 GB, free: 11.43 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002033/1.194, allocations: 1.222 MB / 1.281 GB, free: 10.15 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002064/1.196, allocations: 1.259 MB / 1.282 GB, free: 8.887 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.165e-06/1.196, allocations: 0 / 1.282 GB, free: 8.887 MB / 0.8386 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.00549/1.202, allocations: 2.775 MB / 1.285 GB, free: 6.113 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001761/1.202, allocations: 157.5 kB / 1.285 GB, free: 5.953 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/1.202, allocations: 5.859 kB / 1.285 GB, free: 5.949 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.608e-05/1.202, allocations: 8.969 kB / 1.285 GB, free: 5.941 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/1.203, allocations: 289.3 kB / 1.285 GB, free: 5.676 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.958e-05/1.203, allocations: 14.89 kB / 1.285 GB, free: 5.664 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002085/1.205, allocations: 313.8 kB / 1.285 GB, free: 5.355 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001413/1.206, allocations: 67.38 kB / 1.285 GB, free: 5.293 MB / 0.8386 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.00234/1.208, allocations: 1.02 MB / 1.286 GB, free: 4.273 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001309/1.209, allocations: 225.1 kB / 1.287 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004443/1.214, allocations: 2.083 MB / 1.289 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.581e-05/1.214, allocations: 15.75 kB / 1.289 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.449e-05/1.214, allocations: 4 kB / 1.289 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.403e-05/1.214, allocations: 3.984 kB / 1.289 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008206/1.222, allocations: 4.284 MB / 1.293 GB, free: 13.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/1.222, allocations: 7.953 kB / 1.293 GB, free: 13.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006389/1.223, allocations: 156.6 kB / 1.293 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.171e-05/1.223, allocations: 5.859 kB / 1.293 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.906e-05/1.223, allocations: 31.97 kB / 1.293 GB, free: 13.42 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/1.223, allocations: 4 kB / 1.293 GB, free: 13.42 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.223, allocations: 0 / 1.293 GB, free: 13.42 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003718/1.227, allocations: 1.95 MB / 1.295 GB, free: 11.44 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001498/1.228, allocations: 0.798 MB / 1.296 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003143/1.228, allocations: 20 kB / 1.296 GB, free: 10.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001208/1.23, allocations: 187.9 kB / 1.296 GB, free: 10.42 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001907/1.23, allocations: 64.91 kB / 1.296 GB, free: 10.36 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.46e-05/1.23, allocations: 43.98 kB / 1.296 GB, free: 10.31 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.074/1.304, allocations: 79.54 MB / 1.374 GB, free: 10.75 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.142e-06/1.304, allocations: 0 / 1.374 GB, free: 10.75 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004162/1.308, allocations: 1.004 MB / 1.375 GB, free: 9.746 MB / 0.9323 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.006377/1.315, allocations: 3.304 MB / 1.378 GB, free: 6.648 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.005292/1.32, allocations: 3.11 MB / 1.381 GB, free: 3.551 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.809e-05/1.32, allocations: 4.812 kB / 1.381 GB, free: 3.547 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001919/1.322, allocations: 1.319 MB / 1.382 GB, free: 2.23 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003144/1.325, allocations: 347.7 kB / 1.383 GB, free: 1.895 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6071/1.932, allocations: 254.9 MB / 1.631 GB, free: 188.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001265/1.934, allocations: 1.745 MB / 1.633 GB, free: 187.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002673/1.936, allocations: 0.7813 MB / 1.634 GB, free: 186.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001425/1.938, allocations: 1.085 MB / 1.635 GB, free: 185.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.223e-06/1.938, allocations: 0 / 1.635 GB, free: 185.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1125/2.05, allocations: 89.92 MB / 1.723 GB, free: 96.24 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001504/2.05, allocations: 265.1 kB / 1.723 GB, free: 95.88 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.63/5.68, allocations: 3.938 kB / 1.723 GB, free: 95.88 MB / 0.948 GB (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation.fmu > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe 2>&1)