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.45/1.45, allocations: 288.4 MB / 303.6 MB, free: 8.023 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.0008706/0.0008707, allocations: 198.8 kB / 372.3 MB, free: 10.09 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.108/1.108, allocations: 205.4 MB / 0.631 GB, free: 9.871 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.0006644/0.0006644, allocations: 96.62 kB / 0.7444 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003256/0.0003257, allocations: 13.97 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1398, allocations: 115.3 MB / 0.9802 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.003966/0.1438, allocations: 4.785 MB / 0.9849 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.4259/0.5698, allocations: 140.3 MB / 1.122 GB, free: 2.203 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000573/0.5704, allocations: 22.03 kB / 1.122 GB, free: 2.195 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0032/0.5736, allocations: 1.573 MB / 1.123 GB, free: 1.941 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.001224/0.5749, allocations: 0.5826 MB / 1.124 GB, free: 1.801 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001598/0.5765, allocations: 0.7303 MB / 1.125 GB, free: 1.75 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.00209/0.5786, allocations: 2.973 MB / 1.128 GB, free: 1.484 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009014/0.5795, allocations: 0.8776 MB / 1.129 GB, free: 1.258 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009679/0.5805, allocations: 0.8539 MB / 1.129 GB, free: 1.09 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006975/0.5812, allocations: 0.7687 MB / 1.13 GB, free: 0.9336 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001229/0.5813, allocations: 50.88 kB / 1.13 GB, free: 0.9297 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002284/0.5836, allocations: 1.776 MB / 1.132 GB, free: 0.8594 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0007202/0.5843, allocations: 1.278 MB / 1.133 GB, free: 0.7656 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0007999/0.5851, allocations: 1.107 MB / 1.134 GB, free: 380 kB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003284/0.5884, allocations: 4.221 MB / 1.138 GB, free: 14.61 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.5884, allocations: 1.219 kB / 1.138 GB, free: 14.61 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.793e-06/0.5884, allocations: 4 kB / 1.138 GB, free: 14.61 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.967e-05/0.5885, allocations: 0 / 1.138 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.005123/0.5936, allocations: 3.329 MB / 1.142 GB, free: 12.59 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.5937, allocations: 8.625 kB / 1.142 GB, free: 12.59 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001915/0.5939, allocations: 177 kB / 1.142 GB, free: 12.52 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008581/0.5947, allocations: 351.7 kB / 1.142 GB, free: 12.34 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07311/0.6678, allocations: 87.64 MB / 1.228 GB, free: 10.24 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.333e-05/0.668, allocations: 106.2 kB / 1.228 GB, free: 10.14 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003158/0.6683, allocations: 144 kB / 1.228 GB, free: 9.996 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00229/0.6706, allocations: 1.428 MB / 1.229 GB, free: 8.508 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.443e-05/0.6706, allocations: 5.906 kB / 1.229 GB, free: 8.504 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/0.6707, allocations: 44 kB / 1.229 GB, free: 8.461 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.065e-05/0.6708, allocations: 28 kB / 1.229 GB, free: 8.434 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002112/0.6729, allocations: 1.53 MB / 1.231 GB, free: 6.895 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01993/0.6928, allocations: 23.39 MB / 1.254 GB, free: 15.46 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0018/0.6946, allocations: 1.321 MB / 1.255 GB, free: 14.13 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009738/0.6956, allocations: 0.8469 MB / 1.256 GB, free: 13.28 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 7.696e-05/0.6957, allocations: 41.45 kB / 1.256 GB, free: 13.25 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001111/0.6968, allocations: 0.8563 MB / 1.257 GB, free: 12.38 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=92): time 2.414e-06/0.6969, allocations: 0 / 1.257 GB, free: 12.38 MB / 0.7917 GB Notification: Performance of matching and sorting (n=92): time 0.003825/0.7007, allocations: 2.591 MB / 1.259 GB, free: 9.781 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000177/0.7009, allocations: 318.2 kB / 1.26 GB, free: 9.422 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.09234/0.7932, allocations: 99.65 MB / 1.357 GB, free: 5.766 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003141/0.7936, allocations: 53.7 kB / 1.357 GB, free: 5.707 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001085/0.7947, allocations: 1.062 MB / 1.358 GB, free: 4.641 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003356/0.795, allocations: 301.1 kB / 1.358 GB, free: 4.348 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000118/0.7951, allocations: 32 kB / 1.358 GB, free: 4.316 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.7953, allocations: 369.9 kB / 1.359 GB, free: 3.949 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001503/0.7968, allocations: 1.147 MB / 1.36 GB, free: 2.797 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001572/0.7984, allocations: 1.365 MB / 1.361 GB, free: 1.375 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002856/0.8013, allocations: 2.505 MB / 1.364 GB, free: 14.82 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.8013, allocations: 3.984 kB / 1.364 GB, free: 14.81 MB / 0.9011 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.004231/0.8055, allocations: 3.085 MB / 1.367 GB, free: 11.71 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001338/0.8057, allocations: 149.6 kB / 1.367 GB, free: 11.56 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.8057, allocations: 4 kB / 1.367 GB, free: 11.56 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.8057, allocations: 13.8 kB / 1.367 GB, free: 11.55 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/0.8067, allocations: 291.6 kB / 1.367 GB, free: 11.26 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.715e-05/0.8067, allocations: 15.92 kB / 1.367 GB, free: 11.25 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001497/0.8082, allocations: 309.9 kB / 1.367 GB, free: 10.94 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/0.8084, allocations: 67.97 kB / 1.367 GB, free: 10.88 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.001203/0.8096, allocations: 1.016 MB / 1.368 GB, free: 9.844 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004809/0.8101, allocations: 221.1 kB / 1.369 GB, free: 9.625 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003258/0.8133, allocations: 2.388 MB / 1.371 GB, free: 7.215 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.388e-06/0.8134, allocations: 11.94 kB / 1.371 GB, free: 7.203 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.8134, allocations: 0 / 1.371 GB, free: 7.203 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.8134, allocations: 7.984 kB / 1.371 GB, free: 7.195 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005771/0.8192, allocations: 4.592 MB / 1.375 GB, free: 2.559 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.8192, allocations: 3.938 kB / 1.375 GB, free: 2.555 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005646/0.8198, allocations: 147.8 kB / 1.376 GB, free: 2.41 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.104e-06/0.8198, allocations: 4 kB / 1.376 GB, free: 2.406 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.248e-05/0.8199, allocations: 41.83 kB / 1.376 GB, free: 2.367 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.8199, allocations: 0 / 1.376 GB, free: 2.367 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.8199, allocations: 0 / 1.376 GB, free: 2.367 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002915/0.8228, allocations: 2.263 MB / 1.378 GB, free: 84 kB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001078/0.8239, allocations: 0.8019 MB / 1.379 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003112/0.8242, allocations: 23.98 kB / 1.379 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/0.8253, allocations: 185.2 kB / 1.379 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001376/0.8254, allocations: 64.91 kB / 1.379 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.717e-05/0.8255, allocations: 47.97 kB / 1.379 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.3548/1.18, allocations: 79.54 MB / 1.457 GB, free: 349.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.61e-07/1.18, allocations: 0 / 1.457 GB, free: 349.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002488/1.183, allocations: 1.001 MB / 1.458 GB, free: 349 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.004608/1.187, allocations: 3.62 MB / 1.461 GB, free: 346.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002922/1.19, allocations: 3.419 MB / 1.464 GB, free: 343 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/1.19, allocations: 4 kB / 1.464 GB, free: 343 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001172/1.192, allocations: 1.465 MB / 1.466 GB, free: 341.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001598/1.193, allocations: 346.6 kB / 1.466 GB, free: 341.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1727/1.366, allocations: 255.6 MB / 1.716 GB, free: 87.57 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009627/1.367, allocations: 1.744 MB / 1.717 GB, free: 85.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001771/1.369, allocations: 0.7719 MB / 1.718 GB, free: 85.02 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00109/1.37, allocations: 1.093 MB / 1.719 GB, free: 83.92 MB / 0.948 GB Notification: Performance of SimCode: time 6.21e-07/1.37, allocations: 0 / 1.719 GB, free: 83.92 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.619/2.989, allocations: 90.8 MB / 1.808 GB, free: 350.4 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001574/2.989, allocations: 257.5 kB / 1.808 GB, free: 350.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.422/6.411, allocations: 3.125 kB / 1.808 GB, free: 350.1 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)