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 2.685/2.685, allocations: 252 MB / 267.3 MB, free: 10.84 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.002121/0.002121, allocations: 174.4 kB / 327 MB, free: 2.086 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.217/3.217, allocations: 205.4 MB / 0.578 GB, free: 20.09 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.001438/0.001439, allocations: 94.28 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004175/0.0004177, allocations: 9.781 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.2997, allocations: 106.3 MB / 0.9009 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.008725/0.3085, allocations: 5.065 MB / 0.9059 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2846/0.5931, allocations: 150.6 MB / 1.053 GB, free: 3.055 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002518/0.5957, allocations: 19.88 kB / 1.053 GB, free: 3.035 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.01124/0.607, allocations: 1.62 MB / 1.055 GB, free: 1.41 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.006066/0.6131, allocations: 0.6004 MB / 1.055 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 1.041/1.654, allocations: 0.8306 MB / 1.056 GB, free: 3.152 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.007538/1.662, allocations: 3.207 MB / 1.059 GB, free: 3.145 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003145/1.665, allocations: 0.8855 MB / 1.06 GB, free: 2.977 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004277/1.669, allocations: 0.8627 MB / 1.061 GB, free: 2.973 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003753/1.673, allocations: 0.791 MB / 1.062 GB, free: 2.973 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.000447/1.674, allocations: 44.94 kB / 1.062 GB, free: 2.973 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008434/1.682, allocations: 1.879 MB / 1.063 GB, free: 2.973 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.003697/1.686, allocations: 1.224 MB / 1.065 GB, free: 2.973 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.005074/1.691, allocations: 1.175 MB / 1.066 GB, free: 2.938 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.02173/1.713, allocations: 5.101 MB / 1.071 GB, free: 2.727 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.178e-05/1.713, allocations: 1.062 kB / 1.071 GB, free: 2.727 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.987e-06/1.713, allocations: 0 / 1.071 GB, free: 2.727 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002634/1.713, allocations: 0 / 1.071 GB, free: 2.727 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.01908/1.732, allocations: 3.32 MB / 1.074 GB, free: 1.191 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 8.454e-05/1.732, allocations: 9.375 kB / 1.074 GB, free: 1.191 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001187/1.734, allocations: 176.5 kB / 1.074 GB, free: 1.148 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004027/1.738, allocations: 350.6 kB / 1.075 GB, free: 0.9922 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1963/1.934, allocations: 88.93 MB / 1.161 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003025/1.934, allocations: 106.2 kB / 1.161 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001156/1.936, allocations: 143.8 kB / 1.162 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006831/1.942, allocations: 1.436 MB / 1.163 GB, free: 5.473 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.437e-05/1.943, allocations: 0.625 kB / 1.163 GB, free: 5.473 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000452/1.943, allocations: 51.98 kB / 1.163 GB, free: 5.422 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-05/1.943, allocations: 28 kB / 1.163 GB, free: 5.395 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00475/1.948, allocations: 1.534 MB / 1.165 GB, free: 3.855 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04991/1.998, allocations: 23.39 MB / 1.187 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003831/2.002, allocations: 1.323 MB / 1.189 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001836/2.004, allocations: 0.8657 MB / 1.19 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001324/2.004, allocations: 33.22 kB / 1.19 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002093/2.006, allocations: 0.8575 MB / 1.19 GB, free: 9.395 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=92): time 6.412e-06/2.006, allocations: 0 / 1.19 GB, free: 9.395 MB / 0.7761 GB Notification: Performance of matching and sorting (n=92): time 0.009007/2.015, allocations: 2.588 MB / 1.193 GB, free: 6.797 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003515/2.015, allocations: 330.2 kB / 1.193 GB, free: 6.426 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2089/2.224, allocations: 99.61 MB / 1.291 GB, free: 2.773 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0008886/2.225, allocations: 61.7 kB / 1.291 GB, free: 2.707 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002362/2.228, allocations: 1.052 MB / 1.292 GB, free: 1.648 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000777/2.228, allocations: 311.2 kB / 1.292 GB, free: 1.348 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001371/2.229, allocations: 28 kB / 1.292 GB, free: 1.32 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0003122/2.229, allocations: 372.6 kB / 1.292 GB, free: 0.9531 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002657/2.232, allocations: 1.151 MB / 1.293 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002748/2.234, allocations: 1.378 MB / 1.295 GB, free: 14.37 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005032/2.239, allocations: 2.508 MB / 1.297 GB, free: 11.82 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.295e-06/2.239, allocations: 0 / 1.297 GB, free: 11.82 MB / 0.8855 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.008738/2.248, allocations: 3.096 MB / 1.3 GB, free: 8.723 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002548/2.248, allocations: 152.3 kB / 1.3 GB, free: 8.57 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.141e-05/2.248, allocations: 7.984 kB / 1.3 GB, free: 8.562 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.853e-05/2.248, allocations: 8 kB / 1.3 GB, free: 8.555 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001689/2.25, allocations: 289.7 kB / 1.301 GB, free: 8.289 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.107e-05/2.25, allocations: 14.84 kB / 1.301 GB, free: 8.277 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003956/2.254, allocations: 313.7 kB / 1.301 GB, free: 7.969 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002442/2.254, allocations: 63.98 kB / 1.301 GB, free: 7.906 MB / 0.8855 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003739/2.258, allocations: 1.02 MB / 1.302 GB, free: 6.887 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002656/2.261, allocations: 225.1 kB / 1.302 GB, free: 6.664 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007335/2.268, allocations: 2.378 MB / 1.305 GB, free: 4.27 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-05/2.268, allocations: 8 kB / 1.305 GB, free: 4.262 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.859e-05/2.268, allocations: 7.938 kB / 1.305 GB, free: 4.254 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.07e-05/2.268, allocations: 3.984 kB / 1.305 GB, free: 4.25 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0181/2.286, allocations: 4.6 MB / 1.309 GB, free: 15.61 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.42e-05/2.287, allocations: 0 / 1.309 GB, free: 15.61 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009863/2.288, allocations: 164.6 kB / 1.309 GB, free: 15.46 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.186e-05/2.288, allocations: 7.938 kB / 1.309 GB, free: 15.45 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001187/2.288, allocations: 27.98 kB / 1.309 GB, free: 15.43 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-05/2.288, allocations: 7.984 kB / 1.309 GB, free: 15.42 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/2.288, allocations: 0 / 1.309 GB, free: 15.42 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00736/2.295, allocations: 2.265 MB / 1.312 GB, free: 13.13 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004306/2.3, allocations: 0.7903 MB / 1.312 GB, free: 12.32 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002145/2.302, allocations: 27.69 kB / 1.312 GB, free: 12.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003245/2.305, allocations: 188.5 kB / 1.313 GB, free: 12.11 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003011/2.305, allocations: 68.89 kB / 1.313 GB, free: 12.04 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001669/2.306, allocations: 43.98 kB / 1.313 GB, free: 12 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.1237/2.429, allocations: 79.51 MB / 1.39 GB, free: 12.46 MB / 0.9792 GB Notification: Performance of sort global known variables: time 3.226e-06/2.429, allocations: 0 / 1.39 GB, free: 12.46 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.008645/2.438, allocations: 1.004 MB / 1.391 GB, free: 11.46 MB / 0.9792 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.01418/2.452, allocations: 3.62 MB / 1.395 GB, free: 8.055 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.007653/2.46, allocations: 3.43 MB / 1.398 GB, free: 4.637 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 9.748e-06/2.46, allocations: 0 / 1.398 GB, free: 4.637 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.002829/2.463, allocations: 1.476 MB / 1.4 GB, free: 3.164 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00599/2.469, allocations: 355 kB / 1.4 GB, free: 2.82 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.337/3.806, allocations: 416.4 MB / 1.807 GB, free: 44.81 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004158/3.81, allocations: 1.752 MB / 1.808 GB, free: 43.04 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.005474/3.816, allocations: 0.7675 MB / 1.809 GB, free: 42.36 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005247/3.821, allocations: 1.099 MB / 1.81 GB, free: 41.27 MB / 0.9792 GB Notification: Performance of SimCode: time 2.575e-06/3.821, allocations: 0 / 1.81 GB, free: 41.27 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.015/4.836, allocations: 90.28 MB / 1.898 GB, free: 403.2 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004108/4.837, allocations: 282 kB / 1.899 GB, free: 402.8 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.892/12.73, allocations: 4.062 kB / 1.899 GB, free: 402.8 MB / 0.9792 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)