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.3/1.3, allocations: 251.5 MB / 266.7 MB, free: 11.06 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.001082/0.001082, allocations: 180 kB / 325.9 MB, free: 2.699 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.345/1.345, allocations: 205 MB / 0.576 GB, free: 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.000697/0.000697, allocations: 90.89 kB / 0.6797 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002679/0.000268, allocations: 13.56 kB / 0.7933 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1481, allocations: 105.4 MB / 0.8962 GB, free: 68.1 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.004303/0.1524, allocations: 5.175 MB / 0.9013 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1324/0.2849, allocations: 153 MB / 1.051 GB, free: 5.301 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009556/0.2858, allocations: 23.88 kB / 1.051 GB, free: 5.277 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003932/0.2898, allocations: 1.624 MB / 1.052 GB, free: 3.648 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.001583/0.2914, allocations: 0.6071 MB / 1.053 GB, free: 3.043 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001771/0.2932, allocations: 0.8331 MB / 1.054 GB, free: 2.215 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.3735/0.6667, allocations: 3.213 MB / 1.057 GB, free: 3.297 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001141/0.6679, allocations: 0.8746 MB / 1.058 GB, free: 3.129 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001205/0.6691, allocations: 0.8654 MB / 1.059 GB, free: 3.129 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000871/0.67, allocations: 0.782 MB / 1.059 GB, free: 3.129 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001379/0.6701, allocations: 49.56 kB / 1.059 GB, free: 3.125 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002798/0.6729, allocations: 1.888 MB / 1.061 GB, free: 3.125 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001111/0.674, allocations: 1.224 MB / 1.062 GB, free: 3.125 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001244/0.6753, allocations: 1.14 MB / 1.064 GB, free: 3.125 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.006856/0.6822, allocations: 5.098 MB / 1.068 GB, free: 2.922 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.6822, allocations: 0 / 1.068 GB, free: 2.922 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.394e-06/0.6822, allocations: 0 / 1.068 GB, free: 2.922 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.495e-05/0.6823, allocations: 0 / 1.068 GB, free: 2.922 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.008844/0.6911, allocations: 3.329 MB / 1.072 GB, free: 1.383 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.6912, allocations: 9.969 kB / 1.072 GB, free: 1.383 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002673/0.6915, allocations: 174.8 kB / 1.072 GB, free: 1.34 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001568/0.693, allocations: 356.7 kB / 1.072 GB, free: 1.184 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09643/0.7895, allocations: 89.4 MB / 1.16 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.869e-05/0.7896, allocations: 108.1 kB / 1.16 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000176/0.7898, allocations: 140 kB / 1.16 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002163/0.792, allocations: 1.442 MB / 1.161 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.404e-05/0.792, allocations: 4 kB / 1.161 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.801e-05/0.7921, allocations: 48 kB / 1.161 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.061e-05/0.7921, allocations: 28.88 kB / 1.161 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002005/0.7941, allocations: 1.529 MB / 1.163 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0212/0.8153, allocations: 23.39 MB / 1.186 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001937/0.8173, allocations: 1.322 MB / 1.187 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009063/0.8183, allocations: 0.8578 MB / 1.188 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.323e-05/0.8183, allocations: 30.08 kB / 1.188 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001137/0.8195, allocations: 0.864 MB / 1.189 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=92): time 3.186e-06/0.8195, allocations: 0 / 1.189 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of matching and sorting (n=92): time 0.004795/0.8243, allocations: 2.588 MB / 1.191 GB, free: 8.969 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001717/0.8245, allocations: 325.3 kB / 1.191 GB, free: 8.605 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.09742/0.9219, allocations: 99.62 MB / 1.289 GB, free: 4.961 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004601/0.9224, allocations: 53.7 kB / 1.289 GB, free: 4.902 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001758/0.9242, allocations: 1.067 MB / 1.29 GB, free: 3.832 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005071/0.9247, allocations: 301.8 kB / 1.29 GB, free: 3.539 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005699/0.9253, allocations: 161.6 kB / 1.29 GB, free: 3.375 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.9254, allocations: 305.1 kB / 1.291 GB, free: 3.074 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001998/0.9274, allocations: 1.155 MB / 1.292 GB, free: 1.918 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002052/0.9295, allocations: 1.368 MB / 1.293 GB, free: 0.4961 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003301/0.9328, allocations: 2.506 MB / 1.295 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.536e-06/0.9328, allocations: 5.859 kB / 1.295 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.005357/0.9382, allocations: 3.092 MB / 1.299 GB, free: 10.85 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001413/0.9384, allocations: 149.6 kB / 1.299 GB, free: 10.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.9384, allocations: 4 kB / 1.299 GB, free: 10.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.9384, allocations: 8 kB / 1.299 GB, free: 10.69 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009657/0.9394, allocations: 289.4 kB / 1.299 GB, free: 10.42 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.838e-05/0.9394, allocations: 15.94 kB / 1.299 GB, free: 10.41 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001696/0.9411, allocations: 320.8 kB / 1.299 GB, free: 10.09 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001244/0.9412, allocations: 66.34 kB / 1.299 GB, free: 10.03 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 (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.001771/0.943, allocations: 1.021 MB / 1.3 GB, free: 9.012 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008283/0.9438, allocations: 221.1 kB / 1.301 GB, free: 8.793 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003357/0.9472, allocations: 2.396 MB / 1.303 GB, free: 6.383 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.9472, allocations: 12 kB / 1.303 GB, free: 6.371 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.9472, allocations: 3.938 kB / 1.303 GB, free: 6.367 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.9473, allocations: 7.734 kB / 1.303 GB, free: 6.363 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005806/0.9531, allocations: 4.592 MB / 1.307 GB, free: 1.73 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.9531, allocations: 6.812 kB / 1.307 GB, free: 1.727 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000548/0.9536, allocations: 149.8 kB / 1.308 GB, free: 1.586 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.195e-06/0.9537, allocations: 7.938 kB / 1.308 GB, free: 1.578 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.681e-05/0.9537, allocations: 31.97 kB / 1.308 GB, free: 1.547 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/0.9537, allocations: 7 kB / 1.308 GB, free: 1.543 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.9538, allocations: 0 / 1.308 GB, free: 1.543 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00334/0.9571, allocations: 2.266 MB / 1.31 GB, free: 15.25 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001066/0.9582, allocations: 0.7709 MB / 1.311 GB, free: 14.46 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003236/0.9585, allocations: 31.78 kB / 1.311 GB, free: 14.43 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/0.9596, allocations: 189.2 kB / 1.311 GB, free: 14.25 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001521/0.9598, allocations: 64.91 kB / 1.311 GB, free: 14.18 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-05/0.9599, allocations: 43.98 kB / 1.311 GB, free: 14.14 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.06266/1.023, allocations: 79.52 MB / 1.389 GB, free: 14.6 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6.71e-07/1.023, allocations: 0 / 1.389 GB, free: 14.6 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.004707/1.027, allocations: 1 MB / 1.389 GB, free: 13.6 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.006667/1.034, allocations: 3.631 MB / 1.393 GB, free: 10.18 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.003812/1.038, allocations: 3.431 MB / 1.396 GB, free: 6.766 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/1.038, allocations: 3.938 kB / 1.396 GB, free: 6.762 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001394/1.039, allocations: 1.474 MB / 1.398 GB, free: 5.293 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00207/1.041, allocations: 359.3 kB / 1.398 GB, free: 4.945 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6045/1.646, allocations: 416.4 MB / 1.805 GB, free: 48.54 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001034/1.647, allocations: 1.751 MB / 1.806 GB, free: 46.77 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.002063/1.649, allocations: 0.7704 MB / 1.807 GB, free: 46.1 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001134/1.65, allocations: 1.1 MB / 1.808 GB, free: 45 MB / 0.9792 GB Notification: Performance of SimCode: time 1.062e-06/1.65, allocations: 0 / 1.808 GB, free: 45 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.021/2.671, allocations: 90.54 MB / 1.897 GB, free: 409.5 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001651/2.671, allocations: 283.5 kB / 1.897 GB, free: 409.1 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.897/6.568, allocations: 0 / 1.897 GB, free: 409.1 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)